[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Combining Wind Direction and Wind Speed Data into Wind Barb
|
Paul Ramsey wrote:
Why not? Do I misunderstand? Mapserver can do it.. it just takes a lot
of rules, and the ability to do rotated symbols. So you feed
windspeed into a set of 5-6 rules that choose a symbols with the right
number of barbs, then rotate that symbol based on the wind direction,
voila.
What's uDig / SLD missing? The rotation-based-on-attribute part?
I see your point Paul - we can in fact rotate the symbol based on an
attribute.
My understanding is that SLD was not up to the task; but perhaps I was
thinking if cold front / warm fronts (where the rules are even stranger).
What do we actually need for this one:
1) a website with the symbols as PNG or GIF files
2) a source of data (WFS?)
3) an SLD file with
- a rule for each symbol type
- PointSymbolizers drawing the symbol in the correct location, correct
orientation, color
- TextSymbolizer to postion those two wind speeds
Doing a quick web search I find a geoserver user has constructed
something like this already:
-
http://www.nabble.com/-Geoserver-devel--Re:-Wind-Barbs,-Contouring,-and-SLD-td434264.html
Seems a bit old however; and the example does not show an Expression for
the <Rotation>; but it may be a good starting point.
Jody