[GeoSciML] URN or URL encoding of srsName EPSG codes in GeoSciML [SEC=UNCLASSIFIED]

Oliver.Raymond at ga.gov.au Oliver.Raymond at ga.gov.au
Thu Jun 25 02:29:13 EDT 2015


Ah, thanks Simon.  URL's it is!   :-)

From: GeoSciML [mailto:geosciml-bounces at lists.opengeospatial.org] On Behalf Of Simon.Cox at csiro.au
Sent: Thursday, 25 June 2015 4:27 PM
To: geosciml at lists.opengeospatial.org
Cc: Bodor Lazar
Subject: [DKIM] Re: [GeoSciML] URN or URL encoding of srsName EPSG codes in GeoSciML[SEC=UNCLASSIFIED]

Ollie -

This is not the last bastion at all. OGC has served EPSG definitions from URIs for about 5 years now. Now onto third technology for same data. Try

http://www.opengis.net/def/crs/EPSG/0/4326 etc

The Revision of WFS 2 corrects this oversight.

Simon

From: GeoSciML [mailto:geosciml-bounces+simon.cox=csiro.au at lists.opengeospatial.org] On Behalf Of Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>
Sent: Thursday, 25 June 2015 4:23 PM
To: geosciml at lists.opengeospatial.org<mailto:geosciml at lists.opengeospatial.org>
Cc: Lazar.Bodor at ga.gov.au<mailto:Lazar.Bodor at ga.gov.au>
Subject: [GeoSciML] URN or URL encoding of srsName EPSG codes in GeoSciML [SEC=UNCLASSIFIED]

Dear GeoSciML folk,

During our recent teleconference, I asked a question for which no-one could give an authoritative answer at the time: "If we are using HTTP-URI (eg, URL's) to identify everything in our GeoSciML WFS services, what is the appropriate way to identify an EPSG code? It appears that EPSG codes are the last bastion of URN's. Is there a standard HTTP-URI way to identify an EPSG code?"

I went looking for an answer in the OGC documentation, and found this in the WFS v2 specification (dated November 2010):

7.9.2.4.4 srsName parameter

The optional srsName attribute may be used to assert a specific WFS-supported CRS transformation to be applied to the geometries of the features returned in a response document.
The value of the srsName parameter may be the wfs:DefaultCRS or any of the wfs:OtherCRS values listed for the feature type in a server's capabilities document (see 8.3.3). If no srsName value is supplied, then the feature geometries shall be encoded in the response document using the advertised wfs:DefaultCRS value.
This attribute has no meaning for feature types with no spatial properties and shall be ignored.
Servers that advertise more than one wfs:OtherCRS value in their capabilities document (see 8.3.3) shall be able to transform between the CRS used to store features and any CRS requested using the srsName attribute.
Servers that implement this International Standard shall be able to process srsName attribute values using the following format model:
urn:ogc:def:objectType:authority:version:<EPSG code> (see OGC 07-092r2)
In this format model, objectType shall have the value of "crs", authority shall have the value "crs" and the value <EPSG Code> is a placeholder for the actual EPSG code value.
EXAMPLE srsName="urn:ogc:def:crs:EPSG::26986".

This says that if you are going to use WFS v2, then you should use the URN pattern for identification of an srsName EPSG code.  The OGC 07-092r2 document mentioned above also notes that EPSG URN's are resolvable via the www.epsg-registry.org<http://www.epsg-registry.org> registry (eg; http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::4283).

So I guess that means that we stick with URN's for EPSG srsNames (eg; urn:ogc:def:crs:EPSG::4283), and URL's for everything else (eg; vocabulary terms).

Cheers,
Ollie
_________________________________________________________

Ollie Raymond
Senior Geologist  - Information Management  |  GEOSCIENCE AUSTRALIA<http://www.ga.gov.au/>

IUGS Commission for the Management and Application of Geoscience Information<http://www.cgi-iugs.org/>
www.cgi-iugs.org<http://www.cgi-iugs.org/>

Acting Chair, GeoSciML Standards Working Group
Open Geospatial Consortium<http://www.opengeospatial.org/projects/groups/geoscimlswg>

Phone:  +61 2 6249 9575    Fax:  +61 2 6249 9971
Email:  Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>    Web:  www.ga.gov.au<http://www.ga.gov.au/>
Cnr Jerrabomberra Avenue and Hindmarsh Drive   Symonston   ACT
GPO Box 378   Canberra   ACT   2601   Australia

Applying geoscience to Australia's most important challenges



Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20150625/bc6a293c/attachment.html>


More information about the GeoSciML mailing list