[mapserver-users] MINSCALEDENOM did not work?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Sep 21 03:49:21 PDT 2009


Hi,

Try to get something written into Mapserver log. Add something like
CONFIG "MS_ERRORFILE" "d:/program files/ms4w/tmp/ms_error.txt"

into MAP object, and DEGUG 5 into LAYER.

It might be easier to understand what happens by using something else than Openlayers application as a client first. Shp2img or browser and &mode=map are simple to keep under control, as well as sending WMS request directly from browser or through some WMS client like OpenJUMP or QGIs.

-Jukka Rahkonen-


> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Alphatran
> Lähetetty: 21. syyskuuta 2009 13:37
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: Re: [mapserver-users] MINSCALEDENOM did not work?
> 
> 
> 
> 
> Rahkonen Jukka wrote:
> > 
> > Hi,
> >  
> > Minscaledenom does work for me as supposed.  If I set it to value 
> > 1:10000 I can see the layer in scale 1:11000 because scale 
> demoninator 
> > is bigger than my limit.  In scale 1:9000 it does not show. 
>  But I see 
> > that you have understood correctly that because map scale is a 
> > division, big number under the line means small scale.
> >  
> > MINSCALEDENOM is used just as you have done, by adding a line into 
> > LAYER definitions. I have no idea why it would not work.
> >  
> > -Jukka Rahkonen-
> >  
> > 
> 
> 
> Dear Rahkonen,
> 
> I understand now. But I cannot make it's working. I set 
> MINSCALEDENOM 6319 (this is scaledenom of level 8) but it 
> make the tile is empty with grey color for all levels . 
> Remove it away, the layer is working normal.
> 
> Have you experienced on this?
> --
> View this message in context: 
> http://n2.nabble.com/MINSCALEDENOM-did-not-work-tp3637534p3684387.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> 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