Re: [gdal-dev] Convert KML to Shapefile PyQGIS

2019-03-20 Thread Julierme Pinheiro
Dear Even Rouault, I got it done. Thank you very much for your reply. I appreciated your time Julierme On Tue, Mar 19, 2019 at 1:09 PM Even Rouault wrote: > Julierme, > > the issue here is that your KML file is seen as a multi-layer dataset, with > one feature per layer, so you can't use th

Re: [gdal-dev] Convert KML to Shapefile PyQGIS

2019-03-19 Thread Even Rouault
Julierme, the issue here is that your KML file is seen as a multi-layer dataset, with one feature per layer, so you can't use the logic you put below. You need to merge all the layers in a single one. You can do that with the ogrmerge.py script that comes with GDAL: https://www.gdal.org/ogrmerge.

[gdal-dev] Convert KML to Shapefile PyQGIS

2019-03-18 Thread Julierme Pinheiro
Dear all, I have a kml file which is like a zip kml file available in here ( https://www.eorc.jaxa.jp/ALOS-2/obs/map/world_asc/kml/A_Cycle06.kml) which has several satellite polygon footprint for Alos/Palsar images. I am in need to convert all these files from KML to SHAPEFILE, saving the SHP file