[Chameleon] Strange layer behavior
Jano Ferencik
ferencik.ioan at personal.ro
Thu Jun 2 07:36:49 EDT 2005
Dear all,
i have folowing problems with one of my layers...............when i check it in
legend it draw itself..everything is ok....but when i zoom in on a scale larger
than 1:100000 it is active in legend but i cannot se it anymore in map...whe I
zoom out to a smaller scale 1:120000 I se the layer again.....I couldn't figure
out what is happenning
This is my map file:
MAP
NAME "rosia"
STATUS ON
SHAPEPATH "../date"
SIZE 450 375
#IMAGETYPE PNG24
IMAGECOLOR 255 255 255
EXTENT 319780 522564 428000 575568
PROJECTION
"init=epsg:31700"
END
FONTSET "../etc/fonts.list"
SYMBOLSET "../etc/simbol.sym"
REFERENCE
EXTENT 322780 522564 416000 575568
IMAGE "../date/raster/dem.png"
SIZE 100 100
STATUS ON
COLOR -1 -1 -1
END
LAYER
NAME "DEM"
DATA 'raster/dembun.jpg'
TYPE RASTER
PROJECTION
"init=epsg:31700"
END
STATUS DEFAULT
GROUP "Base layers"
END
LAYER
NAME "Places"
DATA asezari
TYPE POLYGON
TEMPLATE "test.html"
#MAXSCALE 100000
GROUP "Base layers"
LABELITEM "DENUMIRE"
PROJECTION
"init=epsg:31700"
END
STATUS ON
CLASS
COLOR 0 0 0
LABEL
ANGLE 0
BUFFER 5
COLOR 255 255 255
FONT "verdana"
TYPE TRUETYPE
SIZE 6
OFFSET 5 5
END
END
METADATA
"DESCRIPTION" "Places"
END
END
LAYER
NAME "Rivers"
DATA retea
TYPE LINE
TEMPLATE "dummy.html"
MAXSCALE 100000
GROUP "Base layers"
LABELITEM "DENUMIRE"
PROJECTION
"init=epsg:31700"
END
STATUS ON
CLASS
COLOR 35 57 214
STYLE
SIZE 50
SYMBOL "line1"
END
LABEL
ANGLE AUTO
BUFFER 10
COLOR 35 57 214
FONT "times-italic"
TYPE TRUETYPE
SIZE 8
OFFSET 5 5
END
END
METADATA
"DESCRIPTION" "Rivers"
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Aries River"
DATA aries
TEMPLATE "dummy.html"
GROUP "Base layers"
TYPE LINE
PROJECTION
"init=epsg:31700"
END
STATUS ON
CLASS
COLOR 35 57 214
#NAME "Aries"
STYLE
SIZE 50
SYMBOL "line1"
END
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Channel sediment 2002"
DATA xyfluvio02channelsediment
TEMPLATE "dummy.html"
GROUP "Year 2002"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 233 0 0 #rosu
SYMBOL "star"
SIZE 14
END
JOIN
TO "SITE"
NAME "test"
FROM "SITE"
TABLE "/ms4w/apps/mapserver/date/testoin.dbf"
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "River Water 2002"
DATA xyfluvio02riverwater
TEMPLATE "dummy.html"
GROUP "Year 2002"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 32 79 140 #albastru
SYMBOL "star"
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Channel sediment 2003"
DATA xyfluvio03channelsediment
TEMPLATE "dummy.html"
GROUP "Year 2003"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 233 0 0 #rosu
SYMBOL "triangle"
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Mine waste 2003"
TEMPLATE "dummy.html"
DATA xyfluvio03minewaste
GROUP "Year 2003"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 32 79 140 #albastru
SYMBOL "tent"
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Channel sediment 2004"
DATA xyfluvio04channelsediment
TEMPLATE "dummy.html"
GROUP "Year 2004"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 32 79 140 #albastru
SYMBOL "square"
SIZE 8
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Catchment 2004"
DATA xyfluvio04catchment
TEMPLATE "dummy.html"
GROUP "Year 2004"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 32 79 140 #albastru
SYMBOL "plus"
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
TEMPLATE "dummy.html"
NAME "River water 2004"
DATA xyfluvio04riverwater
GROUP "Year 2004"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 95 224 39 #verde
SYMBOL "circle"
EXPRESSION ([CD_114]> 0)
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
LAYER
NAME "Mine waste 2004"
DATA xyfluvio04minewaste
TEMPLATE "dummy.html"
GROUP "Year 2004"
TYPE POINT
PROJECTION
"init=epsg:31700"
END
STATUS OFF
CLASS
COLOR 233 0 0 #rosu
SYMBOL "star"
SIZE 10
END
TOLERANCEUNITS PIXELS
TOLERANCE 5
END
SCALEBAR
COLOR -1 -1 -1
SIZE 100 3
STYLE 0
STATUS ON
IMAGECOLOR 255 255 255
INTERVALS 4
UNITS KILOMETERS
END
LEGEND
IMAGECOLOR 255 255 255
OUTLINECOLOR 0 0 0
KEYSIZE 15 15
STATUS ON
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
TEMPLATE "legend.html"
END
WEB
TEMPLATE "rosia.html"
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
OUTPUTFORMAT
NAME png24
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
END
END
Thanks in advance.
___________________________
Cv-ul tau ia 500 euro/luna!
http://500.myjob.ro
More information about the Chameleon
mailing list