2

could someone help with this? I found only this: http://wiki.openstreetmap.org/wiki/Osm2pgsql and this: http://learnosm.org/en/osm-data/osm2pgsql/ but windows binary was removed, and I never use cygwin or linux bash.

Actually I've installed Postgresql with postgis, and downloaded planet.osm.pbf.

I need some advice how to proceed with Osm2pgsql, wich will be helpful for newbie. Thanks

Denis Stephanov
  • 4,563
  • 24
  • 78
  • 174

2 Answers2

2

I would suggest running a an Ubuntu Server (14.04 or 16.04) and following the instructions here:

https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

You can run this on a Virtualbox from your windows machine.

The reason I suggest this is that you will only make things more difficult for yourself trying to install on windows.

I myself was completely new to Linux before I installed my MapServer, and I found it really easy to follow.

0

Osmosis can also do imports of osm (pbf) file to postgres DB with postgis extension. http://wiki.openstreetmap.org/wiki/Osmosis

yaugenka
  • 2,602
  • 2
  • 22
  • 41