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, 15:39

YUNtee's gravatar image

YUNtee
161
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, 16:36

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
69.5k806311087
accept rate: 24%

Ok, thanks for the answer!

(14 Aug, 11:02) YUNtee
Your answer
toggle preview

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:

×216
×200
×11

question asked: 13 Aug, 15:39

question was seen: 74 times

last updated: 14 Aug, 11:02

powered by OSQA