[OpenLayers-Users] SLD with different filters

Martin.L hermsdorfer84 at web.de
Mon Jun 28 14:28:07 EDT 2010



Ian Turton wrote:
> 
> Yes - start with
> http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/points.html#attribute-based-point
> which shows how to set radius by magnitude, there are other sections
> which will cover transparency and color which you can set to
> properties as with radius. You may also need to look at functions to
> do some normalization of variables
> (http://docs.geoserver.org/stable/en/user/filter/function_reference.html#math-functions).
> 
> Ian
> -- 
> Ian Turton
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 
Thank you for the quick response but there are some problems, aren't they? I
don't get all the information in the legend unless I define three
FeatureTypeStyles. Another problem is the following. An earthquake with
magnitude of 5 for example, doesn't have the same depth every time. So there
is a conflict between these two attributes if I use an AND- or OR-operator.
My wish was to define different styles, which are all represented in one
legend. Unfortunately its not realizable with one SLD right?
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SLD-with-different-filters-tp5231270p5232028.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list