Hi Sebastiano,

Excuse me if I guess wrong, but do you mean that you have thousands or tens of 
thousands of images in the tileindex and you try to load the whole UK on the 
map? It means that Mapserver should open every image and pick a pixel or two 
from each of the thousands of files. It may work but it is not the right way to 
do it. The right way is to make a scale dependent layer group and use some 
other imagery with much bigger pixel size and much less files for small scales. 
Switch to full resolution images when it is enough to open about 20 files for 
filling up the screen. And make sure that your images are tiled and they have 
overviews.

Slides 1-18 about preparing rasters for Geoserver are also valid for Mapserver. 
https://www.slideshare.net/geosolutions/gs-steroids-sgiannecfoss4g20130103

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:[email protected]] 
Puolesta Jeff McKenna
Lähetetty: 23. lokakuuta 2018 21:16
Vastaanottaja: [email protected]
Aihe: Re: [mapserver-users] mapserver 6 mapcache 1.6 tileindex limit

Hi Sebastiano,

There shouldn't be any limit (there was a limit in pre-MapServer 5 versions, of 
a MAXLAYERS, but that was removed).

For testing I always use shp2img commandline utility on the mapfile, to get the 
exact error, with the switch:

    -map_debug 3

That should likely return an error for your problem index record like:

    Unable to access file.  \ms4w\apps\tileindex\ttt.tif

It might also be good to share your exact error here to everyone.  (if it is a 
lot of text, be sure to paste the link instead here, from https://pastebin.com/

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services https://gatewaygeomatics.com/

On 2018-10-23 10:52 AM, Sebastiano Laini wrote:
> Hi All,
> 
> Since I reimaged the server and installed CentOS 7 (previously was 
> centOS 6) , mapserver 6.2.1 and Mapcache 1.6 (previously was v.1) I 
> can’t make work my .MAP file that call inside the Raster tileindex of 
> the whole UK (created with GDAL).
> 
> The only way to make it works it to create a new index with less 
> images, and if I go over that limit mapserver doesn’t load the layer.
> 
> It’s a settings that I can change within mapserver or is related with 
> something else?
> 
> Sebastiano Laini
> 
> Web Developer
> 
> Buchanan Computing
> 
> 
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to