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

Martijn van Oosterhout kleptog at gmail.com
Mon Jul 2 12:19:35 BST 2007


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...

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list