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

Reduce number of ways in low zoom levels #116

Open
rurseekatze opened this issue May 25, 2016 · 1 comment
Open

Reduce number of ways in low zoom levels #116

rurseekatze opened this issue May 25, 2016 · 1 comment
Assignees

Comments

@rurseekatze
Copy link
Owner

rurseekatze commented May 25, 2016

While solving #74, I discovered that there is a huge problem with too big vector tiles on low zoom levels. There should not be more than 10.000 features necessary for rendering just this single tile. In low zoom levels the single ways are simplified, but not merged. This causes that there are thousands of ways that consist of one or two nodes. Merging these short ways to a few longer would reduce the file size.

This issue can be used for collecting ideas on how to reduce the number of features in low zoom levels.

@DerDakon
Copy link
Contributor

The obvious ones are:

  • combine ways that end in the same node and have identical tags (bonus points if the result would not be a "v" at places like Hagen-Delstern)
  • do the same if the lines just end in nodes which are less than 1 "pixel" away from each other and the way between them has been dropped (thus closing the gaps of small bridges or things like that).

@rurseekatze rurseekatze self-assigned this Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants