[QGIS-trac] [Quantum GIS] #1661: Importing a void shapefile created with ftools crashes Qgis

Quantum GIS qgis at qgis.org
Wed Apr 29 06:57:36 EDT 2009


#1661: Importing a void shapefile created with ftools crashes Qgis
---------------------------------------------------------+------------------
   Reporter:  vince                                      |              Owner:  nobody
       Type:  bug                                        |             Status:  new   
   Priority:  critical: causes crash or data corruption  |          Milestone:        
  Component:  Python                                     |            Version:  HEAD  
   Keywords:  ftools                                     |   Platform_version:        
   Platform:  OS X                                       |           Must_fix:  No    
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 If I use ftools to compute the intersection of two layers, and that
 intersection is void (therefore a void shapefile is created), Qgis crashes
 (to be more specific, it enters into an infinite loop, I must kill it to
 exit).

 On the console I get the following messages:

 Warning: QgsCoordinateReferenceSystem::getRecord failed :  select * from
 tbl_srs where parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0
 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515
 +pm=2.3372291666985 +units=m +no_defs'
 Warning: QgsCoordinateReferenceSystem::findMatchingProj will only work if
 prj acr ellipsoid acr and proj4string are set!...

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