Martijn van Oosterhout
kleptog at gmail.com
Sun Aug 12 15:17:43 BST 2007
On 7/24/07, Iván Sánchez Ortega <ivansanchez at escomposlinux.org> wrote:
> The second problem is more grave IMHO: according to the actual standards,
> there is no way to correctly *draw* three touching (adjacent) ways.
I didn't see a response to this, so I'm bringing it up again...
> I'll explain myself: the current data model (and validator rules) encourage
> the following:
> - Reuse data (reuse a node if possible)
> - Reuse a segment if you really, really need to
> - Closed ways "areas" must be ordered. Either it draws a clockwise polygon, or
> a counter-clockwise polygon.
In my original validator I made an exception for this: if a way is
looped (so that it is an area) then the the arrows don't have to face
the same way. They still need to be ordered, just the arrows don't
have all face the same way.
This solves your problem. I seem to remember convincing someone to fix
osmarender so that it handles this case fine. However, don't think
any other parts of the system handle this...
Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the talk