[gdal-dev] RFC 44: JSON/XML output for ogrinfo/gdalinfo
Frank Warmerdam
warmerdam at pobox.com
Tue Nov 19 10:44:55 PST 2013
Howard,
I was a bit surprised that the RFC doesn't actually define the format. I
gather we are supposed to deduce it from the modified ogrinfo code?
On the GDAL side, rather than have gdalinfo support some secondary
reporting format, I *feel* it would be better to just have a method on a
dataset to provide a summary report somewhat similar to what gdalinfo would
give. In XML this would essentially be what you would get from doing a
"gdal_translate -of VRT abc.tif abc.vrt ".
I must confess there isn't such a clean analog on the ogrinfo side, and if
you want to also capture feature data written out by ogrinfo it gets
someone more complicated.
Skimming the (json missing) example ogrinfo it seems like a lot of work -
particularly to maintain in a way that will keep all output formats in
line.
I started out supportive, but the more I think about the approach the less
keen I am.
Best regards,
Frank
On Tue, Nov 19, 2013 at 8:42 AM, 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,
>
> Howard
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131119/1f55630f/attachment.html>
More information about the gdal-dev
mailing list