[mapserver-users] Re: Scale changes to mapserver 6.1-dev

Andy Colson andy at squeakycode.net
Fri May 11 09:47:06 EDT 2012


The MAXSIZE map option may have gotten a new default.  It used to be 
2048, but lots of people have new super wide monitors and maps wont 
render on them.  I have had to add "MAXSIZE 4096" to all my mapfiles.

To return to the default, you might try adding: "MAXSIZE 2048" to the 
top of your mapfile.

-Andy


On 5/11/2012 8:07 AM, Peter Maes wrote:
> When I run the mapfile with shp2img i get proper results.
>
> So in all likelyhood it will have to do with mode gmaps. I'll give a try
> with wms in the mean while.
>
> It seems as if for some reason i get the entire map rendered, for every
> tile requested.
>
>
> 2012/5/11 Peter Maes <thxftw at gmail.com <mailto:thxftw at gmail.com>>
>
>     Hi,
>
>     Did something change in regards to the scales? I took an existing
>     mapfile config (that worked fine on mapserver 6.0) and ran that now
>     with 6.1-DEV.
>
>     However i get repeated messages stating:
>     msLayerIsVisible(): Skipping layer (L1) because LAYER.MAXSCALE is
>     too small for this MAP scale
>
>     When I remove the layer, the layer gets drawn, however it does not
>     match the scale of google maps.
>
>     In fact, at a zoomed in level, i see my layer draw 6 times next to
>     eachother (as you would have on google zoom 0-2).
>
>     Best regards.
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list