[gdal-dev] ogrinfo not a C callable function?

Even Rouault even.rouault at spatialys.com
Thu Aug 4 04:41:35 PDT 2016


On Thursday 04 August 2016 13:25:19 Paul Meems wrote:
> Hi,
> 
> When I look at RFC 59.1 (
> https://trac.osgeo.org/gdal/wiki/rfc59.1_utilities_as_a_library) I see
> gdalinfo,exe, ogr2ogr.exe are all C callable functions now.
> 
> But I don't see ogrinfo?
> Do I understand it right that ogrinfo.exe is not a C callable function?

Yes

> If so is there a specific reason for that or will it be implemented in the
> near future?

The most uses of ogrinfo output features in the console with the DumpFeature() 
call, which doesn't make sense for a library function, so a librarified version 
would just address the metadata part. Which you can easily access through the 
C/C++ API already.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list