[MapProxy] Limit a cache to a polygon
Oliver Tonnhofer
olt at omniscale.de
Wed Feb 20 04:33:56 PST 2013
On 20.02.2013, at 10:11, gdis at arcor.de wrote:
> I have more than 4 zoom levels but for testing purposes i only tried these 4 levels.
> [...]
> Of course zoom level 0 contains the whole data and not only the data within the polygon because the level consists of only one tile. But when seeding zoom level 13 I would expect that only tiles touching the polygon are being created. But it seems that mapproxy is always requesting tiles for the whole bounds (there are tons of empty tiles although the polygon is completely inside the bounding box).
MapProxy requests meta-tiles and as soon as a tile touches the coverage, it will create all tiles of that meta-tile. So you will get a few empty tiles at the border of your coverage (if your source doesn't return data outside of the coverage).
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
http://mapproxy.org | https://github.com/olt | @oltonn
More information about the MapProxy
mailing list