Bug report #3377

ogr layer converter: converting kml file causes QGIS to crash

Added by Giovanni Manghi almost 11 years ago. Updated almost 11 years ago.

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

Revision f7ddafce
Added by Jürgen Fischer almost 11 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 almost 11 years ago

fix #3377

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

History

#1 Updated by Jürgen Fischer almost 11 years ago

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

fixed in 9735912b (SVN r14984).

Also available in: Atom PDF