A
A
anonymous222013-12-15 18:34:26
PostgreSQL
anonymous22, 2013-12-15 18:34:26

OSM Bright Mac OS X (TileMill)

Following the guide on how to set up OSM Bright on Mac OS X : MapBox :
Steps performed:
-Download & install required software
-Set up a database for your OSM data
There is a problem with the third step - Download & import OSM data
The guide says :
With a PBF file downloaded, you can import it with osm2pgsql. Assuming you downloaded the PBF to your Downloads folder, run the following command in the Terminal
(making sure to replace your_file.osm.pbf with the actual name of your file):

osm2pgsql -c -G -d osm -S /usr/local/share/osm2pgsql/default.style ~/Downloads/your_file.osm.pbf

This will take something like 1 to 10 minutes, depending on the size of the extract you downloaded. (If you downloaded a particularly large extract it may take much longer.) When its finished it will tell you something like “Osm2pgsql took 71s overall”.
But when I try to execute this code in terminal, nothing happens. I tried to repeat the steps described in the guide several times already, nothing works. Any ideas what I'm doing wrong? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Skobelkin, 2013-12-15
@anonymous22

I'll make the most stupid assumption - is the file exactly in the place indicated in the command? Replaced ~/Downloads/your_file.osm.pbf with your path?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question