[gdal-dev] Can we combine all layers of kml into single GeoJSON

Even Rouault even.rouault at spatialys.com
Thu Feb 5 08:31:56 PST 2015


Le jeudi 05 février 2015 17:24:24, Eli Adam a écrit :
> > Just thinking, but wouldn't it be nice to have "ogrbuildvrt" tool that
> > would take list of OGR supported layers and outputs a simple vrt with
> > one  union layer like the one in your example?
> 
> There is this script,
> https://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/ogr2vrt.py,
> with details here,
> http://lists.osgeo.org/pipermail/gdal-dev/2009-October/022522.html.
> It might get you part of the way.

It doesn't deal with UnionLayers. Just for single datasource to VRT. But a 
ogrbuildvrt shouldn't be very difficult to do if someone wants to tackle it.

> 
> Cheers, Eli
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list