[MapProxy] Seeding using shape files

Natalia Busto Jimenez natalia.busto at geograma.com
Tue Sep 8 08:15:21 PDT 2015


Hi all,

I have a doubt to seed a cache using shape files and I don't know if what I want to do is possible or not.

I explain myself...

I want to cache the flood areas of several countries using a shapefile which contains different polygons.
The shapefile to use would be similar to this. (Colors doesn't matter)

[cid:image013.jpg at 01D0EA59.F110BFA0]

In this case, in the example above, each polygon represent a possible flood area.
What I want to do is to cache only the "areas" of the WMS service which are covered by a polygon.

[cid:image014.jpg at 01D0EA59.F110BFA0]

I have tested two different configurations but I have obtained the same results.



*         Configuration 1



[cid:image005.png at 01D0EA59.9E7597C0]



In this case I use a restricted shapefile with only two polygons.



[cid:image015.jpg at 01D0EA59.F110BFA0]



However the summary of mapproxy-seed does not limited the area to cache to the two polygons. It cache all the bbox marked in red.



[cid:image016.jpg at 01D0EA59.F110BFA0]







*         Configuration 2


The configuration number two, is similar to the previous one, but in this case, I have created the coverage areas using a where clause, selecting a specific polygon.



[cid:image010.png at 01D0EA59.9E7597C0]


However the summary result is the same:

[cid:image017.jpg at 01D0EA59.F110BFA0]



Is there any configuration that allows caching only the area covered by the polygons?

Thanks in advance.

Regards

Natalia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 6955 bytes
Desc: image005.png
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 10974 bytes
Desc: image010.png
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image013.jpg
Type: image/jpeg
Size: 8848 bytes
Desc: image013.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image014.jpg
Type: image/jpeg
Size: 67911 bytes
Desc: image014.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015.jpg
Type: image/jpeg
Size: 8479 bytes
Desc: image015.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image016.jpg
Type: image/jpeg
Size: 9981 bytes
Desc: image016.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image017.jpg
Type: image/jpeg
Size: 10345 bytes
Desc: image017.jpg
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150908/2ccdd161/attachment-0009.jpg>


More information about the MapProxy mailing list