opengeospatial / NamingAuthority

Primary repo for the OGC Naming Authority
6 stars 12 forks source link

Is the EllipsoidalCS element missing from the CRS84 definition? #84

Open ghobona opened 3 years ago

ghobona commented 3 years ago

EllipsoidalCS element is missing from CRS84 definition.

http://www.opengis.net/def/crs/OGC/1.3/CRS84

ghobona commented 3 years ago

@pebau

Cc: @joanma747

pebau commented 3 years ago

@ghobona I see - we took that from the WMS spec, maybe there was an update. Who could provide us with the content? Then we can add it on short notice, no problem.

ghobona commented 3 years ago

@pebau

The information is there on Table B.2 of the WMS 1.3 spec (06-042).

Comparing the CRS84 definition to that of EPSG:4326, I notice that the <ellipsoidalCS> element in EPSG:4326 provides the information about axes. So I will ask the CRS DWG to review and if necessary to provide the content.

ghobona commented 2 years ago

@RogerLott Could the CRS DWG please review the CRS84 definition and confirm whether or not an <ellipsoidalCS> element is missing?

RogerLott commented 2 years ago

Hi Gobe,

Yes it is missing from the GML which gives:

It should be:

ellipsoidal OGP 2015-05-22 false http://www.opengis.net/def/cs/EPSG/0/6424 Ellipsoidal 2D CS. Axes: longitude, latitude. Orientations: east, north. UoM: degree Used in geog2D CRSs for some web mapping: CS code 6422 recommended. Coordinates referenced to this CS are in degrees. Any degree representation (e.g. DMSH, decimal, etc.) may be used but that used must be declared for the user by the supplier of data. http://www.opengis.net/def/axis/EPSG/0/220 Lon east http://www.opengis.net/def/axis/EPSG/0/221 Lat north The same element is not missing from the definition of CRS84h . However in the CRS84h element there are a couple of minor errors (looks to me likely introduced in manual editing, e.g. is not in the EPSG data model of CS attributes and there are several instances of 'IOGP' which should be 'EPSG'). I will leave someone else to correct those. In both of these entries the only element I have checked is . Roger From: ghobona ***@***.*** Sent: 11 August 2022 09:53 To: opengeospatial/NamingAuthority Cc: RogerLott; Mention Subject: Re: [opengeospatial/NamingAuthority] Is the EllipsoidalCS element missing from the CRS84 definition? (#84) @RogerLott Could the CRS DWG please review the CRS84 definition and confirm whether or not an element is missing? — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you were mentioned. Message ID: ***@***.***>
ghobona commented 2 years ago

@RogerLott Thanks for the review. I'll prepare a draft revision for the OGC-NA to consider and approve.

ghobona commented 1 year ago

A proposed revision is at https://github.com/opengeospatial/NamingAuthority/tree/crs84_ellipsoidalcs/incubation/crs84

The associated Pull Request is https://github.com/opengeospatial/NamingAuthority/pull/207

As I was preparing the proposal, I discovered that the referenced EPSG.xsd file is no longer available. So it is not possible to validate the structure of the XML file by XSD. The EPSG.xsd file has the namespace urn:x-ogp:spec:schema-xsd:EPSG:0.11:dataset. I presume it is a very old version of the schema, since the 2020 version has the namespace urn:x-ogp:spec:schema-xsd:EPSG:2.1:dataset.

The topic will be discussed during the OGC-NA session on Monday 3rd October at 15:00 SGT.

RogerLott commented 1 year ago

The latest version of the EPSG XML schema is v2.2 . A download is available through https://epsg.org/gml-schema.html