Point Layer
Jandost Khoso
interfacemirror at GMAIL.COM
Thu Feb 22 23:38:26 PST 2007
I am facing a problem with Map server and i believe it is about a mistake i
am doing in Map File. i will be thankful if you help me to sort that error
out.
I have made a new layer which contains a lot of POI. the problem is that
whenever i zoom in more than 22.2 with units in meter that layer becomes
disappeard. i want to know how may i keep that layer visible for next zoom
ins ?!
Following is map file that i am using right now.
MAP
NAME "Zone Samples"
STATUS ON
EXTENT 51.58137 22.64441 56.37089 26.04807
SIZE 600 600
SHAPEPATH "D:\HostedWebsites\TutorialMapServerSolution\data\MapServer"
FONTSET "D:\HostedWebsites\TutorialMapServerSolution\data\fonts\fonts.list"
UNITS METERS
WEB
IMAGEPATH "C:\Inetpub\wwwroot\temp"
IMAGEURL "C:\Inetpub\wwwroot\temp"
END
SYMBOL
NAME "square"
TYPE ELLIPSE
FILLED TRUE
ANTIALIAS FALSE
POINTS
1 1 1 1 1 1
END
END
LAYER
NAME "POINT"
STATUS ON
DATA "Point1"
TYPE Point
CLASSITEM "LAYER"
LABELITEM "NAME"
MAXFEATURES 500
TRANSFORM TRUE
CLASS
TEXT ([NAME])
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 7
POSITION AUTO
ANGLE AUTO
#MINFEATURESIZE AUTO
COLOR 255 0 0
ANTIALIAS TRUE
PARTIALS TRUE
FORCE TRUE
#WRAP " "
END
STYLE
SYMBOL "square"
COLOR 255 0 255
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 255 0 0
ANTIALIAS TRUE
END
END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070222/84e94c5f/attachment.htm>
More information about the MapServer-users
mailing list