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

How would I add OSM data to this Docker Image #1

Open
dirklieske opened this issue Dec 21, 2015 · 1 comment
Open

How would I add OSM data to this Docker Image #1

dirklieske opened this issue Dec 21, 2015 · 1 comment

Comments

@dirklieske
Copy link

I seem not to be able to get to a command prompt. Only access to psql. So how would I run Osm2pgsql to import OSM datafiles into the postgres database.

@Starefossen
Copy link
Owner

Hi @dirklieske and thank you for your interest in the pgRouting Docker Image.

Simply explained you first need to start the pgrouting database container, and then you can configure osm2pgsql to connect to the database like this:

osm2pgsql \
  --host <IP address for DB container> \
  --port <PORT for DB container> \
  --database postgres

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