News for hackers. Stuff that matters.
Re:How to set up an OpenStreetMap server by spapas82 on Saturday July 16, 2016 @07:19AM (#12105978)
Nice! Some questions: How much time is needed for the import ? How much disk space should the server have ? (120 GB as in the title?) What do you mean by the 1700 in the phrase "1700 is the GB of RAM" ?

Thanks !

Re:How to set up an OpenStreetMap server by westi on Saturday July 16, 2016 @07:29AM (#12106001)
> What do you mean by the 1700 in the phrase "1700 is the GB of RAM"

It looks like the 1700 is the Cache size for the command to use in MiB of ram - https://github.com/openstreetmap/osm2pgsql#usage

<cache size> is about 75% of memory in MiB, to a maximum of about 30000. Additional RAM will not be used.

Re:How to set up an OpenStreetMap server by antome on Saturday July 16, 2016 @07:36AM (#12106011)
OSM wiki says "XML variant over 666GB uncompressed, 49.1GB bz2 compressed and 31.1GB PBF at 2016-03-20". Not sure where the 120GB comes from.
Re:How to set up an OpenStreetMap server by ungzd on Saturday July 16, 2016 @07:52AM (#12106053)
He imports only Europe from geofabrik.de dumps, not whole planet.
Re:How to set up an OpenStreetMap server by spapas82 on Saturday July 16, 2016 @07:42AM (#12106027)
Maybe because he drops some info from the file (he keeps only the roads) ?
Re:How to set up an OpenStreetMap server by brianshaler on Saturday July 16, 2016 @09:08AM (#12106220)
A sizable chunk of that is probably database indexes.