[Tile-serving] [openstreetmap/osm2pgsql] Rewrite tile expiry (management of expired tiles) (#709)
Michael Reichert
notifications at github.com
Wed Feb 14 12:29:25 UTC 2018
@pnorman wrote:
> This this mean that the current algorithm expires something like the blue box and the new one would do something the green box, assuming the black/pink shape is a new polygon?
Yes, that's almost correct. Here is an improved drawing of your example (it is difficult to distinguish the green and the blue line in the lower right corner). More details can be found in the comments in the [header](https://github.com/Nakaner/osm2pgsql/blob/tile-selection-rewrite/intersecting_tiles.hpp#L19) and source files.

> This would be a problem in many cases. For example, if the ref, network, or other properties used for rendering change, then the tiles containing the linestring of the relation would need to be dirtied.
Some map styles don't use route relations at all. I would add a command line option and let the users decide (good explanation and documentation is necessary of course).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/709#issuecomment-365593050
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180214/3926f531/attachment.html>
More information about the Tile-serving
mailing list