This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Switch2osm tile server insert more countries

0

i am successfully installed tile server based on the instruction given in the

http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/

for india and i got the png image too. Then i tried to add for some other countries. when i insert using

"osm2pgsql --slim -d gis -C 16000 --number-processes 3 new-york-latest.osm.pbf"

it replace india data in postgresql database.

Guide me best option to solve this issue.

asked 13 Feb '14, 06:47

Arun%20kmp's gravatar image

Arun kmp
63141519
accept rate: 0%

edited 13 Feb '14, 08:45


One Answer:

2

This previous question shows how to append files, and the top answer to it describes a problem that you might get if there's shared data between the file that you originally used and the file that you're merging. As @EdLoach says in that answer - merge files together using osmosis first and then load.

answered 13 Feb '14, 09:48

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 13 Feb '14, 09:50

Source code available on GitHub .