Bug report #3377
ogr layer converter: converting kml file causes QGIS to crash
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | Tim Sutton | ||
Category: | C++ Plugins | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 13437 |
Description
When trying to covert the following kml file to shapefile (and other vector formats)
http://mapserver.uevora.pt/~mapserver/vias.kmz
qgis crashes with the following terminal message
ERROR 6: Geometry type of @3D Geometry Collection' not supported in shapefiles. Type can be overridden with a layer creation option of SHPT=POINT/ARC/POLYGON/MULTIPOINT/POINTZ/ARCZ/POLYGONZ/MULTIPOINTZ. Fatal: ASSERT: "0 != dstLayer" in file /tmp/buildd/qgis-1.7.0+svn14934~lucid1/src/plugins/ogr_converter/translator.cpp, line 207 Aborted
I guess is not a QGIS problem but a OGR one, nevertheless the exception should be caught to avoid the crash.
Should I post the same kml file to the ogr trac?
Associated revisions
fix #3377
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14983 c8812cc2-4d05-0410-92ff-de0c093fc19c
fix #3377
git-svn-id: http://svn.osgeo.org/qgis/trunk@14983 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Jürgen Fischer almost 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
fixed in 9735912b (SVN r14984).