[mapserver-users] Problem with CLASS display
RODIER BATISSE, ALEXANDRE
alexandre.rodier at carm.es
Wed Jan 28 03:46:10 PST 2009
Hi everyone,
I have a problem with CLASS object to display diferent value depending to the minscale.
I would to display a classitem field until 1:200.000 scale.
For it I set (first case):
CLASSITEM "OBSERVACI"
LABELITEM "OBSERVACI"
CLASS
minscaledenom 200000
NAME "PORN aprobado definitivamente"
EXPRESSION "PORN aprobado definitivamente"
COLOR 125 210 84
OUTLINECOLOR 110 110 110
END #Class
CLASS
minscaledenom 200000
NAME "PORN sometido a información pública"
EXPRESSION "PORN sometido a información pública"
COLOR 125 210 150
OUTLINECOLOR 110 110 110
END #Class
CLASS
minscaledenom 200000
NAME "PORN aprobado inicialmente"
EXPRESSION "PORN aprobado inicialmente"
COLOR 125 210 84
OUTLINECOLOR 110 110 110
END #Class
And I would to display another classitem with scale less than 1:200.000
For it I set (second case):
CLASSITEM "Zonas"
LABELITEM "Zonas"
CLASS
maxscaledenom 200000
NAME "Zona de conservación prioritaria"
EXPRESSION "Zona de conservación prioritaria"
COLOR 2 220 0
OUTLINECOLOR 110 110 110
END # Class
CLASS
maxscaledenom 200000
NAME "Zona de conservación compatible"
EXPRESSION "Zona de conservación compatible"
COLOR 166 255 165
OUTLINECOLOR 110 110 110
END # Class
...
Problems arise with I set the scale upper than 1:200.000 (first case). Mapserver doesn't display map. I can see map image when I down above 1:200000 scale (second case).
If I set first case with an unique class, it works fine, and I can display good image.
Someone kowns where is the problem.
Thanks.
---------------------------------------------
Alexandre Rodier
Asistencia Técnica del SIGA
Servicio de Información e Integración Ambiental
Dirección General de Patrimonio Natural y Biodiversidad
Consejería de Agricultura y Agua.
c/ Arquitecto Emilio Piñero, 1 Entresuelo C
30.007 Murcia
Tel. 968246272
Correo-e: alexandre.rodier at carm.es <mailto:alexandre.rodier at carm.es>
http://www.carm.es/medioambiente <http://www.carm.es/medioambiente>
---------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090128/13b61c96/attachment.htm>
More information about the MapServer-users
mailing list