Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing: OGR Convert Format fails to convert KML to Shapefile #21090

Closed
qgib opened this issue Jun 20, 2015 · 5 comments
Closed

Processing: OGR Convert Format fails to convert KML to Shapefile #21090

qgib opened this issue Jun 20, 2015 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Jun 20, 2015

Author Name: Jorge Santos (Jorge Santos)
Original Redmine Issue: 13014
Affected QGIS version: 2.8.2
Redmine category:processing/gdal
Assignee: Giovanni Manghi


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.


@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2015

Author Name: Jukka Rahkonen (Jukka Rahkonen)


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.

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2015

Author Name: Giovanni Manghi (@gioman)


I have just tested on qgis master on Windows and is ok here. Please attach sample data.


  • assigned_to_id was changed from Victor Olaya to Giovanni Manghi
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2015

Author Name: Jorge Santos (Jorge Santos)


Thanks, Jukka/Giovanni. Here goes.


  • 8861 was configured as PONTO1.kml

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2015

Author Name: Giovanni Manghi (@gioman)


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").


  • status_id was changed from Feedback to Closed
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2015

Author Name: Jorge Santos (Jorge Santos)


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.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant