[Qgis-developer] trouble with grass plugin

Maciej Sieczka tutey at o2.pl
Sat May 10 07:45:31 EDT 2008


Paolo Cavallini pisze:
> 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).

> ============================
> 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

I don't have a segfault in either case, but I confirm that SRS of GRASS 
data are not recognized.

Maciek



More information about the Qgis-developer mailing list