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

Bump planetiler to v0.8.4 #365

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Bump planetiler to v0.8.4 #365

merged 2 commits into from
Jan 24, 2025

Conversation

wipfli
Copy link
Collaborator

@wipfli wipfli commented Jan 22, 2025

By bumping Planetiler to v0.8.4, we can make use of the new Loop Line Merger in the FeatureMerge.mergeLineStrings function. It breaks small loops which reduces the chances of getting 3+ way junctions are intersections and roundabouts. Previously, the JTS line merging would not be able to merge at such 3+ way junctions and because of that, lines would not get merged at roundabouts and then they would be short and fall out of the tiles in the min length pruning. This led so far to a lot of gaps on highway=primary roads in particular.

Here are some screenshots:

Before

https://pmtiles.io/?url=https%3A%2F%2Fprotomaps.dev%2F%7Ewipfli%2F365%2Fv4-0.8-SNAPSHOT.pmtiles#map=7.06/46.901/8.791

Screenshot_20250122_084018

After

https://pmtiles.io/?url=https%3A%2F%2Fprotomaps.dev%2F%7Ewipfli%2F365%2Fv4-0.8.4-SNAPSHOT.pmtiles#map=7.06/46.901/8.791

Screenshot_20250122_082611

@wipfli
Copy link
Collaborator Author

wipfli commented Jan 22, 2025

@nvkelso
Copy link
Collaborator

nvkelso commented Jan 23, 2025

Great improvement!

@bdon bdon merged commit aa26322 into protomaps:main Jan 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants