[maplab-users] Newbie question...

Athanasis Nikolaos athanasis at geo.aegean.gr
Sun Jul 23 08:35:49 EDT 2006


 
Hello all,
 
I just installed ms4w in a WinXP environment, and followed the tutorial given in order to build a map.
 
Please see my map on-line: http://195.251.137.181/maplab_projects/gmf_apps/xartis_lesvos/xartis_lesvos.phtml
 
Unfortunately, a "zoom/in -  zoom-out" problem appears. You can check this out: Every time you zoom in an area of the map, the map zooms out....
 
What could be the problem?
Is it something that has to do with the extent?
 
I give you the raw map fie, and I would very much appreciate it if you could help me, in my first steps in the GIS map development!
 
P.S All I have installed is just the ms4w package,  and tried to construct the map file with the help of mapedit....
 
 
 
      MAP
  NAME "xartis_nikos5"
  STATUS ON
  EXTENT 398151 4310734.625 466700 4362146.375 
  SIZE 800 600 
  SHAPEPATH "C:/ms4w/apps/maplab-2.2.1/tutorial/data/output_kostas"
  SYMBOLSET "C:/ms4w/apps/maplab-2.2.1/tutorial/etc/symbols.sym"
  FONTSET "C:/ms4w/apps/maplab-2.2.1/tutorial/etc/fonts.txt"
  IMAGETYPE png
  IMAGECOLOR 255 255 255
  UNITS METERS
  WEB
    MINSCALE 2e+006
    MAXSCALE 5e+007
    IMAGEPATH "C:/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
    METADATA
    END
  END
  REFERENCE
    STATUS ON
    IMAGE "images/keymap.png"
    SIZE 100 75 
    EXTENT -2.2e+006 -712631 3.0728e+006 3.84e+006 
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 0
    MINBOXSIZE 3
    MAXBOXSIZE 0
    MARKER 0
    MARKERSIZE 0
  END
  QUERYMAP
    STATUS OFF
    SIZE -1 -1 
    COLOR 255 0 0
    STYLE HILITE
  END
  LEGEND
    STATUS ON
    IMAGECOLOR 255 255 255
    POSITION LL
    KEYSIZE 18 12 
    KEYSPACING 5 5 
    TEMPLATE "C:/ms4w/apps/maplab-2.2.1/htdocs/mapbrowser/legend_template.html"
    LABEL
      TYPE BITMAP
      SIZE MEDIUM
      OFFSET 0 0 
      BUFFER 0
      MINDISTANCE -1
      MINFEATURESIZE -1
      COLOR 0 0 89
      PARTIALS TRUE
      FORCE FALSE
    END
  END
  SCALEBAR
    STATUS ON
    COLOR 255 255 255
    OUTLINECOLOR 0 0 0
    BACKGROUNDCOLOR 0 0 0
    IMAGECOLOR 255 255 255
    UNITS KILOMETERS
    INTERVALS 5
    SIZE 150 5 
    STYLE 0
    POSITION LL
    LABEL
      TYPE BITMAP
      SIZE SMALL
      OFFSET 0 0 
      BUFFER 0
      MINDISTANCE -1
      MINFEATURESIZE -1
      COLOR 0 0 0
      PARTIALS TRUE
      FORCE FALSE
    END
  END
  OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "GD/PNG"
    EXTENSION "png"
    IMAGEMODE PC256
    TRANSPARENT FALSE
  END
  LAYER
    NAME "akto_lesvos"
    STATUS ON
    DATA "akto"
    TYPE POLYGON
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCEUNITS PIXELS
    METADATA
    END
    CLASS
      NAME "aktogrammi"
    END
  END
END

 
 
 
Athanasis Nikolaos
Postgraduate Student
University of the Aegean
Department of Geography
University Hill
81100 Mytilene, GREECE
 
TEL  +30-22510-36437
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20060723/d551a78f/attachment.html


More information about the Maplab-users mailing list