[GRASS-dev] Re: gis.m: not drawing centroids by default

Michael Barton michael.barton at asu.edu
Thu Feb 8 11:38:01 EST 2007


I agree that for me, I'd rather have centroids turned off by default. I left
them on because they'd been on by default before. Not a great reason, but I
didn't want to be too radical after changing the default icon from x to
circle ;-)

Michael


On 2/8/07 9:25 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:

> On 08/02/07 11:06, Hamish wrote:
>> Moritz Lennert wrote:
>>>> - is there a way in gis.m to paint the centroids differently than
>>>> points? (keep them as "X"s)
>>> just chose whatever symbol you like
>>> 
>>>> failing that,
>>>> - is there a way in gis.m to disable centroid drawing by default?
>>> What is wrong with just disabling the 'centroid' button ?
>> 
>> 
>> .. it should plot nicely by default ..
> 
> --- vector.tcl  2007-01-29 12:17:21.000000000 +0100
> +++ vectornew.tcl       2007-02-08 17:21:17.000000000 +0100
> @@ -138,7 +138,7 @@
>       set opt($count,1,type_point) 1
>       set opt($count,1,type_line) 1
>       set opt($count,1,type_boundary) 1
> -    set opt($count,1,type_centroid) 1
> +    set opt($count,1,type_centroid) 0
>       set opt($count,1,type_area) 1
>       set opt($count,1,type_face) 0
> 
> in gui/tcltk/gis.m/vector.tcl is all it needs. Is more a question of
> finding out what people prefer.
> 
> Personally, I actually agree with Hamish that this might be the better
> default.
> 
> Moritz

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 




More information about the grass-dev mailing list