[gdal-dev] parser the information from the gdalinfo

maven apache apachemaven0 at gmail.com
Thu Jun 18 23:24:48 EDT 2009


Hi:I try to get the information of a image:product_compose123.img and I got
a lot of infomation (perhaps 1500 lines).
I wonder there is some tools to handle this information? I want to change
them to a xml document.
-----------------------------------
PROJCS["Lambert Conformal Conic",
    GEOGCS["Krasovsky",
        DATUM["Krasovsky",
            SPHEROID["Krasovsky",6378245,298.3000003760163],
            TOWGS84[0,0,0,0,0,0,0]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",47],
    PARAMETER["standard_parallel_2",25],
    PARAMETER["latitude_of_origin",36],
    PARAMETER["central_meridian",105],
    PARAMETER["false_easting",5000000],
    PARAMETER["false_northing",5000000],
    UNIT["meters",1]]
------------------------------------
Above is the Coordinate System  described with OGC wkt,I think transfer this
to xml format is not a easy job.
PS:
The information is to long,because it include the all the bands information,
since I do not need the band info I wonder there is other commond?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090619/0fb79dc7/attachment.html


More information about the gdal-dev mailing list