[gdal-dev] RFC 44: JSON/XML output for ogrinfo/gdalinfo

Mateusz Loskot mateusz at loskot.net
Tue Nov 19 09:03:30 PST 2013


On 19 November 2013 17:00, Howard Butler <howard at hobu.co> wrote:
> On Nov 19, 2013, at 10:49 AM, Mateusz Loskot <mateusz at loskot.net> wrote:
>> On 19 November 2013 16:42, Howard Butler <howard at hobu.co> wrote:
>>> All,
>>>
>>> Dan Little and myself would like to put forward an RFC proposing -xml and -json output support for both ogrinfo and gdalinfo. No changes are proposed to the current text format (which would continue to be the default output format), but having JSON and XML available would greatly ease the integration of gdalinfo and ogrinfo into existing processing workflows without requiring that someone jump into scripting land. Though it might have been overkill to have an RFC, I thought it would be useful to have something to collaborate on if others have ideas about these particular features.
>>>
>>> http://trac.osgeo.org/gdal/wiki/rfc44_gdalinfoxml
>>>
>>> We look forward to your feedback,
>>
>> "You don't parse the output of gdalinfo --format, do you?" :P
>>
>> [1] http://lists.osgeo.org/pipermail/gdal-dev/2013-January/035117.html
>
> I don't, but I fully expect that are there are folks who have, simply due to not having a better,
> more convenient way to do things. JSON and XML output puts people on the right path at least...

Hobu, sure thing.
That was a bit of joke, and, on reflection I think a specified format
is actually useful idea.

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list