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

perf: Enhance and fix merging algorithm #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JulesL2
Copy link
Contributor

@JulesL2 JulesL2 commented Nov 24, 2024

Description

Update the merging algorithm to take into account both start and end point.
Make it more robust so that in one call to merge ways function, all ways are merged.
Take into account the strange merge (start+start/end+end) that were causing problems on the rivers.

This will help the simplify algorithm and it will reduce the number of roads which might also reduce the number of points with simplify and so reduce the size of the SVG.

It will help #59

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

Successfully merging this pull request may close these issues.

1 participant