[GRASS5] using r.in.gdal on png provides negative south/west

Stefan Paulick stefan.paulick at urbeli.com
Thu Jan 20 21:23:48 EST 2005


When importing the attached png into a 50x50 xy-Location, the region 
settings become negative. With former r.in.png, they were positive. 
*confused* 

/Stefan 


GRASS 6.0.cvs:~ > g.region -p
projection: 0 (x,y)
zone:       0
north:      50
south:      0
west:       0
east:       50
nsres:      1
ewres:      1
rows:       50
cols:       50 

GRASS 6.0.cvs:~ > r.in.gdal input=/smilegrass.png output=smile 

Projection of input dataset and current location appear to match.
Proceeding with import...
100%
CREATING SUPPORT FILES FOR smile.red
SETTING GREY COLOR TABLE FOR smile.red (8bit, full range)
100%
CREATING SUPPORT FILES FOR smile.green
SETTING GREY COLOR TABLE FOR smile.green (8bit, full range)
100%
CREATING SUPPORT FILES FOR smile.blue
SETTING GREY COLOR TABLE FOR smile.blue (8bit, full range)
100%
CREATING SUPPORT FILES FOR smile.alpha
SETTING GREY COLOR TABLE FOR smile.alpha (8bit, full range) 

GRASS 6.0.cvs:~ > g.region rast=smile.green 

GRASS 6.0.cvs:~ > g.region -p
projection: 0 (x,y)
zone:       0
north:      0
south:      -36
west:       -49
east:       0
nsres:      1
ewres:      1
rows:       36
cols:       49
GRASS 6.0.cvs:~ > 

/*** EOT ***/ 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smilegrass.png
Type: image/png
Size: 800 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20050121/2aaed260/smilegrass.png


More information about the grass-dev mailing list