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

Fix missing data after updating with Osm2Psql #221

Closed
wants to merge 4 commits into from

Conversation

hiddewie
Copy link
Owner

@hiddewie hiddewie commented Feb 8, 2025

Part of #215

This solves part of the problem of missing track sections after updating data in the database.

Using filtered data, and touching the imported data in the Osm2Psql tables is still not supported nor correct by Osm2Psql. However without filtering the database would grow far too large to keep Europe imported and updatable for use on https://openrailwaymap.fly.dev.

Tested in Belgium with importing old OSM data, and then repeatedly updating it.

Before:
image

After:
image

@hiddewie
Copy link
Owner Author

hiddewie commented Feb 8, 2025

Europe import is now 4754 MB (from ~2800MB)

@hiddewie
Copy link
Owner Author

hiddewie commented Feb 8, 2025

GeoFabrik download server is unavailable, breaking CI because the OSM Berlin content is not cached anymore.

@hiddewie
Copy link
Owner Author

hiddewie commented Feb 8, 2025

#222 is a better solution

@hiddewie hiddewie closed this Feb 8, 2025
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.

1 participant