Skip to content

Bounding box missing gml:Envelope? #156

@jakubklimek

Description

@jakubklimek

In GeoDCAT-AP, a bounding box in RDF, in WKT and GML looks like this:

[ a dct:Location ;
      dcat:bbox
"<gml:Envelope srsName=\"http://www.opengis.net/def/crs/OGC/1.3/CRS84\"><gml:lowerCorner>-62.9951 -21.378367</gml:lowerCorner><gml:upperCorner>55.813367 70.620781</gml:upperCorner></gml:Envelope>"^^gsp:gmlLiteral,
"POLYGON((-62.9951 70.620781,55.813367 70.620781,55.813367 -21.378367,-62.9951 -21.378367,-62.9951 70.620781))"^^gsp:wktLiteral
] ;

note the gml:Envelope with srsName.

In this CCMM example, the bounding box is missing the envelope and srsName. This seems to make it hard to convert correctly.

<bounding_box>
    <gml:lowerCorner>13.394972457505816 49.50127042751268</gml:lowerCorner>
    <gml:upperCorner>15.585575400519133 50.61421606255462</gml:upperCorner>
</bounding_box>

Shouldn't it be

<bounding_box>
    <gml:Envelope srsName="http://www.opengis.net/def/crs/OGC/1.3/CRS84">
        <gml:lowerCorner>13.394972457505816 49.50127042751268</gml:lowerCorner>
        <gml:upperCorner>15.585575400519133 50.61421606255462</gml:upperCorner>
   </gml:Envelope>
</bounding_box>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions