From: Ian T. <ijt...@gm...> - 2005-12-15 14:54:25
|
On 12/14/05, Jesse Eichar <je...@re...> wrote: > > I have a bit of a issue with lines drawn with a Graphic stroke. I've > looked at the SLD specification on how it is supposed to be done and I > haven't really gotten a good answer but here is what it does and what I > think it should do: > > What I expected: > I expected the arrow to show up independent of what zoom level I am at. > A weather map is a good point. I have weather front with arrows > indicating the direction they are moving. The direction the arrow > points is dependent on the order of the coordinates so a graphic stoke > would work perfectly... Unfortunately if I look at all of canada it just > looks like a line. I have to zoom in to see the arrows. This is not > what is desired. GeoTools defines an arrow mark which will draw independant of scale and I'm fairly sure that graphic strokes should do the same now that I think about it. Currently all SLD sizes are in pixels, though with the new version ther= e is a move to allowing the specification of real world units. In this case though I'd go with the mark with the graphic as backup since the mark will look nicer at odd rotations since its a vector. Ian -- Ian Turton http://www.geotools.org |