rurseekatze / node-tileserver

A lightweight tileserver based on NodeJS for serving bitmap and vector tiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lines are rendered too long or too short

rurseekatze opened this issue · comments

There are some strange rendering results at this tile: http://tiles.openrailwaymap.org/standard/18/138997/90723.png

Sometimes there are gaps at the switches, sometimes the lines are too long.

dirty

This is in Augsburg.

Just some intermediate results:

  • it happens both if the switches are tagged railway=switch or not
  • looking at the data (at a different location) I see that the switch is indeed part of both lines, so it's no data error

When looking at the data for this tile I see that not all switches are connected to the lines, that some LineStrings are split even if they are the same way in OSM and so on. The data has not changed for month in OSM, so I guess it's some sort of database processing that introduces these errors. The renderer then works on the damaged data and will just draw the incorrect things, so it is not at fault.