|
From: Jody G. <jga...@re...> - 2008-01-30 20:23:26
|
This is the old x,y,z and measure problem. I don't know that SLD has a way to access per coordiante data. While we could make a function for that we would still be stuck with a single color for the style. Antonie can we break your lines into a bunch of line segments? Jody > Ian Turton a écrit : >> On Jan 30, 2008 11:47 AM, Antoine Berner <an...@ab...> wrote: >> >>> Hi everybody >>> >>> I apologize for my newbie's question, but I coud not find answers. >>> >>> I have a Feature with a LineString geometry. >>> >>> The LineString is build on 3D points (x, y and z= color). How could I >>> render that line and take the z argument as a value to compute the color >>> of next segment? >>> >>> It is renderd with a style but I don't know what to add into my style so >>> it chooses color according to the z argument. >>> >>> >> You don't say where the data is coming from so this may or may not >> work. When you build the line string could you recast it so the z >> value becomes an attribute and then the styler could use it as normal? >> >> Ian >> > Yes of course I could make the z value an attribute.. But the > feature's gemometry being a LineString, it contains several points, > then several z values. > > Then I just don't know how to make the style use a different color for > each segment, even if the set of z values is an attribute of my feature. > I hope I made myself clear.. do you think there is a way to work that > way? I don't think so. > > ant1 |