I just have an evil SLD trick for you; make an graphic that 20x1 in dimension with a pixel on the far left side; and apply it to a line symbolizer. In general (to avoid these kinds of problems) you can make use of scale hints; have one layer of roads captured as line work when zoomed far out. And a second layer with double line roads to display along with your buildings when zoomed in.
Cheers, Jody Julian Hagenauer wrote: > Hi mailinglist, > i am rendering a map with a GTRenderer using my own sld. > The problem that arises is, that large features may overlap other features, > for example roads with a width of 10 may overlap buildings next to the map. > Is there a way in geotools to achive displacement of features, so that they > do not overlap and a pretty map is rendered? Do i have to code this for > myself, or does gt provide a displacement functionality? > > Thanks, > Julian > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
