Julian Hagenauer wrote: > Thanks for your answer. > I am afraid, that i did not make my point clear enough. > I am not dealing with scaling or anything. I want to draw a map with a set of > features at a ficed scale. Some features (exspecially lines representing huge > highways and buildings) do overlap. > Yes I understand. > A good kartographic approach to that would be to replace the buildings > (displacement). > Am i right, that there is no possibility to achive this with gt? > I know how we are supposed to be able to achieve a displacement; but you will need to test to see if it actually works for you. Make a function that displaces your features by a set amount; in your SLD file (or GeoTools style object) construct an expression that uses this function; rather than refer to the geometry directly.
An easier way would be to "fake" shrinking your buildings in all directions - ie draw your buildings with a PolygonSymbolizer that has a fill to represent the building and a Stroke the same colour as the background. > I don't think drawing lines smaller is a good solutin, because you may want > to draw big highways big, also if buildings are close to that highway. It is > more common to map reading conventions. > > Can you explain, what the evil trick will exactly do? > Right the trick is something that I use when I want to communicate several bits of information along a linestring; it bsaically constructs a "ribbon" to the side of the road. Have fun, Jody ------------------------------------------------------------------------- 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
