[Chameleon] Strange layer behavior
Jano Ferencik
ferencik.ioan at personal.ro
Mon Jun 6 04:38:32 EDT 2005
I posted this problem earlier, Edith did propose me a solution...unfortunately
it didn't work....so I am back in the problem....I have a few point payers in
my application...and one layer has strange behavior..meaning .whenI zoom in
more that 1:100000 the layer appear checked in the legend but i don't see the
point in my map..thoughh i tha sam area I have other point layers wich are
behaving normal.....i still cannot figure what ius happenning
that layer is "Mine waste 2004"
and 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
___________________________
Cv-ul tau ia 500 euro/luna!
http://500.myjob.ro
More information about the Chameleon
mailing list