[GRASS5] Turn off line color in d.m

It turned out to be pretty easy to add an option to set line color to none
in the GIS Manager. Here is the file to do it if anyone wants to try it out.
(it goes into $GISBASE/etc/dm in a binary distribution, replacing the
existing vector.tcl--Back it up before replacing). I can commit it on Monday
unless someone else wants to do it over the weekend.

BTW, what is "SQL color"?

Michael
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

(attachments)

vector.tcl (18 KB)

On Sat, December 11, 2004 19:18, Michael Barton said:

It turned out to be pretty easy to add an option to set line color to none
in the GIS Manager. Here is the file to do it if anyone wants to try it out.
(it goes into $GISBASE/etc/dm in a binary distribution, replacing the
existing vector.tcl--Back it up before replacing). I can commit it on Monday
unless someone else wants to do it over the weekend.

Cool, just tried it rapidly and it seems to work perfectly !

Thanks Michael !

Moritz

On Sat, Dec 11, 2004 at 11:18:13AM -0700, Michael Barton wrote:

It turned out to be pretty easy to add an option to set line color to none
in the GIS Manager. Here is the file to do it if anyone wants to try it out.
(it goes into $GISBASE/etc/dm in a binary distribution, replacing the
existing vector.tcl--Back it up before replacing). I can commit it on Monday
unless someone else wants to do it over the weekend.

BTW, what is "SQL color"?

It's the way to use colors stored in the atribute table.
Please see
http://grass.itc.it/grass57/manuals/html57_user/d.vect.html
-> GRASSRGB

Suggestions to extend the d.vect manual page are welcome,
and/or the d.m manual page. Preferably write to CVS directly.

Markus

On Sun, December 12, 2004 15:31, Markus Neteler said:

On Sat, Dec 11, 2004 at 11:18:13AM -0700, Michael Barton wrote:

It turned out to be pretty easy to add an option to set line color to none
in the GIS Manager. Here is the file to do it if anyone wants to try it out.
(it goes into $GISBASE/etc/dm in a binary distribution, replacing the
existing vector.tcl--Back it up before replacing). I can commit it on Monday
unless someone else wants to do it over the weekend.

BTW, what is "SQL color"?

It's the way to use colors stored in the atribute table.
Please see
http://grass.itc.it/grass57/manuals/html57_user/d.vect.html
-> GRASSRGB

Suggestions to extend the d.vect manual page are welcome,
and/or the d.m manual page. Preferably write to CVS directly.

How come there is no synopsis and no flag and parameter descriptions ?
Shouldn't they be generated automatically ?

Moritz

On Sun, Dec 12, 2004 at 03:46:53PM +0100, Moritz Lennert wrote:

On Sun, December 12, 2004 15:31, Markus Neteler said:
> On Sat, Dec 11, 2004 at 11:18:13AM -0700, Michael Barton wrote:
>> It turned out to be pretty easy to add an option to set line color to none
>> in the GIS Manager. Here is the file to do it if anyone wants to try it out.
>> (it goes into $GISBASE/etc/dm in a binary distribution, replacing the
>> existing vector.tcl--Back it up before replacing). I can commit it on Monday
>> unless someone else wants to do it over the weekend.
>>
>> BTW, what is "SQL color"?
>
> It's the way to use colors stored in the atribute table.
> Please see
> http://grass.itc.it/grass57/manuals/html57_user/d.vect.html
> -> GRASSRGB
>
> Suggestions to extend the d.vect manual page are welcome,
> and/or the d.m manual page. Preferably write to CVS directly.

How come there is no synopsis and no flag and parameter descriptions ?
Shouldn't they be generated automatically ?

Welcome, you have found a bug :slight_smile:

Yes, should work and worked recently. As Florian already
fixed my recent (potential) damages, it will be fixed once
Florian get's CVS write access.

To speed up he may also send it to me directly as cvs diff.

Markus

Markus

Thanks for clarifying this. I haven't used this feature but think it is a
nice touch. Now that I know what this means, does anyone mind if I change
the reference in the GIS Manager vector panel from "SQL color" to something
along the lines of:

