[gdal-dev] Re: GML 3.1.1

Mark Overmeer mark at overmeer.net
Tue Sep 14 14:19:11 EDT 2010


* Ari Jolma (ari.jolma at gmail.com) [100914 15:37]:
> Would it make sense to use Geo::GDAL (i.e., the Perl interface to GDAL)
> for i/o data to GDAL and from there to any GDAL supported format or just
> for use within GDAL?

Geo::GML translates XML (in this case representing GML data) into
Perl's nested HASHes and ARRAYs with the same structure (while
validating)  And the reverse: write GML.

> I.e. the pipeline would thus be:
> GML(doc) <-> Geo::GML <-> Geo::GDAL <-> GDAL <-> any OGR format

I do not understand this. Geo::GDAL/GDAL is an application, where
GML and OGR are formats.  So, it would be something like:

    Geo::GML->read($gml_doc)->Geo::GDAL::ogr_or_something($outfile)
                                  libGDAL

I have no idea how the data needs to be organized to be accepted
by the Geo::GDAL functions.
-- 
Greetz,   MarkOv


More information about the gdal-dev mailing list