[GRASS-dev] Re: [GRASS-user] v.colors rules

Michael Barton michael.barton at asu.edu
Mon Feb 9 09:54:12 EST 2009



On Feb 9, 2009, at 7:20 AM, <grass-user-request at lists.osgeo.org> wrote:

> Date: Mon, 9 Feb 2009 13:44:40 +0100
> From: Markus Neteler <neteler at osgeo.org>
> Subject: Re: [GRASS-user] v.colors rules
> To: Paolo Craveri <pcraveri at gmail.com>
> Cc: GRASS users list <grass-user at lists.osgeo.org>
> Message-ID:
> 	<86782b610902090444x55b73022r724aa6bfbe8d0d14 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Feb 9, 2009 at 12:12 PM, Paolo Craveri <pcraveri at gmail.com>  
> wrote:
>> Hi to all
>>
>> How v.colors with option  rules  works ?
>
> Paolo,
>
> in line 160 of the script, can you change
>
>   if [ -n "$OPTNAME" ] ; then
> to
>   if [ -z "$OPTNAME" ] ; then
>
> and report back? For me it works like this (maybe it
> breaks something else?!).

This is a truly cool new script. But I have a question. Weren't we  
going to try to pythonize new scripts that ship with GRASS so that  
they work more reliably cross-platform?

Michael


More information about the grass-dev mailing list