"use GRASSRGB column for fill color"

I will need to rearrange the vector panel in the GIS Manager a bit to do
this. But I already have an idea on how to do this that would be sensible.

Michael

On 12/12/04 7:31 AM, "Markus Neteler" <neteler@itc.it> wrote:

On Sat, Dec 11, 2004 at 11:18:13AM -0700, Michael Barton wrote:

It turned out to be pretty easy to add an option to set line color to none
in the GIS Manager. Here is the file to do it if anyone wants to try it out.
(it goes into $GISBASE/etc/dm in a binary distribution, replacing the
existing vector.tcl--Back it up before replacing). I can commit it on Monday
unless someone else wants to do it over the weekend.

BTW, what is "SQL color"?

It's the way to use colors stored in the atribute table.
Please see
http://grass.itc.it/grass57/manuals/html57_user/d.vect.html
-> GRASSRGB

Suggestions to extend the d.vect manual page are welcome,
and/or the d.m manual page. Preferably write to CVS directly.

Markus

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

Michael,

On Sun, December 12, 2004 19:30, Michael Barton said:

Markus

Thanks for clarifying this. I haven't used this feature but think it is a
nice touch. Now that I know what this means, does anyone mind if I change
the reference in the GIS Manager vector panel from "SQL color" to something
along the lines of:

"use GRASSRGB column for fill color"

I will need to rearrange the vector panel in the GIS Manager a bit to do
this. But I already have an idea on how to do this that would be sensible.

I think your suggestion sounds good. While your at rearranging the panel: in
the survey someone mentioned the fact that they didn't understand what
"Display constraints" and "width (print)" meant. I don't know how to explain
the first without taking too much space on the panel, but for the second, it
could maybe read "line width (only used for printing)" or something similar.

Moritz

Michael,
(cc to grass5 as others might be interested as well)

On Sun, December 12, 2004 22:11, Michael Barton said:

Moritz,

The printing feature I understand. But I still don't understand the 'display
constraints' after reading the d.vect html page. What goes in those minreg
and maxreg fields and what do they do?

If any of rows or cols (from g.region -p) is outside of the range defined by
minreg and maxreg, the layer will not be displayed. This allows you to define
layers that are only visible at a certain region size (i.e. at a certain zoom
state). This can be useful if you have layers which you want display only at a
certain region extent.

For example, if you have a map of world countries, one of Europe and one of
Luxembourg (each defining several different features), you could decide that
once you have zoomed into the European continent, it doesn't make sense
anymore to display the world map, and once you have zoomed into Luxembourg,
you don't want to be distracted by European-wide features anymore. With the
minreg maxreg settings you don't have to disable the layer manually, GRASS
does it for you automatically.

Moritz

Michael

On 12/12/04 1:54 PM, "Moritz Lennert" <mlennert@club.worldonline.be> wrote:

Michael,

On Sun, December 12, 2004 19:30, Michael Barton said:

Markus

Thanks for clarifying this. I haven't used this feature but think it is a
nice touch. Now that I know what this means, does anyone mind if I change
the reference in the GIS Manager vector panel from "SQL color" to something
along the lines of:

"use GRASSRGB column for fill color"

I will need to rearrange the vector panel in the GIS Manager a bit to do
this. But I already have an idea on how to do this that would be sensible.

I think your suggestion sounds good. While your at rearranging the panel: in
the survey someone mentioned the fact that they didn't understand what
"Display constraints" and "width (print)" meant. I don't know how to explain
the first without taking too much space on the panel, but for the second, it
could maybe read "line width (only used for printing)" or something similar.

Moritz

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

Thanks for clarifying this. I haven't used this feature but think it
is a nice touch. Now that I know what this means, does anyone mind if
I change the reference in the GIS Manager vector panel from "SQL
color" to something along the lines of:

"use GRASSRGB column for fill color"

perhaps "use RGB column for fill color"

? they will have to look up the column syntax anyway..

Hamish