Re: [mapserver-users] [Expresion] Problem with expresion

2009-03-10 Thread Pietro Giannini

Hi David,
the EXPRESSION should be :
   EXPRESSION ("[LEGENDE]" = "NetCenter" OR "[LEGENDE]" = "POP 
LDCom")


ciao ...pg



David Martinez Morata ha scritto:

Hello

I define in my map file one layer like:

LAYER
NAME "POP Neuf Telecom"
TYPE POINT
DATA "ldnc_w84_05keu_sites_heberge.shp"
METADATA
"wms_title" "POP Neuf Telecom"
"wms_srs""EPSG:4326"
"wms_feature_info_mime_type""text/html"
"wms_include_items""all"
END
STATUS ON
MAXSCALE 100
#TRANSPARENCY 100
PROJECTION
"init=epsg:4326"
END
CLASSITEM "LEGENDE"
CLASS
NAME "POP Neuf Telecom"
EXPRESSION ("NetCenter" OR "POP LDCom")
   
STYLE

SYMBOL "CIRCLE"
SIZE 10
OUTLINECOLOR 255 255 255
COLOR 0 197 255
END
END
END

But I don't find my Points!
I have a string  value in my CLASSITEM "LEGENDE"

And the values I try to see are:

"NetCCenter" and "POP LDCom"
Can anyone help me?
--
Martinez Morata David
Thinking GIS


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] [Expresion] Problem with expresion

2009-03-10 Thread David Martinez Morata
Hello

I define in my map file one layer like:

LAYER
NAME "POP Neuf Telecom"
TYPE POINT
DATA "ldnc_w84_05keu_sites_heberge.shp"
METADATA
"wms_title" "POP Neuf Telecom"
"wms_srs""EPSG:4326"
"wms_feature_info_mime_type""text/html"
"wms_include_items""all"
END
STATUS ON
MAXSCALE 100
#TRANSPARENCY 100
PROJECTION
"init=epsg:4326"
END
CLASSITEM "LEGENDE"
CLASS
NAME "POP Neuf Telecom"
EXPRESSION ("NetCenter" OR "POP LDCom")

STYLE
SYMBOL "CIRCLE"
SIZE 10
OUTLINECOLOR 255 255 255
COLOR 0 197 255
END
END
END

But I don't find my Points!
I have a string  value in my CLASSITEM "LEGENDE"

And the values I try to see are:

"NetCCenter" and "POP LDCom"
Can anyone help me?
-- 
Martinez Morata David
Thinking GIS
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users