[QGIS-trac] [Quantum GIS] #2224: reshape tool crashes qgis (shapes, postgis, spatialite)

Quantum GIS qgis at qgis.org
Wed Dec 9 11:28:54 EST 2009


#2224: reshape tool crashes qgis (shapes, postgis, spatialite)
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  Digitising                                 |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Tested on shapes, postgis and spatialite on qgis trunk compiled today
 (ubuntu 9.04). As vector layer to reproduce the problem you can use the
 layer "regions" you can find in the spatialite sample dataset.

 It does not happens will all the polygons in this layer, but it happens
 with the majority of them.

 The console returns:


 {{{
 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 54 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 Warning 1: Geometry of polygon of fid 59 cannot be translated to Simple
 Geometry. All polygons will be contained in a multipolygon.

 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 bufferOriginalPrecision failed (TopologyException: depth mismatch at
 347584 5.01011e+06), trying with reduced precision
 recomputing with precision scale factor = 1e+06
 Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
 Segmentation fault

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2224>
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