-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
‘read’ is not a member of ‘Osmium::Input’ #7
Comments
I get the same error. It seems that the project is no longer maintained. Should we try to find alternatives for converting osm data to shapefile? |
I don't know if there are other projects which do that? I think there is a lot of movement going in the osm community. Maybe I could get this running again if many people are interested. |
Currently the only seamless and working solution is to use postgresql. I've tried postgresql and confirm that it's working. 1- Install osm2pgsql (it's present in ubuntu repositories and correctly packaged, which installs required dependencies as well) In my case, osm2pgsql created the following tables:
I then used the following one-liner to dump those tables:
The process is a bit long. It would be good to have a tool that can operate on file. Rather than importing to database, and exporting it, operating solely on file is preferred. That's your choice, sir. If you have time, it would be awesome. I can help package the app for ubuntu/debian when it's ready. Btw, for those people who are visiting this page, I found pre-built shape data here. However, this page only provides country-level. If you want to extract a city or a specific region other than a whole country, the region should be downloaded from overpass api, and converted to shp. |
You could just refer to the old Osmium instead of installing the new Osmium libraries |
I get this error when I try to compile:
The text was updated successfully, but these errors were encountered: