[mapserver-users] Can't seed tiles with Mapcache from a Mapserver Tile Index raster layer

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Jan 24 00:21:06 PST 2017


Hi


If I count right there are about 5000 images in the whole tileindex. I such case it is not enough to have overviews on individual images. At small scale Mapserver must open very many image files, up till all 5000 for getting the tile or metatile that covers the hole area.


I am using a group layer by using some other imagery like Landsat images with much bigger native pixel size for small scales. It is also possible to use Mapserver itself or GDAL for creating a dataset with fewer files and bigger pixels. I prepare our data so that Mapserver does not ever need to open more than about 100 images.


I think that if you were using MBTiles as cache you can use Mapcache for seeding just the best resolution level and add other resolutions with gdaladdo utility directly to the MBTiles database. With other cache types that is not possible and I think that Mapcache itself is missing the option to construct lower resolution tiles from the already existing better resolution tiles. For rendered maps that would be also a rather useless option but for imagery it could be useful.


-Jukka Rahkonen-




________________________________
thomas bonfort wrote:
  Re: [mapserver-users] Can't seed tiles with Mapcache from a Mapserver Tile Index raster layer



On Tue, Jan 24, 2017 at 5:42 AM Abrabacabra <abrabacabra at openmailbox.org<mailto:abrabacabra at openmailbox.org>> wrote:

Could that be related to Mapserver choking on the huge tile index?
Yes, definitely. Check that your rasters have overviews.

--
thomas






_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170124/fdfdce98/attachment-0001.html>


More information about the mapserver-users mailing list