Opened 16 years ago

Last modified 9 years ago

#318 new enhancement

d.vect.thematic - I have enhanced some features - but wish more

Reported by: aprasad Owned by: grass-dev@…
Priority: major Milestone: 6.4.6
Component: Display Version: 6.3.0
Keywords: d.vect.thematic Cc:
CPU: Unspecified Platform: All

Description

NOTE: # I modified d.vect.thematic (see attached file) to put the legend into png file if monitor=none and also to render thematic map into png file if no monitor is running....I ALSO HAVE ONE ENHANCEMENT WISH I WILL OUTLINE IN THE END.... Assuming that you have not started any monitors, it renders to png (starts monitor png1) and outputs to ${map}_thematic.png. Also, if monitor=none, the legend is rendered to ${map}_thematic_leg.png. I don't stop the png1 monitor in case you want to add other display commands - so, if you want to add display commands to the ${map}_thematic.png after d_vect_thematic.sh has run, simply do, for eg.: d.mon sel=png1 d.vect ewstates type=boundary d.mon stop=png1

This will be very useful for shell scripting of grass commands. You may want to streamline the process to make the solution more elegant.

ENHANCEMENT WISH: Currently if you choose themecalc=custom_breaks breakpoints="" colorscheme=custom_gradient - you have the option to use just startcolor and endcolor and let the script grade the colors in between. One would want to use custom colors for each break - supplied as an option or as an external file (RGB values etc.) using the breakpoints specified. This seems like a logical thing to want and should not be difficult to implement ... I will not attempt it as I am sure there are others who will do it better and quicker. Thanks much.

Attachments (1)

d_vect_thematic.sh (38.5 KB ) - added by aprasad 16 years ago.
Enhancement to d.vect.thematic

Download all attachments as: .zip

Change History (5)

by aprasad, 16 years ago

Attachment: d_vect_thematic.sh added

Enhancement to d.vect.thematic

comment:1 by mlennert, 16 years ago

You might want to try the new (and hardly tested) d.thematic.area which is in the grass6 dev branch and in the grass7 branch.

Moritz

comment:2 by martinl, 15 years ago

Keywords: d.vect.thematic added

comment:3 by hamish, 12 years ago

Component: DefaultDisplay

see also #321

comment:4 by neteler, 9 years ago

Milestone: 6.4.06.4.6
Note: See TracTickets for help on using tickets.