I have a problem with ZoomOut/ phpMapscript MAXSCALE

mhungc mhungc at GMAIL.COM
Tue Oct 16 14:41:30 EDT 2007


Hi,

I have a problem with zoomout using phpMpscript.

When i make a zoomout after make a zoomin, it show more far than the
beginning.

Since I do in order that this does not happen?

I defined the mapfile like this:

MAP
    NAME "STANDARD"
    STATUS ON
    EXTENT -73.512776 0.635665 -59.577208 12.207839 
   
    IMAGECOLOR 255 255 255
    IMAGETYPE png 
    SHAPEPATH ...."
    UNITS meters
    SYMBOLSET ...."
    FONTSET ...."

#PROJECTION
#    "proj=longlat"
#    "ellps=WGS84" 
#    "datum=WGS84"
#END

#####################################################################
# Objeto Web
#####################################################################

WEB
    IMAGEPATH ...."
    IMAGEURL ...."
    LOG ..."
   
 MINSCALE 0.02
  MAXSCALE 59.9689773803  

END


however, that not respect the MAXSCALE only if i make the zoomout when it
start, when i make another function and after execute zoomout it not happen.

And another question is:  how mapserver calculate the scale? Because for
this problem i supposed that the map extend have a relation with the scale.
-- 
View this message in context: http://www.nabble.com/I-have-a-problem-with-ZoomOut--phpMapscript-MAXSCALE-tf4635970.html#a13239711
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list