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

2017-01-24 Thread Rahkonen Jukka (MML)
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 
<abrabaca...@openmailbox.org<mailto:abrabaca...@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@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

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

2017-01-23 Thread thomas bonfort
On Tue, Jan 24, 2017 at 5:42 AM Abrabacabra 
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@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

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

2017-01-23 Thread Abrabacabra

Hello,

I am facing a problem and I don't understand how to solve it.

I am trying to pre-seed tiles with Mapcache. The source is a WMS Tile 
Index layer from Mapserver. This layer is rendering correctly with the 
WMS service. I must say, this is a Tile Index of 20cm imagery (~200 mb 
TIFFs each) and it's covering a large area. I have about 1 TB of them 
and everything is included in the tile index layer.


I am running Mapcache and Mapserver (from ms4w) on a Windows Server 2012 
machine and Apache web server.


I can seed a single TIFF (WMS layer too) without problem. But it fails 
for the tile index





Could that be related to Mapserver choking on the huge tile index?






___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users