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

osm2pgsql - expired tiles with tag name change

0

While inserting the *.osc file with osm2pgsql, I am using --expire-tiles option to output the expired tiles with --append mode. What I have observed if only tag name is changed or added then that tile is not in the expired tile list. Is it the correct observation or am I doing something wrong? Here is the command that I am using:

osm2pgsql --append --slim --cache 3000 --number-processes 3 --hstore --style ~/openstreetmap-carto/openstreetmap-carto.style update-within-india.osc --expire-tiles 8-17 --expire-output today_update_tiles.txt

How to overcome this issue, I want all the tiles where labels have changed or added.

asked 16 Aug '16, 08:04

Gagan's gravatar image

Gagan
3053515
accept rate: 14%

edited 16 Aug '16, 15:25

Could you supply us with the complete command line you are using?

(16 Aug '16, 10:43) SimonPoole ♦

No idea if it's related, but I did have to make a minor change to openstreetmap-tiles-update-expire to get tile expiry to work properly for me. See https://github.com/SomeoneElseOSM/mod_tile/commit/0e74c67a75f042faf99ac81a14f4a665f467f3d5#diff-c4481b5ad3192fd03c13bffec4a8c368 and search for "Previously openstreetmap-tiles-update-expire tried to dirty". Other changes in that commit (make it cronable, use Zverik's trim_osc.py) shouldn't be relevant.

(16 Aug '16, 10:49) SomeoneElse ♦

I added the full command, I am not using the mod_tiles.

(16 Aug '16, 15:28) Gagan
1

Is there any other tool to find out the expired tiles with respect to *.osc file?

(18 Aug '16, 08:35) Gagan