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

Is it possible to import OSM history files (.osh files) into PostgreSQL/PostGIS database using osm2pgsql? #2309

Open
Guiming opened this issue Feb 26, 2025 · 1 comment

Comments

@Guiming
Copy link

Guiming commented Feb 26, 2025

I am very new to osm2pgsql but I wanted to import OSM history files into PostgreSQL/PostGIS database such that multiple versions of the same feature are all in the database.

It says osm2pgsql is infinitely configurable, e.g., through flex / .lua configuration.

Is it possible to achieve what I want with osm2pgsql? Or any other suggestions regarding how to make it happen. The OSM History Importer (https://github.com/MaZderMind/osm-history-renderer/tree/master/importer) does not work anymore, unfortunately.

Thanks in advance!

@joto
Copy link
Collaborator

joto commented Feb 27, 2025

No, this does not work. A possible workaround is described in the manual.

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

No branches or pull requests

2 participants