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

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%20Maner's gravatar image

Reshma Maner
235303136
accept rate: 0%

1

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?

(22 Jan '16, 10:37) Frederik Ramm ♦
2

sudo -u www-data osm2pgsql -C 2048 --slim --number-processes 4 gcc-states-latest.osm.pbf --cache-strategy sparse

(22 Jan '16, 10:52) Reshma Maner
2

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?

(22 Jan '16, 16:33) Frederik Ramm ♦

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?

(22 Jan '16, 16:39) SomeoneElse ♦

Hi,

I executed following commands in given sequence.

  1. Map server was setup and India and Gcc states data was imported. Both the maps were visible. 2.Then for importing latest India map data, following command was executed. After this command, latest India map was visible but Gcc states map was not visible.

sudo -u www-data osm2pgsql -C 2048 --slim --number-processes 4 India-latest.osm.pbf --cache-strategy sparse

  1. For Gcc states, following command was executed. But it did not change anything. India map is still visible and Gcc states are still not visible.

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.

(27 Jan '16, 06:41) Reshma Maner
Be the first one to answer this question!
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:

×2

question asked: 22 Jan '16, 10:20

question was seen: 2,160 times

last updated: 27 Jan '16, 06:50

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