[Mapserver-users] problème avec la commande EXPRESION {Scanned} {Scanned}

Siki Zoltan siki at agt.bme.hu
Wed Apr 14 10:39:30 EDT 2004


Hello,

In Mapserver regular expressions are used in expressions if you put it
between slashes, so if you would match only "1" then your expression is /^1$/.
Or you can use string expression, like "1"?
See map file reference.

Bye
Zoltan


On Wed, 14 Apr 2004, Emmanuel CAPELLI wrote:

> Hello,
> We recently try to install a "Serveur Cartographique" with Mapserver.
> We encounter a problem when we want to select objects.
> With the "command" EXPRESSION we can select our objects starting from the
> codes (text). But it selects also a character in the chain, Example: 
> EXPRESSION /1/ it goes up object having code 1 but also code 14, 51, 100,
> etc.
> Thank you by advance for your assistance
> 
> Emmanuel CAPELLI 
> e.capelli at iaat.org 
> 
> 
> LAYER
>   NAME ZA
>   TYPE POINT
>   DATA ZA
>   STATUS DEFAULT
>   CLASSITEM 'V_ZA_CODE_'
>   CLASS
>     NAME "Zone d'activité"
>     EXPRESSION /./
>     COLOR 0 255 0
>     SYMBOL 'circle'
>     SIZE 7
>     TEMPLATE "ZA.html"
>   END
>   
> 
>   HEADER "ZA_header.html"
>   FOOTER "ZA_footer.html"
>     
>   TOLERANCE 5
>   
>   DUMP TRUE # allow GML export
> 
> 
>   METADATA
>     WMS_TITLE "Zone d'activité"
>     WMS_ABSTRACT "Numérisation des Za par la DDE 79"
>     WMS_SRS "EPSG:4326"
>   END
> END
> 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 




More information about the mapserver-users mailing list