→
GREAT WORK MICHAEL !
THANKS
OK,
I’ve managed to add the option to save as a GIS Manager group (Thanks go to Daniel for helping with parsing rgb into hex). I think this deals with most of the suggestions and updates that everyone made. Thanks to you all.
I’m at home today and don’t have access to the CVS. I’ll update this tomorrow, along with an update to the GIS Manager menu that includes the thematic mapper.
Michael
This script is an heavy enhancement for GRASS.
Now Grass can manage the thematism like other GIS software.
The group inside GIS Manager is very flexible because it permits to change any value, any color, the line, and so on and you can add the group with your raster map, commands, etc…
Mac OS X users: download last 6.1.cvs with last Michael script at:
http://wwwamb.bologna.enea.it/forgrass/downloadcvs.htm
Run grass61cvs and enter in Grass X11 terminal:
GRASS 6.1.cvs (myproject) > d.vect.thematic &
… and press enter
Possibles enhancements:
- group name created and imported automatically inside GIS Manager without external file and with a name created “theme_vectormapname_attributecolumnname”. This is more user friendly because the user see the theme inside GIS Manager as soon as possible. If this is not good the user can delete it from GIS Manager and can recreate another thematic group from the script;
- custom color from color palette (difficult);
- interval from a value with a start point (eg: 20 and 0 → 0-20, 20-40, 40-60, …)
- line color for area or no color;
- thematism from a text value.
LEGEND
Legend now is created from the script but if you have a group with some changes that you have done after it needs a new command like (example):
d.vect.thematism.leg group_name_of_thematism monitor_number
This command look inside the the group in GIS Manager for extracting the values, the colors, the SQL query, etc… and it displays the contents in a new window.
This command can be enter inside the group name at the bottom of layer for legend.
This method for vector thematism and vector thematism legend is near to other commercial GIS software and it can be saved in a GIS Manager file.
Grass is now in a new field like thematic vector and the only lacking things is a Print management and an easy db management.
Bye and thanks for the big work.
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (res.)
Download GRASS for MAC OS X:
http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________