#2290 closed enhancement (fixed)
[raster] ST_ColorMap
Reported by: | dustymugs | Owned by: | dustymugs |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.0 |
Component: | raster | Version: | master |
Keywords: | history | Cc: |
Description
Apply a user-specified colormap to a user-specified band (defaulting to 1).
ST_ColorMap( rast raster, nband int, colormap text, method text )
The color map is specified in the same format as that for gdaldem's color-relief. Some predefined color maps can also be specified by keywords (probably after the explicit mechanism works well).
Change History (8)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
Milestone: | PostGIS Future → PostGIS 2.1.0 |
---|
That'll be great. I've switched to 2.1 and we can always switch back if you can't get to it by then.
comment:4 by , 11 years ago
Status: | new → assigned |
---|
comment:5 by , 11 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Added in r11392
comment:7 by , 11 years ago
This is super neat. Now I don't have to create all these stupid bands to output my images in png bright color anymore and will be great for my geometry map charts.
I put in an example at r11394 . I still need to put in an example of a custom colormap.
cool any chance we can have this for 2.1?