Details Ticket 2072


Comment | Reply | Take | Open


Serial Number 2072
Subject r.colors: add color scale like s.surf.rst makes
Area wish
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status resolved
Last User Contact Sat Aug 23 11:49:39 2003 (5 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Aug 31 03:20:10 2004 (4 yr ago)
Created Sat Aug 23 10:10:10 2003 (5 yr ago)

Transaction History Ticket 2072


Sat, Aug 23 2003 10:10:10    Request created by guest  
Subject: r.colors: add color scale like s.surf.rst makes

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.3rc1

Hi -- it would be nice if r.colors had a color option for what s.surf.rst uses,
it's quite nice for topography.

min
0:191:191
0:255:0
255:255:0
255:127:0
191:127:63
20
max


thanks,
Hamish
Sat, Aug 23 2003 11:49:39    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 23 Aug 2003 11:49:30 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2072] (grass) r.colors: add color scale like s.surf.rst makes
Message-ID <20030823114930.A11651@itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20030823081010.A754D13AFB@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <20030823081010.A754D13AFB@lists.intevation.de>; from grass-bugs@intevation.de on Sat, Aug 23, 2003 at 10:10:10AM +0200
X-Spam-Status No, hits=-5.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.55
X-Spam-Level
X-Spam-Checker-Version SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
On Sat, Aug 23, 2003 at 10:10:10AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2072
> -------------------------------------------------------------------------
> 
> Subject: r.colors: add color scale like s.surf.rst makes
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0.3rc1
> 
> Hi -- it would be nice if r.colors had a color option for what s.surf.rst uses,
it's quite nice for topography.
> 
> min
> 0:191:191
> 0:255:0
> 255:255:0
> 255:127:0
> 191:127:63
> 20
> max


Additionally I would like to suggest to add a color set
"terrain" which applies a common DEM color table (I can provide
a nice set of rules).

Markus
 


Wed, Aug 27 2003 17:08:03    Comments added by guest  
Here a general (European) DTM color table proposal:

0 0 150 0
270 90 165 90
300 90 175 90
500 50 180 50
500 70 170 70
1000 70 145 75
1000 70 155 75
2000 150 156 100
2800 220 220 220
3000 255 255 255
3800 255 255 255
nv 255 255 255

Markus
Tue, Dec 2 2003 08:57:06    Comments added by hbowman  
Cc: grass5@grass.itc.it

> Here a general (European) DTM color table proposal:
>
> 0 0 150 0
> 270 90 165 90
> 300 90 175 90
> 500 50 180 50
> 500 70 170 70
> 1000 70 145 75
> 1000 70 155 75
> 2000 150 156 100
> 2800 220 220 220
> 3000 255 255 255
> 3800 255 255 255
> nv 255 255 255
> 
> Markus


I'd add to that:

-500 0 0 30
-100 0 0 200
-1 150 150 255

for continental shelves, or maybe to cover the deep oceans from the Marianas
Trench something like:

-11000 0 0 0
-1000 0 0 30
-500 0 0 200
-1 150 150 255

Maybe better to start seeing color about -3000m or scale from min value?
(I just picked these, maybe GMT or someone else has something better already)
and replace the 3800 line with:
8850 255 255 255

to go to the top of Mount Everest. (might as well!)


we'd need to check versus PROJ_UNITS to translate from meters first..


so:

-11000 0 0 0
-500 0 0 30
-100 0 0 200
-1 150 150 255
0 0 150 0
270 90 165 90
300 90 175 90
500 50 180 50
500 70 170 70
1000 70 145 75
1000 70 155 75
2000 150 156 100
2800 220 220 220
3000 255 255 255
8850 255 255 255
nv 255 255 255     # DEFAULT_BG_COLOR



?,
Hamish
Tue, Aug 31 2004 03:20:02    Comments added by hbowman  
done with 'r.colors rules=terrain' etc.


Hamish
Tue, Aug 31 2004 03:20:10    Status changed to resolved by hbowman  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request