[STATSGRASS] CRS(): PROJ4 argument-value pairs must begin with +
rsadler at cyllene.uwa.edu.au
rsadler at cyllene.uwa.edu.au
Wed Sep 28 01:50:55 EDT 2005
Hi,
I have just installed grass6.0 on a new machine, and come up with a new
error (for me!).
test5x<-readCELL6sp("test.product5")
Error in CRS(system("g.proj -j -f", intern = TRUE)) :
PROJ4 argument-value pairs must begin with +: XY location
(unprojected)
It looks like the CRS function in readCELL6sp is not liking the projection
information (or lack thereof), hence can't provide a projection when
reading in ascii.grid format. When I exclude P4<-CRS(...) and just use
CRS(as.char(NA)) my later functions that process the coverage bug out.
What do I do from here?
The raster coverage has worked on a previous machine using readCELL6sp.
The coverage does have nodata values amongst other integer category values
Regards
rohan sadler
system("g.proj -j")
XY location (unprojected)
r.info map=test.product5
+----------------------------------------------------------------------------+
| Layer: test.product5 Date: Wed Sep 28 11:48:57 2005
|
| Mapset: rsadler Login of Creator: rsadler
|
| Location: bananabrains
|
| DataBase: /home/rohan/simulations
|
| Title: ( test.product5 )
|
|----------------------------------------------------------------------------|
|
|
| Type of Map: cell Number of Categories: 393
|
| Data Type: CELL
|
| Rows: 250
|
| Columns: 250
|
| Total Cells: 62500
|
| Projection: x,y (zone 0)
|
| N: 1 S: 0 Res: 0.004
|
| E: 1 W: 0 Res: 0.004
|
| Range of data: min = 1 max = 393
|
|
|
| Data Source:
|
|
|
|
|
|
|
| Data Description:
|
| generated by r.mapcalc
|
|
|
| Comments:
|
| test51 * test52
|
|
|
+----------------------------------------------------------------------------+
Regards
Rohan
More information about the grass-stats
mailing list