More than one symbol for one point

Javier Castillejo Montes jcastil1 at TRAGSA.ES
Wed Dec 15 03:31:47 EST 2004


Hi Holger, 

Hi all,

If I understood properly

LAYER #Cities
                NAME            CitiesAndAirports
                STATUS      default
                TYPE        POINT
                GROUP           Legend
                DATA            Cities
        	
                template "XXX.html"     
                TRANSPARENCY 50
                CLASS
                        COLOR 100 100 100
                        OUTLINECOLOR 0 0 0
                        TRANSPARENCY
                END
END
LAYER #Cities
                NAME            CitiesAndAirports
                STATUS      default
                TYPE        POINT
                GROUP           Legend
                DATA            Cities
        	
                template "XXX.html"     
                TRANSPARENCY 50
                CLASSITEM   "HasAirport"
                CLASS
                        EXPRESSION "YES"
                        STYLE
                                symbol 'Airport' #Assuming you have an airport symbol
                                color -1 -1 -1
                                OUTLINECOLOR 0 0 0
                                SIZE XXX
                        END	
                END

This is working for me.

Regards,

Javier



-----Mensaje original-----
De: Holger Floerke [mailto:floerke at DOCTRONIC.DE]
Enviado el: miércoles, 15 de diciembre de 2004 8:42
Para: MAPSERVER-USERS at LISTS.UMN.EDU
Asunto: [UMN_MAPSERVER-USERS] More than one symbol for one point


Is it possible to draw more than one symbol (dependent on some data fields)
for one point of a point layer? For example drawing cities with a circle,
but if the city has an airport (data value "[airport]=1"), then draw an
additional airport symbol near the city without having another airport layer.

Thanks in advance,

HolgeR



More information about the mapserver-users mailing list