[Mapserver-users] Inline features

Vojtech Honzik V.Honzik at sh.cvut.cz
Mon Feb 9 05:48:19 EST 2004


I have a problem with changing the mapfile value from URL.

There is a layer named kolecko:
----------
LAYER
    NAME "kolecko"
    STATUS OFF

    CONNECTIONTYPE postgis
    CONNECTION "user=***** password=***** dbname=secar host=localhost"
    DATA "the_geom from nazvy_ku_text"
    TYPE POINT
    UNITS PIXELS

    CLASS
      SYMBOL 'kolecko'
      SIZE 50
      COLOR 255 255 0
    END

 END
----------
 What I am trying to do is adding the expression to that one class in
layer using GET snippet like this (as a result of PHP script outside the
mapserver application):
&map_kolecko_class_expression=([gid]=10184)

Unfortunately, it stil seems wrong, because the expression is not
performed (it displays all features from layer). I thing i passed this
snippet in compliance with documentation.

Would you be so kind to help me?

Thank you,
Vojtech Honzik






More information about the mapserver-users mailing list