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's gravatar image

accept rate: 0%

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 .

permanent link

answered 29 Jan '19, 00:38

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Jan '19, 20:41

question was seen: 1,427 times

last updated: 29 Jan '19, 00:38

powered by OSQA