#ogrinfo finally gets an option for JSON output 🎉
before it was a custom output which was laborious to postprocess
from @gdal 3.7 on the output will play well with everything that understands JSON
thanks to @EvenRouault 👍
#gdal #ogr #osgeo #foss4g
https://github.com/OSGeo/gdal/pull/6812
ogrinfo: make it available as a library function, and add JSON output by rouault · Pull Request #6812 · OSGeo/gdal
Example of JSON output with ogrinfo autotest/ogr/data/poly.shp -json { "description":"autotest/ogr/data/poly.shp", "driverShortName":"ESRI Shapefile", "driverLongName":"ESRI Shapefile", "la...