Bug report #3377

ogr layer converter: converting kml file causes QGIS to crash

Added by Giovanni Manghi about 12 years ago. Updated about 12 years ago.

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


When trying to covert the following kml file to shapefile (and other vector formats)


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

Fatal: ASSERT: "0 != dstLayer" in file /tmp/buildd/qgis-1.7.0+svn14934~lucid1/src/plugins/ogr_converter/translator.cpp, line 207

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

Revision f7ddafce
Added by Jürgen Fischer about 12 years ago

fix #3377

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 9735912b
Added by Jürgen Fischer about 12 years ago

fix #3377

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c


#1 Updated by Jürgen Fischer about 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in 9735912b (SVN r14984).

Also available in: Atom PDF