Bug report #13014
Processing: OGR Convert Format fails to convert KML to Shapefile
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Giovanni Manghi | ||
Category: | Processing/GDAL | ||
Affected QGIS version: | 2.8.2 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 21090 |
Description
There's a crash when I'm trying to convert data form KML to ESRI Shapefile. No outtput file was produced. QGIS 2.8.2 32 Bit Standalone.
History
#1 Updated by Jukka Rahkonen over 9 years ago
Please attach a minimal version of PONTO1.kml so that others can try to reproduce the issue. BTW. I would not call it as a crash, QGIS of GDAL does not find a layer to process but it does not crash but throws an error message.
#2 Updated by Giovanni Manghi over 9 years ago
- Assignee changed from Victor Olaya to Giovanni Manghi
- Status changed from Open to Feedback
I have just tested on qgis master on Windows and is ok here. Please attach sample data.
#3 Updated by Jorge Santos over 9 years ago
- File PONTO1.kml added
Thanks, Jukka/Giovanni. Here goes.
#4 Updated by Giovanni Manghi over 9 years ago
- Status changed from Feedback to Closed
- Resolution set to invalid
in your kml file the "name" tag contains a layer name in the form of "PONTO1.kml" while it should be "PONTO1". Maybe it is allowed but anyway ogr2ogr (and this qgis tool) expects to find a layer that has the same name as the file (without the ".kml").
#5 Updated by Jorge Santos over 9 years ago
Giovanni Manghi wrote:
in your kml file the "name" tag contains a layer name in the form of "PONTO1.kml" while it should be "PONTO1". Maybe it is allowed but anyway ogr2ogr (and this qgis tool) expects to find a layer that has the same name as the file (without the ".kml").
Oh, my gosh... Sorry for taking your time. I open this file in Google Earth and change the name "PONTO1.kml" to "PONTO1" and works now. Thank you very much.