[MapProxy] Seeding using shape files

Oliver Tonnhofer olt at omniscale.de
Wed Sep 9 04:27:04 PDT 2015


Hi,

your configuration should work.
Printing the coverage in the summary would not be helpful, so it just shows you the bbox of the coverage.

Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com




> On 08.09.2015, at 17:15, Natalia Busto Jimenez <natalia.busto at geograma.com> wrote:
> 
> 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)
>  
> <image013.jpg>
>  
> 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.
>  
> <image014.jpg>
>  
> I have tested two different configurations but I have obtained the same results.
>  
>  
> ·         Configuration 1
>  
> <image005.png>
>  
> In this case I use a restricted shapefile with only two polygons.
>  
> <image015.jpg>
>  
> 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.
>  
> <image016.jpg>
>  
>  
>  
> ·         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.
>  
> <image010.png>
>  
> However the summary result is the same:
>  
> <image017.jpg>
>  
>  
> Is there any configuration that allows caching only the area covered by the polygons? 
>  
> Thanks in advance.
>  
> Regards
>  
> Natalia
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list