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

My expire.list file has only one line "15/26973/12408", when i use "cat /data/mod_map/expire.list | /root/src/mod_tile/render_expired -t /var/lib/mod_tile/osmcarto/ -z 10 -Z 18 -T=10" command to rederd the changed tiles, it shows no tile has been renderd. And the map did not shows the changes that i edited before. What should i do?

cat /data/mod_map/expire.list | /root/src/mod_tile/render_expired -t /var/lib/mod_tile/osmcarto/ -z 10 -Z 18 -T=10 Rendering client

debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile/osmcarto/

Total for all tiles rendered

Meta tiles rendered: Rendered 0 tiles in 0.00 seconds (0.00 tiles/s)

Total tiles rendered: Rendered 0 tiles in 0.00 seconds (0.00 tiles/s)

Total tiles in input: 1

Total tiles expanded from input: 9

Total meta tiles deleted: 0

Total meta tiles touched: 0

Total tiles ignored (not on disk): 9

I think the tile has been renderd before, because i have viewed it on the map. I wonder if the tile_dir parameter -t is right, as it has set five stylesheet and has five different directories to cache different stylesheet tiles. I have tried "-t /var/lib/mod_tile/osmcarto/" and "-t /var/lib/mod_tile" to run the command, but the result is same.

However, i made a test on another host which only set one stylesheet and only has a default directory under /var/lib/mod_tile directory, when i run the render_expired command with "-t /var/lib/mod_tile/default", the result is same, then i changed the render_expired command with "-t /var/lib/mod_tile", and it shows the different result as below.

cat expire.list | render_expired -t /var/lib/mod_tile -z 10 -Z 18 -d=10

Rendering client

debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile

debug: Deleting metatile from /var/lib/mod_tile/default/18/49/72/163/236/128.meta

debug: Deleting metatile from /var/lib/mod_tile/default/17/16/172/81/126/0.meta

debug: Deleting metatile from /var/lib/mod_tile/default/16/0/214/32/191/128.meta

debug: Deleting metatile from /var/lib/mod_tile/default/15/0/99/144/87/136.meta

Total for all tiles rendered

Meta tiles rendered: Rendered 0 tiles in 0.01 seconds (0.00 tiles/s)

Total tiles rendered: Rendered 0 tiles in 0.01 seconds (0.00 tiles/s)

Total tiles in input: 1

Total tiles expanded from input: 9

Total meta tiles deleted: 4

Total meta tiles touched: 0

Total tiles ignored (not on disk): 5

asked 03 Jan '17, 09:01

yuyy's gravatar image

yuyy
236222431
accept rate: 20%

edited 03 Jan '17, 14:06

Was that tile rendered before? My recollection is that "render_expired" won't re-rerender tiles that have never been rendered - that's what "Total tiles ignored (not on disk)" means. You could of course change it to "render tiles that don't exist", but that would need a code change; I don't believe that there is a parameter that you can use to tell it to do that.

(03 Jan '17, 13:01) SomeoneElse ♦

I think the tile has been renderd before, because i have viewed it on the map.

(03 Jan '17, 13:40) yuyy

The tile in question is http://tile.openstreetmap.org/15/26973/12408.png - if you replace tile.openstreetmap.org with your server name do you get a tile? If you do, then it is on disk and you'll need to investigate why render_expired thinks it isn't. Perhaps you're using a different map style?

(03 Jan '17, 14:06) SomeoneElse ♦

Yes, i can get a tile when i replace tile.openstreetmap.org with my server.

(03 Jan '17, 14:25) yuyy

It is my fault, i lost the -m parameter in the comand, when i run "cat /data/mod_map/expire.list | /root/src/mod_tile/render_expired -m osmcarto -z 10 -Z 18 -T=10", it works well.

permanent link

answered 04 Jan '17, 02:14

yuyy's gravatar image

yuyy
236222431
accept rate: 20%

Your answer
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:

×105
×80

question asked: 03 Jan '17, 09:01

question was seen: 3,508 times

last updated: 04 Jan '17, 02:14

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