Opened 10 years ago
Closed 10 years ago
Last modified 10 years ago
#2290 closed enhancement (fixed)
|Reported by:||Bborie Park||Owned by:||Bborie Park|
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 , 10 years ago
comment:2 by , 10 years ago
Probably… I'll try to get it done for 2.1.
comment:3 by , 10 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 , 10 years ago
|Status:||new → assigned|
comment:5 by , 10 years ago
|Status:||assigned → closed|
Added in r11392
comment:6 by , 10 years ago
Cool I'll test this out tomorrow or later tonight.
comment:7 by , 10 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.
comment:8 by , 10 years ago
Okay I added an example of a custom color map at r11398
cool any chance we can have this for 2.1?