[GeoNetwork-devel] [GeoNetwork opensource Developer website] #731: CSW DC output should display valid CRS URN

#731: CSW DC output should display valid CRS URN
-------------------------+--------------------------------------------------
Reporter: tomkralidis | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.4
Keywords: |
-------------------------+--------------------------------------------------
CSW DC output has the following snippet for spatial representation:

{{{
     <ows:BoundingBox crs="urn:ogc:def:crs:::WGS 1984">
       <ows:LowerCorner>-52.03125 21.796875</ows:LowerCorner>
       <ows:UpperCorner>-106.875 54.140625</ows:UpperCorner>
     </ows:BoundingBox>
}}}

Is {{{urn:ogc:def:crs:::WGS 1984}}} a valid CRS? Since GN controls this
output, it would be valuable to output a known and valid CRS (whether it's
a EPSG code, URN, etc.), which honours axis order.

Examples:

{{{
     <ows:BoundingBox crs="urn:ogc:def:crs:EPSG:6.11:4326">
       <ows:LowerCorner>miny minx</ows:LowerCorner>
       <ows:UpperCorner>maxy maxx</ows:UpperCorner>
     </ows:BoundingBox>

     <ows:BoundingBox crs="EPSG:4326">
       <ows:LowerCorner>minx miny</ows:LowerCorner>
       <ows:UpperCorner>maxx maxy</ows:UpperCorner>
     </ows:BoundingBox>

}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/731&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#731: CSW DC output should display valid CRS URN
----------------------------+-----------------------------------------------
Reporter: tomkralidis | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Changes (by tomkralidis):

  * component: General => Catalog server

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/731#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#731: CSW DC output should display valid CRS URN
----------------------------+-----------------------------------------------
Reporter: tomkralidis | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by tomkralidis):

Update: the WGS 1984 comes from the ISO document which was inserted into
the GN catalog via CSW Transaction (Insert). I updated the ISO document
with the following snippet:
{{{
          <gmd:RS_Identifier>
            <gmd:code>
              <gco:CharacterString>4326</gco:CharacterString>
            </gmd:code>
            <gmd:codeSpace>
              <gco:CharacterString>EPSG</gco:CharacterString>
            </gmd:codeSpace>
          </gmd:RS_Identifier>
}}}

at which point the CRS is outputted correctly:

{{{
     <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::4326">
       <ows:LowerCorner>-52.03125 21.796875</ows:LowerCorner>
       <ows:UpperCorner>-106.875 54.140625</ows:UpperCorner>
     </ows:BoundingBox>
}}}

However a./ the axis order is off and b./ the x coordinates are swapped
(related ticket #730).

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/731#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#731: CSW DC output should display valid CRS URN
----------------------------+-----------------------------------------------
Reporter: tomkralidis | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------

Comment(by tomkralidis):

FYI the metadata above was generated from the GN UI, which allows 'WGS
1984' as a projection when specifying the bounding coordinates of the
metadata, so I'm guessing this should be updated in the UI area.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/731#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.