Opened 13 years ago

Closed 13 years ago

#3377 closed bug (fixed)

ogr layer converter: converting kml file causes QGIS to crash

Reported by: lutra Owned by: timlinux
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: C++ Plugins Version: Trunk
Keywords: Cc: pcav
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

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?

Change History (1)

comment:1 by jef, 13 years ago

Resolution: fixed
Status: newclosed

fixed in r14983.

Note: See TracTickets for help on using tickets.