Scaling Max Min problem

Floyd warjac_warjac at HOTMAIL.COM
Mon Oct 18 05:48:58 PDT 2004


Hello List
I'am having problems, with the zooming function of my wms server(mapserver).
The mapfile below shows the current parameter and values which have been  used.

Problem: When zooming using the wms client of mapinfo the define value of
Min 8 Km and Max 20 Km are not correct.

Question : Are the UNITS = Meters as defined within the given mapfile correct?

NAME "Stuttgart"
SIZE 600 600
STATUS ON
EXTENT 470272.59 5371627.91 554886.94 5427997.07

UNITS METERS
#IMAGECOLOR 255 255 255
#IMAGETYPE png
SYMBOLSET "/var/www/mapserver/config/symbols.sym"
FONTSET "/var/www/mapserver/config/fonts.txt"
SHAPEPATH "/var/www/mapserver/maps/stuttgart/maps"

WEB
   IMAGEPATH "/var/www/mapserver/tmp/"
   #IMAGEURL "/mapserver/tmp/"

   METADATA
      "wms_title" "Stuttgart WMS"
      "wms_onlineresource"

"http://192.168.1.1/cgi-bin/mapserv?map=/var/www/mapserver/maps/stuttgart/mapfile/stuttgart.map&"
   END #END OF METADATA
END # END OF WEB

PROJECTION
   "init=epsg:32632"
END # END OF PROJECTION

LAYER
   NAME "Topographische Karte 1:25.000"
   STATUS on
   TILEINDEX "tk25/tk25.shp"
   TYPE RASTER
   MINSCALE 8000
   MAXSCALE 20000
METADATA
"wms_title" "Topographische Karte 1:25.000"
"wms_onlineresource"
"http://192.168.1.1/cgi-bin/mapserv?map=/var/www/mapserver/maps/stuttgart/maps/tk25/tk25.shp&"
END # END OF LAYER
END # END OF METADATA
END # END OF MAPFILE



More information about the MapServer-users mailing list