NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Suppose we have two databases:

  1. With osm2pgsql schema.
  2. With apidb schema.

Updating osm2pgsql data from apidb is quite simple, by using --replicate-apidb command, which is provided by osmosis.

Do we have the opposite way to update apidb data from osm2pgsql database?

asked 13 Aug '19, 15:39

YUNtee's gravatar image

YUNtee
16335
accept rate: 0%


No, it is not possible because information is lost when importing data into an osm2pgsql database. For example, it does not keep version numbers, user IDs, or timestamps, and might drop some objects altogether when they are deemed unnecessary for rendering.

permanent link

answered 13 Aug '19, 16:36

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Ok, thanks for the answer!

(14 Aug '19, 11:02) YUNtee

Follow this question

By Email:

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

By RSS:

Answers

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:

×263
×252
×11

question asked: 13 Aug '19, 15:39

question was seen: 1,550 times

last updated: 14 Aug '19, 11:02

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum