On 6-Apr-06, at 9:53 AM, Robbie Jameson wrote:

Hi,

Congratulations on milestone 7, I've tried it with some colleagues and it is
much faster at rendering shapefiles and also seems more stable.

I've got a question about whether anything is planned for supporting two
things related to linestring display:

- style with name label snaking along (above or inside) each annotated
linestring rather than being displayed horizontaly
There is a way to more or less do this... I had thought that it was on by default but it has been a while since I've looked into it. I'll check it out and let you know what I find out.

- style with set of linestrings displayed as thick (e.g. white) lines with outer rims (e.g. black) so as to look more like what raster maps with roads
on them look like.
In order to do this you have to make a custom SLD, currently you have to use the XML editor to do it. For best appearance you can make 2 FeatureTypeStyles one that is a line of 3 thickness and one that is a line of 1 thickness. Currently this requires 2 passes through the data for shapefiles. For a quick approximation ( a single pass) you can have 2 rules in a single feature type style. The problem with this solution is that intersections will look a little funny. This is because 1 case 1 all the thick lines are drawn then all the thin lines are drawn but in the second case for each feature line 1 is drawn then line 2 is drawn (rather than all thick lines for all features). When 2 features intersect the first feature will be drawn with both lines then the second feature will cover the lines at the intersection. (This explanation isn't the clearest, my apologies).

Jesse

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to