NAME
r.colors.out_sld - Exports the color table associated with a raster map layer in SLD format.
KEYWORDS
raster,
export,
color table
SYNOPSIS
r.colors.out_sld
r.colors.out_sld --help
r.colors.out_sld map=name [style_name=string] [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- map=name [required]
- Name of raster map
- style_name=string
- Name for style
- A name for the style which might be displayed on the server
- Default: GRASS color table
- output=name
- Name for output SLD rules file
- "-" to write to stdout
- Default: -
The module
r.colors.out_sld exports the colors of a raster map into
the Styled Layer Description (SLD) format according to OGC standard.
For raster maps of tyoe CELL also lables are exported. The export if lables
requires that the input map is read and may thus take a bit longer than the
export of contious color rules (ramp).
Currently only SLD v1.0.0 is implemented.
# Exporting a color ramp
r.out.colors_sld map=Testmap style_name=Celsius
r.colors.out
http://www.opengeospatial.org/standards/sld
Hamish Bowman
Stefan Blumentrath, Norwegian Institute for Nature Research, Oslo, Norway
SOURCE CODE
Available at: r.colors.out_sld source code (history)
Main index |
Raster index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2018
GRASS Development Team,
GRASS GIS 7.4.1svn Reference Manual