Color tables: Difference between revisions
Jump to navigation
Jump to search
m (→Addons: avoid module rename..) |
m (→Addons) |
||
Line 20: | Line 20: | ||
* Convert from [[GMT]] color tables with {{AddonCmd|r.cpt2grass}} | * Convert from [[GMT]] color tables with {{AddonCmd|r.cpt2grass}} | ||
* Use {{AddonCmd|r.colors.quantiles}} to create raster colors rules based on ''n''-quantiles. It uses the [[GRASS_and_Rstat|R and the spgrass6 package]]. | * Use {{AddonCmd|r.colors.quantiles}} to create raster colors rules based on ''n''-quantiles. It uses the [[GRASS_and_Rstat|R and the spgrass6 package]]. | ||
* Use {{AddonCmd|r.colors.out_sld}} to export GRASS raster colors rules in OGC SLD template v1.0.0 format for Geoserver and | * Use {{AddonCmd|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 {{AddonCmd|r.colors.out_vtk}} to export GRASS raster colors rules for use with VTK-based visualization software. | * Use {{AddonCmd|r.colors.out_vtk}} to export GRASS raster colors rules for use with VTK-based visualization software. | ||
Revision as of 00:16, 19 June 2013
About
Color tables live in $GISBASE/etc/colors (see SVN)
Modules
- r.colors
- 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 was an online colormap repository with many fine GMT (and many others) gradients at http://soliton.vm.bytemark.co.uk/pub/cpt-city/.
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.