Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetCapabilities returns CRS: EPSG:4326 twice #350

Open
mgrunbauer opened this issue Mar 6, 2024 · 0 comments
Open

GetCapabilities returns CRS: EPSG:4326 twice #350

mgrunbauer opened this issue Mar 6, 2024 · 0 comments

Comments

@mgrunbauer
Copy link
Collaborator

mgrunbauer commented Mar 6, 2024

Performing a GetCapabilities request returns the <BoundingBox ...> element twice for CRS EPSG:4326 for every layer:

curl -s "https://geoservices.knmi.nl/adagucserver?dataset=knmi_hap1_nl_2p5km&=&service=WMS&request=GetCapabilities" | grep -e '<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />' -e 'Title>HAP1'

outputs:

...
<Title>HAP1(NL) Absolute updraft helicity in atmosphere</Title>
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<Title>HAP1(NL) Air pressure at mean sea level</Title>
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
...

The <CRS> and <BoundingBox ...> elements also appear twice in the "root" layer:

<Layer>
<Title>WMS of  knmi_hap1_nl_2p5km</Title>
<CRS>EPSG:3411</CRS>
<CRS>EPSG:3412</CRS>
<CRS>EPSG:3575</CRS>
<CRS>EPSG:3857</CRS>
<CRS>EPSG:4258</CRS>
<CRS>EPSG:4326</CRS>
<CRS>CRS:84</CRS>
<CRS>EPSG:25831</CRS>
<CRS>EPSG:25832</CRS>
<CRS>EPSG:28992</CRS>
<CRS>EPSG:7399</CRS>
<CRS>EPSG:50001</CRS>
<CRS>EPSG:54030</CRS>
<CRS>EPSG:32661</CRS>
<CRS>EPSG:40000</CRS>
<CRS>EPSG:900913</CRS>
<CRS>EPSG:3067</CRS>
<CRS>EPSG:4326</CRS>
<BoundingBox CRS="EPSG:3411" minx="2688993.470195" miny="-3278523.471733" maxx="3846301.916830" maxy="-2122703.796772" />
<BoundingBox CRS="EPSG:3412" minx="-12905.545766" miny="32191797.897219" maxx="7682316.908809" maxy="39969366.431536" />
<BoundingBox CRS="EPSG:3575" minx="-778807.959186" miny="-4476772.614482" maxx="84497.475269" maxy="-3692751.059298" />
<BoundingBox CRS="EPSG:3857" minx="-2059.410580" miny="6272910.309841" maxx="1233586.937226" maxy="7536251.104194" />
<BoundingBox CRS="EPSG:4258" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<BoundingBox CRS="CRS:84" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
<BoundingBox CRS="EPSG:25831" minx="279182.558306" miny="5426179.030603" maxx="1090961.527340" maxy="6223228.534091" />
<BoundingBox CRS="EPSG:25832" minx="-159402.202249" miny="5426183.018421" maxx="652276.599211" maxy="6230493.348269" />
<BoundingBox CRS="EPSG:28992" minx="-240669.428359" miny="110681.438939" maxx="571767.650193" maxy="892999.530929" />
<BoundingBox CRS="EPSG:7399" minx="-1425.633698" miny="5767138.881111" maxx="853954.585132" maxy="6475446.748229" />
<BoundingBox CRS="EPSG:50001" minx="-2000000.000000" miny="-2000000.000000" maxx="10000000.000000" maxy="8500000.000000" />
<BoundingBox CRS="EPSG:54030" minx="-1527.513698" miny="5222049.307369" maxx="914980.705109" maxy="5927908.270345" />
<BoundingBox CRS="EPSG:32661" minx="1998466.191490" miny="-2750310.874201" maxx="2913034.076071" maxy="-1825956.398331" />
<BoundingBox CRS="EPSG:40000" minx="-1543.066912" miny="-4778984.782898" maxx="918545.348160" maxy="-3849050.702547" />
<BoundingBox CRS="EPSG:900913" minx="-2059.410580" miny="6272910.309841" maxx="1233586.937226" maxy="7536251.104194" />
<BoundingBox CRS="EPSG:3067" minx="-1463889.707080" miny="5549498.667027" maxx="-490769.217489" maxy="6528736.374371" />
<BoundingBox CRS="EPSG:4326" minx="48.988500" miny="-0.018500" maxx="55.888500" maxy="11.081500" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant