[gdal-dev] ogr gml Box handling

Andrew Terry andrew.terry at centremaps.co.uk
Thu Dec 22 05:07:58 PST 2022


Hi,

Trying to pull in the bounding box / envelope "Box" when loading gml with ogr2ogr

<osgb:boundedBy>
<gml:Box srsName='osgb:BNG'>
<gml:coordinates>257023.700,620210.000 257023.700,620210.000</gml:coordinates>
</gml:Box>
</osgb:boundedBy>

I've tried <GeometryElementPath>boundedBy</GeometryElementPath> in my gfs file.

I've also tried seeing if I can pull through as a string using:

    <PropertyDefn>
      <Name>bbox</Name>
      <ElementPath>boundedBy|Box|coordinates</ElementPath>
      <Type>String</Type>
    </PropertyDefn>

Any tips - if it's even possible?

Thanks

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221222/e64d8f53/attachment.htm>


More information about the gdal-dev mailing list