[mapserver-users] SLD with colour ramp in WMS GetMap

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Feb 15 03:19:20 PST 2013


On 13-02-15 6:55 AM, Luís de Sousa wrote:
> 
> [1]
> http://docs.geoserver.org/latest/en/user/styling/sld-cookbook/rasters.html#example-raster
> 

Please follow the MapServer SLD document at:
http://www.mapserver.org/ogc/sld.html

You can mimic the working examples in that document, such as:
http://demo.mapserver.org/cgi-bin/wms?SERVICE=wms&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&FORMAT=png&WIDTH=400&HEIGHT=300&SRS=EPSG:4326&STYLES=&BBOX=-180.0,-90.0,180.0,90.0&TRANSPARENT=TRUE&SLD=http://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml

Have a nice weekend.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the mapserver-users mailing list