Skip to content

Commit

Permalink
BGDIDIC-1259: download links are suffixed on stac with _2056
Browse files Browse the repository at this point in the history
  • Loading branch information
ltclm committed Sep 18, 2024
1 parent 8dfd63b commit f6df262
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chsdi/templates/htmlpopup/lubis_schraegaufnahmen.mako
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ isStac = c['featureId'].startswith('lubis-luftbilder_schraegaufnahmen')
# there is no way to open to activate the orthophoto with the link parameters
if isStac:
dataGeoAdminHost = request.registry.settings['datageoadminhost']
asset_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.tif"
asset_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}_2056.tif"
preview_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.jpg"
meta_csv_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.csv"
viewer_url=asset_url
Expand Down Expand Up @@ -166,7 +166,6 @@ if not isStac:
lang,
image_rotation)
viewer_url = get_viewer_url(request, params)
%>
% if isStac: # STAC Tooltips
Expand Down

0 comments on commit f6df262

Please sign in to comment.