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

FDW from osmium formats #1

Open
nextstopsun opened this issue Feb 17, 2019 · 1 comment
Open

FDW from osmium formats #1

nextstopsun opened this issue Feb 17, 2019 · 1 comment

Comments

@nextstopsun
Copy link

Is it possible to use osmium lib to create a postgresql foreign data wrapper for osm data?
So one could wrap PBF, XML, OPL etc. as a postgres table.
Not quite an importer, but an automation tool.

The one I know of crashes postgres.

@joto
Copy link
Member

joto commented Feb 18, 2019

I have thought about this and had a quick look into the FDW thing, but I couldn't understand the interface for FDWs. I am not sure how easy it would be to write something like this. And while it looks "cool" to have something like this, I am not sure how useful it would actually be for just importing data.

It would be more interesting to have a real "OSM database", something you can do queries on, not just read a file from start to finish, and tie that into PostgreSQL, but this would be harder still.

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

No branches or pull requests

2 participants