The reason we are trying the images is because we want to be able to 
render multiple routes that overlap on the same segments side-by-side so 
all the routes are visible at once.  Using images allows us to be a 
little tricky in that we can add a certain number of transparent pixels 
to the tops or bottoms of the image to basically make the image path 
look offset.  Then each path will have a different offset and they will 
line up side-by-side and be all visible.  But I don't know how we could 
offset dashed lines.  I did not see any such feature for regular strokes 
or dashed ones in the SLD spec.  Only labels had a displacement option.  
So without the ability to offset a stroke/line (which would likely be 
the best approach for this desired result) or at least some way to fake 
it like we tried with images, I don't know how we can show 4 paths that 
all overlap.

Graham.


Ian Turton wrote:
> Could you make use of the dashed line option in the SLD instead of the
> graphic stroke? I'm not sure if we handle corners any better with
> dashed lines than for graphic strokes but it might be worth a try, and
> fixing it would probably be easier than in the image case.
>
> Ian
>   


-- 
Graham Davis
Refractions Research Inc.
[email protected]


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to