[Tile-serving] [osm2pgsql] Unable to open data.osm.pbf (#386)
narcissic
notifications at github.com
Thu Jul 16 08:39:01 UTC 2015
I downloaded osm2pgsql from [here] (http://cl.ly/0j0E0N1J3z0z) (according to [mapbox instructions] (https://www.mapbox.com/tilemill/docs/guides/osm-bright-mac-quickstart/))
Results of the command above:
```
Usage:
osm2pgsql [options] planet.osm
osm2pgsql [options] planet.osm.{pbf,gz,bz2}
osm2pgsql [options] file1.osm file2.osm file3.osm
This will import the data from the OSM file(s) into a PostgreSQL database
--
--
A typical command to import a full planet is
osm2pgsql -c -d gis --slim -C <cache size> -k \
--flat-nodes <flat nodes> planet-latest.osm.pbf
where
<cache size> is 20000 on machines with 24GB or more RAM
or about 75% of memory in MB on machines with less
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/386#issuecomment-121879322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150716/e50b8301/attachment.html>
More information about the Tile-serving
mailing list