HTML legend not created in mapserver 4.6.1
Vito Meuli
vito.meuli at TECNOLOGIEAVANZATE.IT
Fri Jan 13 02:00:02 PST 2006
Hi Ken,
this is an interesting piece of information added to my understanding of the
problem.
I have no cartoline symbol, but I have lots of layers that draws outlines of
polygons!
I've tryed leaving out ALL my ANTIALIAS TRUE from my mapfile, but the problem
remains.
I can let the legend come back only removing layers one after the other. At a
certain point, the legend comes back.
But if I put in again the last layer removed, I can let the legend come back
removing a class after the other.
The classes are all similar to this one:
CLASS
NAME "Edilizia esistente"
EXPRESSION "B"
STYLE
#symbol 0
COLOR 224 166 166
OUTLINECOLOR 0 0 0
END
END # CLASS
The layer that actually triggers the problem on (having removed a lot of other
ones) is the following:
LAYER # layer delle subaree del PRG - urb primaria
NAME "urb_prg_subaree"
METADATA
cliccabile "SI"
visibilita "da 1:25.000"
END
DATA "the_geom from prg_subcomp"
GROUP "Piano di Fabbricazione"
TYPE POLYGON
STATUS DEFAULT
CONNECTIONTYPE postgis
CONNECTION "user=sanpancrazio password=sanpancrazi0
dbname=sanpancrazio host=localhost port=5432"
PROJECTION
"proj=tmerc"
"lon_0=15" # longitudine dell"origine
"x_0=2520000" # falsa x
"k=0.9996" # fattore di riduzione di
scala
"ellps=intl" # espressione dell"ellissoide
terrestre
END
CLASSITEM sottozona
CLASS
NAME "Strada di P.R.G."
EXPRESSION "_S"
STYLE
#symbol 0
COLOR 240 240 240
OUTLINECOLOR 0 0 0
END
END # CLASS
CLASS
NAME "Centro Storico"
EXPRESSION "A1"
STYLE
#symbol 0
COLOR 200 200 200
OUTLINECOLOR 0 0 0
END
END # CLASS
CLASS
NAME "Edilizia esistente"
EXPRESSION "B"
STYLE
#symbol 0
COLOR 224 166 166
OUTLINECOLOR 0 0 0
END
END # CLASS
END
However my colleague says the problem seems to come out randomly when he adds
layers to a mapfile.
I really can't understand what triggers the problem on, so I can only try to
come back to Mapserver 4.4.2 and hope...
Should I add this email to Bugzilla? How does it work?
Thanks a lot for the help.
Cheers,
Vito
Alle 18:30, giovedì 12 gennaio 2006, Ken Lord ha scritto:
> Hi Vito,
>
> I updated bug #1370 recently with my observations on how using
> ANTIALIAS TRUE makes the HTML legend fail consistantly for me ....
> within a STYLE that draws the outlines of polygons in a polygon layer,
> using a cartoline symbol.
>
> ... Otherwise I can only suggest downgrading to MapServer 4.4.2
>
> Cheers,
> Ken Lord
> Vancouver BC
>
More information about the MapServer-users
mailing list