[GRASS5] png import with r.in.png and r.in.gdal question

Markus Neteler neteler at itc.it
Mon Nov 29 08:09:08 EST 2004


On Sat, Nov 27, 2004 at 04:49:51AM +0100, Stefan Paulick wrote:
> When importing the attached png image with 57 r.in.gdal to a xy location, I 
> receive the following messages 
> 
> r.in.gdal input=/home/grassdata/scan_small.png output=scan_small57gdal
> Projection of input dataset and current location appear to match.
> Proceeding with import...
> CREATING SUPPORT FILES FOR scan_small57gdal
> SETTING GREY COLOR TABLE FOR scan_small57gdal (8bit, full range) 
> 
> Looks like there is no obvious error, but the map is empty. 

I tried: no problem. Probably you forgot to zoom to the map:

r.in.gdal in=/tmp/scan_small.png out=scan_small.png -o
g.region rast=scan_small.png -p
d.erase
d.rast scan_small.png

Hope this helps

 Markus 




More information about the grass-dev mailing list