Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering of dashes causes problems #49

Closed
rurseekatze opened this issue Sep 14, 2015 · 3 comments
Closed

Rendering of dashes causes problems #49

rurseekatze opened this issue Sep 14, 2015 · 3 comments
Labels

Comments

@rurseekatze
Copy link
Owner

Currently the rendering of dashes does not work in every case.

Example: Süntelbahn http://www.openrailwaymap.org/canvas.php?lang=de&lat=52.197007066922616&lon=9.450516700744629&zoom=14&style=standard

abandoned-join

On zoom 15 it get's worse, but I suspect this could be the renderer doing something wrong:
dashes-5-6-z15

On zoom 16 it's all fine:
dashes-5-6-z16

@DerDakon
Copy link
Contributor

DerDakon commented Feb 2, 2016

I think what happens here is that the line is acutally drawn twice, with a slight offset.

@DerDakon
Copy link
Contributor

The line is drawn twice, but to me it looks like node-tileserver is not to blame here. When you look on the data that is rendered, which is tile 15/17243/10795, you see that nearly the same way is twice in the list. One comes from the relation, which is errnously also tagged as route=railway;railway=abandoned, the other one is the way itself.

I don't understand:

  • why the part of the relation appears as simple way here
  • why the part of the relation is split differently than the way itself, which in OSM data is long enough to cross the tile border

Since I fixed the relation, I've also attached the data as it was rendered today:
10795.js.txt

@rurseekatze
Copy link
Owner Author

Fixed by OpenRailwayMap/OpenRailwayMap@0e3431d.

Now relations are dropped before importing data into the database because they are not relevant for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants