Hi, I have set up local OSM server using OSM2pgsql. I have extracted India map data and it is looking okay. But, when I extracted gcc states pbf file from Geofabrik website and extracted it, map is not showing that data. Gcc states data is not visible on map. asked 22 Jan '16, 10:20 Reshma Maner |
Please explain what you did to add the GCC states data to your already existing map. What programs did you run and with what arguments?
sudo -u www-data osm2pgsql -C 2048 --slim --number-processes 4 gcc-states-latest.osm.pbf --cache-strategy sparse
This has deleted your India data from the database, and loaded the gcc-states data instead of it. Is that what you wanted? Are you running a tile server with renderd? Are you seeing "pink tiles" on your map, or just empty tiles with oceans and nothing else?
Additionally, I suspect that "Gcc states data is not visible on map" means that previously generated tiles are being cached somewhere, perhaps even in the browser.
In summary, a bit more information about which commands are being run in what order (and what was visible at each stage) would be needed to provide much more help. Maybe an option would be to ask in the #osm IRC channel - that we people could ask questions a bit more interactively?
Hi,
I executed following commands in given sequence.
sudo -u www-data osm2pgsql -C 2048 --slim --number-processes 4 India-latest.osm.pbf --cache-strategy sparse
sudo -u www-data osm2pgsql -C 2048 --slim --number-processes 4 gcc-states-latest.osm.pbf --cache-strategy sparse
Also, Gcc map is available in higher zoom levels. It is not visible for lower zoom levels.