Reputation: 5251
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, which will be helpful for newbie. Thanks
Upvotes: 2
Views: 3194
Reputation: 33
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.
Upvotes: 2
Reputation: 2871
Osmosis can also do imports of osm (pbf) file to postgres DB with postgis extension. http://wiki.openstreetmap.org/wiki/Osmosis
Upvotes: 0