I am invoking a CSW server (Catalog Service for the Web) and I am trying to draw the bounding box of each record in the front end of my application.
One of the problems is that the coordinate system of the bounding box is not always in EPSG. What I recieve is something like this:
<ows:BoundingBox crs="urn:x-ogc:def:crs:EPSG:6.11:4326" dimensions="2"> <ows:LowerCorner>-1.7 -10.3</ows:LowerCorner> <ows:UpperCorner>5.4 5.1</ows:UpperCorner> </ows:BoundingBox>
So the coordinate system information is condensed in a string like this:
But this string does not always make sense. For instance, sometimes I recieve strings like this:
urn:ogc:def:crs:::Lambert Azimuthal Projection
Is there a way to transform these coordinate system identifiers into WKT (well known text)? Doing so one can programmatically assign a coordinate system to these strings.