Opened 12 years ago

Last modified 4 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


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 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) (38.5 KB) - added by aprasad 12 years ago.
Enhancement to d.vect.thematic

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by aprasad

Attachment: added

Enhancement to d.vect.thematic

comment:1 Changed 12 years ago by mlennert

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.


comment:2 Changed 11 years ago by martinl

Keywords: d.vect.thematic added

comment:3 Changed 7 years ago by hamish

Component: DefaultDisplay

see also #321

comment:4 Changed 4 years ago by neteler

Note: See TracTickets for help on using tickets.