Even Rouault even.rouault at spatialys.com writes:
Mani,
you could use a VRT union layer to merge all layers into a single one.
This is
documented at http://gdal.org/drv_vrt.html
In your case this would be creating a .vrt file like :
OGRVRTDataSource
OGRVRTUnionLayer
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
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,
Yeah that ll be pretty awesome :D
On Thu, Feb 5, 2015 at 4:49 PM, Jukka Rahkonen
jukka.rahko...@maanmittauslaitos.fi wrote:
Even Rouault even.rouault at spatialys.com writes:
Mani,
you could use a VRT union layer to merge all layers into a single one.
This is
documented at
Le mardi 03 février 2015 06:57:32, Manikanta Kondeti a écrit :
Hi,
I am trying to figure out if there is way to combine all layers in kml into
a single Geojson object using ogr2ogr?
One way I figured out is to iteratively traverse through all the layers and
create geojson for each layer.
Hi,
I am trying to figure out if there is way to combine all layers in kml into
a single Geojson object using ogr2ogr?
One way I figured out is to iteratively traverse through all the layers and
create geojson for each layer. Now the issue it to have all json's into a
single json object?
Need