[GRASS-user] rasters loaded with r.external miss a colour table?
Markus Neteler
neteler at osgeo.org
Thu Feb 23 08:57:07 EST 2012
On Thu, Feb 23, 2012 at 12:03 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Hi all.
> Importing a dtm raster assign a correct colour table to it.
> If I load it with r.external, instead, only a greyscale is applied.
Do you use r.colors?
>This happens through the qgis plugin, do not know if it's the same with other
> interfaces).
> Is this a known issue?
I tried in GRASS:
# quick and dirty test:
GRASS 6.4.3svn (latlong_wgs84):~/data/maps/fao_forest_fra2000/frst_gez
> r.external /home/neteler/data/maps/fao_forest_fra2000/frst_gez/w001001.adf
out=test
WARNING: Datum <Not_specified_based_on_Clarke_1866_ellipsoid> not
recognised by GRASS and no parameters found
Projection of input dataset and current location appear to match
Importing band 1 of 1...
Link to raster map <test> created
GRASS 6.4.3svn (latlong_wgs84):~/ > g.region rast=test -p
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 90N
south: 90S
west: 180W
east: 180E
nsres: 0:00:32.4
ewres: 0:00:32.4
rows: 20000
cols: 40000
cells: 800000000
GRASS 6.4.3svn (latlong_wgs84):~/ > r.colors test col=gyr
Color table for raster map <test> set to 'gyr'
GRASS 6.4.3svn (latlong_wgs84):~/ > d.mon x0
GRASS 6.4.3svn (latlong_wgs84):~/> d.rast test
The map is nicely colorized.
I did not try in QGIS.
Markus
More information about the grass-user
mailing list