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

2013-03-15 Thread Luís de Sousa
Any other ideas on this subject? Thanks, Luís -- View this message in context: http://osgeo-org.1560.n6.nabble.com/SLD-with-colour-ramp-in-WMS-GetMap-tp5034507p5040725.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapse

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

2013-02-18 Thread Luís de Sousa
Hi Frank thanks for replying, my comments go below: Frank Warmerdam wrote > Luis, > > I suspect the problem is how raster values are scaled. I think the raster > SLD is applied essentially as a set of classes on the layer but it is not > clear how scaling gets set. All the examples in the Co

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

2013-02-18 Thread Luís de Sousa
Jeff McKenna wrote > Please follow the MapServer SLD document at: > http://www.mapserver.org/ogc/sld.html Hi Jeff, thank you for replying. Unfortunately there's no reference in that document to colour ramps for raster files. Hence I recurred to the Cookbook. Regards, Luís -- View this mess

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

2013-02-15 Thread Frank Warmerdam
Luis, I suspect the problem is how raster values are scaled. I think the raster SLD is applied essentially as a set of classes on the layer but it is not clear how scaling gets set. What does the layer definition look like? Can you try doing what you want with mapserver classes in the map file?

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

2013-02-15 Thread Jeff McKenna
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:/

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

2013-02-15 Thread Luís de Sousa
Hello everyone, I have a raster layer with the following range of values: $ gdalinfo -hist my_data.tiff [...] STATISTICS_MAXIMUM=128.30499267578 STATISTICS_MEAN=6.3870258293789 STATISTICS_MINIMUM=-9.5671482086182 STATISTICS_STDDEV=11.960967394892 This is layer is being published