[OSM-dev] Osmarender feature on only one side of road

80n 80n80n at gmail.com
Mon Jul 2 12:21:22 BST 2007


On 7/2/07, Martijn van Oosterhout <kleptog at gmail.com> wrote:
>
> On 7/2/07, 80n <80n80n at gmail.com> wrote:
> > Martijn
> > I'll trust your maths on this but it still only offsets a single
> segment.
>
> Very true :). Ah well...
>
> > One other approach that might work would be to use the close paths
> algorithm
> > to fill one side of a path.  You could then paint over it a slightly
> wider
> > stroke and use the first path as a mask.  I think this would mask out
> the
> > wider path on the filled side but leave it showing on the other side as
> a
> > thin asymmetrical stroke.
>
> Ugh! It's certainly evil what you need to do to get things looking ok
> sometimes...


Yes, it would not be a pretty solution.


Have a nice day,
> --
> Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070702/3d35f688/attachment.html>


More information about the dev mailing list