Color tables: Difference between revisions
Jump to navigation
Jump to search
(→Addons: + new palette thumbnails) |
(→Repositories: cpy-city is alive) |
||
Line 25: | Line 25: | ||
== Repositories == | == Repositories == | ||
* There | * There is an online colormap repository with many fine [[GMT]] (and many others) gradients at | ||
: http://soliton.vm.bytemark.co.uk/pub/cpt-city/ | |||
* There are a number of command line tools for working with the GMT .cpt files at | |||
: http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils/ | |||
== Examples == | == Examples == |
Revision as of 03:23, 16 June 2016
About
Color tables live in $GISBASE/etc/colors (see SVN)
Modules
- r.colors (r.colors manual in GRASS 7 has colors tables embedded as well as the GUI dialog)
- r.colors.stddev (samples)
- r.colors.out
- r3.colors (GRASS 7 only)
- r3.colors.out (GRASS 7 only)
- v.colors
- v.colors.out (GRASS 7 only)
Addons
- User contributed color rules in the GRASS Addons repository
- Convert from GMT color tables with r.cpt2grass
- Use r.colors.quantiles to create raster colors rules based on n-quantiles. It uses the R and the spgrass6 package.
- Use r.colors.out_sld to export GRASS raster colors rules in OGC SLD template v1.0.0 XML format for Geoserver and the ilk
- Use r.colors.out_vtk to export GRASS raster colors rules for use with VTK-based visualization software.
Repositories
- There is an online colormap repository with many fine GMT (and many others) gradients at
- There are a number of command line tools for working with the GMT .cpt files at
Examples
Built in
The numeric values of following color tables can be found in the here
Addons
These user contributions can be found in the GRASS addons SVN repository
- The script used to create these thumbnails can be found on the discussion page.