Hi

I have a problem when I zoom in my shapefile disappear , here is my mapfile

################################################################################################

# Adapt settings in map file <tt>pmapper_demo.map</tt> for the following
tags to match settings
# on your machine (see additionally MapServer documentation for detailed
information):
#
#  MAP
#    SHAPEPATH
#    FONTSET
#    SYMBOLSET
#
#  WEB
#    IMAGEPATH
#    IMAGEURL
#
##################################################################################################

#
# Start of map file
#
MAP
EXTENT  21.595545 -34.389731 30.427469 -29.883772

UNITS dd
#EXTENT -15 30 40 70
#UNITS dd
SIZE 600 500
SHAPEPATH "../../../pmapper_demodata"
SYMBOLSET "../common/symbols/symbols-pmapper.sym"
FONTSET "../common/fonts/msfontset.txt"
RESOLUTION 96
IMAGETYPE png
INTERLACE OFF
#CONFIG "PROJ_LIB" "C:/proj/nad/"
PROJECTION
  #"init=epsg:4148"
    "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  no_defs"


END



#
# Start of web interface definition
#
WEB
  TEMPLATE "map.html"
  IMAGEPATH "/ms4w/tmp/ms_tmp/"
  IMAGEURL "/ms_tmp/"
  METADATA
    #"MAPFILE_ENCODING" "ISO-8859-1"
    #"ows_title"     "WMS Demo Server"
    #"ows_onlineresource" "http://wms.yourserver.org?owskey=test&";
    #"ows_srs"       "EPSG:4148"
  END  # Metadata
END  # Web

#
# Start of Reference map definition
#
REFERENCE
  EXTENT 29.000000 -35.000000 30.000000 -30.000000
  IMAGE "../../images/reference.png"
  SIZE 199 149
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
END  # Reference


#
# Start of legend object
#
LEGEND
    STATUS OFF
    IMAGECOLOR 255 255 255
#    OUTLINECOLOR 0 0 0
    POSITION ll
    KEYSIZE 18 12
    KEYSPACING 10 5
    TEMPLATE "void"
    LABEL
        TYPE TRUETYPE
        FONT "FreeSans"
        SIZE small
        POSITION AUTO
        COLOR 0 0 89
        OUTLINECOLOR 255 255 255
        ANTIALIAS TRUE
    END
END

#
# Start of ScaleBar definition
#
SCALEBAR
  STATUS off
  TRANSPARENT off
  INTERVALS 4
  SIZE 200 3
  UNITS kilometers
  COLOR 250 250 250
  OUTLINECOLOR 0 0 0
  BACKGROUNDCOLOR 100 100 100
  STYLE 0
  POSTLABELCACHE true
  LABEL
    COLOR 0 0 90
    #OUTLINECOLOR 200 200 200
    SIZE small
  END  # Label
END  # Reference



# SYMBOLS USED IN PMAPPER
# - 'circle' always necessary (used e.g. for highlight)
# - 'square' used in currecnt map file
# Symbols can also be defined via tag SYMBOLSET (see above)
Symbol
  Name 'circle'
  Type ELLIPSE
  Filled TRUE
  Points
    1 1
  END
END

Symbol
  Name 'square'
  Type VECTOR
  Filled TRUE
  Points
    0 1
    0 0
    1 0
    1 1
    0 1
  END
END


#================== START OF LAYER SECTION =====================#



#
# Start of Layer Countries.shp
#
LAYER
  NAME "countries"
  TYPE polygon
  DATA "countries"
  TRANSPARENCY 100
  TEMPLATE void
  PROJECTION
    #"init=epsg:4148"
    "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  no_defs"
  END

  CLASS
    Name 'Countries'
    COLOR 200 254 199
    OUTLINECOLOR 0 0 0
  END  # Class
END  # Layer






END  #Map

-- 
Best Regards

Solly Vuso
Cell:073 3068 170
Fax:086 555 1270

I may not know what tomorrow holds for me but I do know who holds ma
tomorrow.....
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to