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 |