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

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

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

(18 Aug '16, 08:35) Gagan
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



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:


question asked: 16 Aug '16, 08:04

question was seen: 1,306 times

last updated: 18 Aug '16, 08:35

powered by OSQA