[MapProxy] How to generate blue tiles

Matt Walker walkermatt at longwayaround.org.uk
Sun Nov 2 07:09:36 PST 2014

Hi Milo,

If you are using a WMS as your source then you could set the BGCOLOR
parameter to a suitable blue and generate the sea tiles as part of your
initial seed process. Something like:

    type: wms
      url: http://localhost/cgi-bin/mapserv?map=/path/to/my.map
      layers: layer1
      bgcolor: '0x97b3ca'

If you are on Linux you might also want to consider using
link_single_color_images option for your cache to avoid storing duplicate
files (doc:




On 30 October 2014 22:28, Milo van der Linden <milo at dogodigi.net> wrote:

> Hello list,
> I am generating tiles according to a shapefile (red contour in image).
> When generation is finished, I extract subsets for the smaller boxes (black
> contour in image) for distribution to offline systems.
> The first run currently takes more then a week to process. And in the
> process, there is a lot of sea as can be seen. I need som advice:
> 1. Is it possible to generate blue tiles for the sea areas?
> 2. Do I need to do this in another run with for instance a mapserver that
> only returns blue tiles in a very fast way?
> 3. How can I make sure that the blue tiles are overwritten when there is
> data?
> Any tips welcome.
> Kind regards,
> Milo van der Linden
> [image: Inline afbeelding 1]
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy

Matt Walker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20141102/c93df235/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boxes_nl.gif
Type: image/gif
Size: 27310 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20141102/c93df235/attachment-0001.gif>

More information about the MapProxy mailing list