Skip to content

Commit

Permalink
BGDIDIC-1374: adapt test identify for oereb v2
Browse files Browse the repository at this point in the history
  • Loading branch information
faselm committed Dec 2, 2024
1 parent bb96de1 commit fb40791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chsdi/templates/index.mako
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ version = python_version()
<a href="rest/services/inspire/MapServer/identify?geometryType=esriGeometryEnvelope&geometry=630000,245000,645000,265000&imageDisplay=500,350,96&mapExtent=545132.87362333,147068.69380758,550132.87362333,150568.69380758&tolerance=1&searchText=AG 19.0.3&layers=all:ch.astra.ivs-nat">Identify on mutiple queryable attributes</a> <br>
<a href="rest/services/ech/MapServer/identify?geometryType=esriGeometryEnvelope&geometry=630000,245000,645000,265000&imageDisplay=500,350,96&mapExtent=545132.87362333,147068.69380758,550132.87362333,150568.69380758&tolerance=1&layers=all&callback=cb">Identify - example with callback</a> <br>
<a href="/rest/services/ech/MapServer/identify?geometryType=esriGeometryEnvelope&geometry=630000,245000,645000,265000&imageDisplay=500,600,96&mapExtent=545132.87362333,147068.69380758,550132.87362333,150568.69380758&tolerance=1&layers=all&returnGeometry=false">Identify - without geometry</a> <br>
<a href="/rest/services/api/MapServer/identify?geometry=618953,170093&geometryType=esriGeometryPoint&imageDisplay=1920,576,96&layers=all:ch.bav.kataster-belasteter-standorte-oev.oereb&mapExtent=671164.31244,253770,690364.31244,259530&tolerance=5&geometryFormat=interlis">Identify - geometryFormat=interlis on Oereb layers</a>
<a href="/rest/services/api/MapServer/identify?geometry=618953,170093&geometryType=esriGeometryPoint&imageDisplay=1920,576,96&layers=all:ch.bav.kataster-belasteter-standorte-oev_v2_0.oereb&mapExtent=671164.31244,253770,690364.31244,259530&tolerance=5&geometryFormat=interlis">Identify - geometryFormat=interlis on Oereb layers</a>
<h3>Indentify: with query</h3>
<a href="/rest/services/api/MapServer/identify?geometryType=esriGeometryEnvelope&geometry=502722.0065086734,36344.074765040714,745822.0065086735,253444.07476504074&imageDisplay=0,0,0&mapExtent=0,0,0,0&tolerance=0&layers=all:ch.bazl.luftfahrthindernis&returnGeometry=true&geometryFormat=geojson&obstacletype=%27Antenna%27">Query 'ch.bazl.luftfahrthindernis' for 'Antenna' with a bbox</a> <br>
<a href="rest/services/api/MapServer/ch.bazl.luftfahrthindernis/attributes/obstacletype">Get some values for attribute 'obstacletype'</a> <br>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_identify_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def test_identify_oereb_several_layers(self):
params = {'geometry': '618953,170093',
'geometryType': 'esriGeometryPoint',
'imageDisplay': '1920,576,96',
'layers': 'all:ch.bav.kataster-belasteter-standorte-oev.oereb,ch.bazl.sicherheitszonenplan.oereb',
'layers': 'all:ch.bav.kataster-belasteter-standorte-oev_v2_0.oereb,ch.bazl.sicherheitszonenplan_v2_0.oereb',
'mapExtent': '671164.31244,253770,690364.31244,259530',
'tolerance': '5',
'geometryFormat': 'interlis'}
Expand Down

0 comments on commit fb40791

Please sign in to comment.