[QGIS-trac] [Quantum GIS] #1080: crash when loading GRASS vectors and rasters

Quantum GIS qgis at qgis.org
Fri May 9 09:04:37 EDT 2008


#1080: crash when loading GRASS vectors and rasters
---------------------------------------------------------+------------------
   Reporter:  pcav                                       |              Owner:  nobody
       Type:  bug                                        |             Status:  new   
   Priority:  critical: causes crash or data corruption  |          Milestone:        
  Component:  GRASS                                      |            Version:  HEAD  
   Keywords:                                             |   Platform_version:        
   Platform:  Debian                                     |           Must_fix:  No    
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 I'm unable to load GRASS raster or vectors (0.10 from debian.gfoss.it).
 This seems related to the proj k problem pointed out by Maciek.
 Seems a major bug, as GRASS is unusable with all projections with a k
 parameter (and more).
 All the best.
 pc
 ============================
 VECTORS

 error_routine (fatal = 0): Unable to initialise PROJ.4 with the
 following parameter list: +proj=tmerc +lat_0=0 +lon_0=9 +k=0.999600
 +x_0=1500000 +y_0=0 +no_defs +a=6378388 +b=6378388
 error_routine (fatal = 0): The error message: k <= 0
 error_routine (fatal = 0): Can't parse GRASS PROJ_INFO file
 Critical: QgsSpatialRefSys::createFromWkt -- theWkt is uninitialised,
 operation failed
 Warning: No valid projection. Unable to set map units.
 Raster Algebra: renderTest called!
 QgsGrass::vectors()
 QgsGrass::vectors()
 QgsGrass::vectors()
 error_routine (fatal = 1): default region is invalid
 line 4: <south:      -28513.88928299>
 Cannot open GRASS vector: default region is invalid
 line 4: <south:      -28513.88928299>

 then segfault
 ============================
 RASTERS

 Warning: QgsSpatialRefSys::getRecord failed :  select * from tbl_srs
 where parameters='+proj=longlat +a=6378137 +b=6356733.855704698
 +towgs84=0.000,0.000,0.000 +no_defs'
 Warning: QgsSpatialRefSys::findMatchingProj will only work if prj acr
 ellipsoid acr and proj4string are set!...
 Warning: No valid projection. Unable to set map units.
 Warning: QPainter::begin: Painter already active
 Warning: QPainter::begin: Painter already active
 Warning: QPainter::begin: Painter already active
 Raster Algebra: renderTest called!
 QgsGrassPlugin::addRaster
 QgsGrass::rasters()
 QgsGrass::rasters()
 QgsGrass::rasters()
 ERROR 4:
 `/home/Documenti/datigrass//Mondo_LatLong/leo/cellhd/carta_tempo' not
 recognised as a supported file format.

 then segfault

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