Author: Dan "Ducky" LittleBR Contact: danlittle at yahoo dot com BR
Add XML output to the ogrinfo and gdalinfo utilities.
An example implementation can be seen in the fork of gdal
To add the XML output to each utility will require "breaking up" the main loop into contingent chunks. All diagnostic messages will also need to be moved to STDERR to ensure that output on STDOUT is always parseable. The XML representation will be constructed using the MiniXML library built into GDAL.
None.
gdalinfo
* Adds a "-xml" output option.
ogrinfo
* Adds a "-xml" output option.
This change has no impact on backward compatibility at the C API/ABI and C++ API/ABI levels. Default output will remain the same. The new XML output will only effect users who specify "-xml" on the command line.
The Python autotest suite will be extended to test the new XML output and existing tests will be modified to check STDERR for diagnostic messages.
No tickets.
Proposed.