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

separate crs registration from resource extent #200

Open
pvgenuchten opened this issue Dec 12, 2022 · 1 comment
Open

separate crs registration from resource extent #200

pvgenuchten opened this issue Dec 12, 2022 · 1 comment

Comments

@pvgenuchten
Copy link
Contributor

currently the crs of the resource extent is used to indicate the crs of the resource

<gco:CharacterString>urn:ogc:def:crs:EPSG:{{ record['identification']['extents']['spatial'][0]['crs'] }}</gco:CharacterString>

many times this is not the case, the resource extent is generally expressed in wgs84, where the crs of the resource is typically different

Can we add a key to spatial indicating the crs of the resource

@pvgenuchten
Copy link
Contributor Author

this could be ok, if we state in docs that users always need to place the bounds in the crs of the source (which makes sense)

but then i would expect a coordinate transformation to wgs84 in the extent, so the spatial extent is advertised in wgs84, currently it renders a polygon in the source projection, which is hard to read for most software clients

<gmd:polygon>
                <gml:Polygon gml:id="P001" srsName="3035" srsDimension="2">
                  <gml:exterior>
                    <gml:LinearRing>
                      <gml:posList srsName="3035" srsDimension="2">1500000 900000 1500000 5500000 7400000 5500000 7400000 900000 1500000 900000</gml:posList>
                    </gml:LinearRing>
                  </gml:exterior>
                </gml:Polygon>
              </gmd:polygon>

@pvgenuchten pvgenuchten changed the title separate crs registration then on resource extent separate crs registration from resource extent Dec 12, 2022
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