[QGIS-trac] [Quantum GIS] #3377: ogr layer converter: converting kml file causes QGIS to crash

Quantum GIS qgis at qgis.org
Thu Dec 30 10:04:07 EST 2010


#3377: ogr layer converter: converting kml file causes QGIS to crash
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  timlinux     
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  C++ Plugins                                |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3377>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list