Opened 6 years ago

Last modified 6 years ago

#4801 new defect

render_list ignoring current tiles with --all parameter

Reported by: openstreetmap@… Owned by: tile-serving@…
Priority: major Milestone:
Component: mod_tile Version:
Keywords: render_list prerender force all patch Cc:

Description

When using the --all parameter, render_list will always render every tile. When not using the --all parameter, it will check if there is already a current tile, and will only render such tile again with the --force parameter.

I want to use --all to prerender tiles, but I also want the option to kill the render_list process and continue later. For this, I need --all without implicit --force. Furthermore, the implicit --force is counterintuitive.

I have created and attached a .patch for this.

Attachments (1)

render_list.patch (2.4 KB) - added by openstreetmap@… 6 years ago.
Patch to remove implicit --force parameter when using --all parameter

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by openstreetmap@…

Attachment: render_list.patch added

Patch to remove implicit --force parameter when using --all parameter

comment:1 Changed 6 years ago by sanosuke001@…

What is the status of this ticket? Has the patch been applied? I tried applying it to the render_list.c file from the mod_tile git repository but received errors. (installing mod_tile as per instructions at: http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/)

I need to run a server and am trying to pre-render zoom 0-15 but I also need to reboot the VM periodically and render_list keeps trying to re-render tiles it's already done; I'd like it to only render missing tiles in the given zoom range.

Thanks for the great work, guys. It's definitely appreciated.

The output of patch attempt:

~/src/mod_tile/src$ patch render_list.c /media/sf_raid/render_list.patch patching file render_list.c Hunk #1 FAILED at 311. Hunk #2 FAILED at 487. Hunk #3 FAILED at 517. 3 out of 3 hunks FAILED -- saving rejects to file render_list.c.rej

comment:2 Changed 6 years ago by pnorman

Component: mapnikmod_tile
Owner: changed from mapnik-team@… to tile-serving@…
Note: See TracTickets for help on using tickets.