[Mapserver-users] Map Server 3 to MapServer 4
eric.berne at innetis.com
eric.berne at innetis.com
Wed Mar 3 07:35:34 PST 2004
Hi.
All new to MapServer, i had to install a working application (MapServer 3)
on a new server running MapServer 4.
A few hedakes later, everything works fine.
Except for one thing:
I have several CLASS objects in my .map file
Each of them has a TEMPLATE section with a template query HTML file.
But when the users click on the map, the same query occurs ever and ever,
wherever they have clicked.
I may have missed a syntax update as i did with the STYLE attribute, but i
can't find any help on this.
Here is an extract of my .map file: The "colonias_query.html" is the file
that always shows up.
LAYER
NAME Colonias
TYPE Polygon
DATA Colonias
STATUS DEFAULT
TRANSPARENCY 0
HEADER "colonias_header.html"
FOOTER "colonias_footer.html"
LABELITEM "COLONIA"
LABELMAXSCALE 12000
CLASS
NAME "COLONIAS seleccion"
TEMPLATE "colonias_query.html"
#COLOR 255 255 255
OUTLINECOLOR 0 0 255
SIZE 10
NAME "Colonias"
LABEL
COLOR 255 0 0
SHADOWCOLOR 220 220 220
SHADOWSIZE 1 1
TYPE TRUETYPE
FONT fritqat-bold
MAXSIZE 14
MINSIZE 8
ANTIALIAS TRUE
POSITION LL
PARTIALS FALSE
MINDISTANCE 50
END
END
END # Layer
LAYER
NAME Rutas
DATA RutasPap
TYPE line
STATUS off
HEADER "rutas_header.html"
FOOTER "rutas_footer.html"
CLASSITEM "TIPORUTA"
CLASS
NAME "RECOLECCION"
EXPRESSION "RECOLECCION"
TEMPLATE "rutas_query.html"
SYMBOL 'Circle'
Size 5
COLOR 0 255 0
END
CLASS
NAME "LAVADO"
EXPRESSION "LAVADO"
TEMPLATE "rutas_query.html"
SYMBOL 'Circle'
Size 5
COLOR 255 255 0
END
END
Thanks in advance
Eric
More information about the MapServer-users
mailing list