On Mon, Aug 29, 2011 at 3:48 PM, Hecke Andreas <[email protected]> wrote: > Hi to all, > > > > I’m new to the list and right now facing a problem with the style manager. I > have a GeoTiff representing a actual temperature values for my region and I > recalculate this layer on a regular basis with an ArcGIS Python script. Most > obviously, the values in the raster do change when I recalculate it. Now I > have the problem that I’m only able to define a style where I have fixed > quantity values that span a very wide area (-40°C to 40°C), because there > might be low temperatures in winter and very high ones in summer. > > The min-max span of the raster itself most of the time is not more than 5°C > so I get a simple rectangle colored in a very solid way. > > > > Back to my question: I would need some sort of function, so that in the SLD > description the quantity of my lowest value is set to the actual minimum of > the raster and the quantity of my highest value is set to the actual maximum > of the raster, so that it gets easier to distinguish between the areas.
The SLD standard does not provide this kind of "auto-resizing" colormap, neither does GeoServer with its extensions. For small data sets it might make sense to introduce it, I guess expressing the colormap in terms of percentages, but with some extras to avoid catching null values (like a list of nodata or something like that). And then we'd need layer level statistics computed on the whole layer and cached (otherwise the color map would rescale itself to the area being painted). It is feasible, but not a small amount of work, would require changes in both GeoServer and GeoTools Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
