I've just managed to compile & install the new openstreetmap-cgimap (issue). But it needs a PostGIS database with apidb scheme. How can I import a .osm.pbf dump (or better: the coastline dump) into an apidb-compatible database? The osmosis examples only explain how to export from a local PostgreSQL rails port database. asked 28 Jan '19, 20:41 baerbock |
See https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--write-apidb_.28--wd.29 - also if you need to create the initial apidb schema, either you'll have to do a "rake db:migrate" in a local openstreetmap-website installation or you use one of the scripts in https://github.com/openstreetmap/osmosis/tree/master/package/script/contrib . answered 29 Jan '19, 00:38 Frederik Ramm ♦ |