On Mon, 2008-08-18 at 09:34 -0500, Paul Moen wrote:
> I am doing exactly that with the following script.
> 
> v.in.ascii input=textFile output=$RasName fs='tab' x=3 y=4 skip=0
> cat=1
> v.surf.rst [EMAIL PROTECTED] layer=1 zcolumn=dbl_3 tension=40. elev=
> $RasName2 dmax=100 dmin=1
> r.colors [EMAIL PROTECTED] color=arb-precip

Based on your commands [EMAIL PROTECTED] is a vector map and not a raster,
therefore r.colors won't work on it.
Your raster is the RasName2 map (output of v.surf.rst)

> Of course, your parameters for the commands above would be different
> based on what you are importing.
> 
> arb-precip is a custom colormap that I created and placed in
> $GIDBASE/etc/colors which looks like
> 
> -20 128 64 0
> 0.058823529 128 64 0
[...]
> 12.88235294 0 8 255
> 12.94117647 0 4 255
> 13 0 0 255
> 100 0 0 255
> 
> 
> 
> On 8/16/08 6:41 AM, "roberto caselli" <[EMAIL PROTECTED]>
> wrote:
> 
>         Hello everyone,
>         I have an ascii file that I want to import using r.in.ascii to
>         obtain a raster map. Is it possible to choose the colors of
>         the ranges of the values in the ascii file?
>         
>         Roberto

Kind regards, Nikos

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to