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

I have asked a question here. I want edit my owm map, and i know that when i saved the edit, the changeset saved in the rails port database, if i want to see the changeset on the tile server, i should produce diffs from my own apidb and consume them on the postgis db. I run the followed command, and i can see the changes in the tile server.

1)./osmosis-latest/bin/osmosis --read-apidb host="localhost" database="openstreetmap" user="osm" password="buaanlp" --write-pbf file="beijing.osm.pbf" 2)./osmosis-latest/bin/osmosis --read-pbf file="beijing.osm.pbf" --read-pbf file="planet/beijing_china.osm.pbf" --derive-change --write-pbf-change file="diff1.osc" 3)./osmosis-latest/bin/osmosis --read-pbf file="beijing.osm.pbf" --read-pbf file="planet/beijing_china.osm.pbf" --derive-change --write-xml-change file="diff1.osc" 4}osm2pgsql --append --slim -d gis -C 160 --number-processes 3 diff1.osc

But i think the progress is time-consuming, each time i make a edit then i need to run these four command. So can someone teach me more appropriate method instead? thanks.

asked 30 Aug '16, 10:22

yuyy's gravatar image

yuyy
236222431
accept rate: 20%

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:

×252

question asked: 30 Aug '16, 10:22

question was seen: 1,192 times

last updated: 30 Aug '16, 10:22

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