[gdal-dev] Possible to determine whether a vector format is spatial?

Even Rouault even.rouault at spatialys.com
Sun Nov 5 01:36:06 PST 2017


On dimanche 5 novembre 2017 13:16:43 CET Nyall Dawson wrote:
> Hi all,
> 
> I'm wondering if there's any way of determining through driver
> metadata whether a particular format supports geometry or not?
> 
> Looking through the metadata shown by ogrinfo --format, I can't see
> anything that could be used to differentiate spatial formats vs
> non-spatial formats (eg xls, xlsx, ods). Is there another way I could
> test for this support?
> 

There's indeed no driver metadata for this currently.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171105/17d747d3/attachment.html>


More information about the gdal-dev mailing list