Setting up a value for a classitem expr ession in address bar - possible?

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Fri Mar 17 02:33:47 PST 2006


Read about CGI variable subsitution:

http://mapserver.gis.umn.edu/docs/howto/runsub/view

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Dmitri Mizerkin
Verzonden: vrijdag 17 maart 2006 11:36
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] Setting up a value for a classitem
expression in address bar - possible?


Hello all!
I'm wondering if it is possible to set up a value for a classitem expression
in the address bar, not directly in the map-file. That means that I want to
have something like this in the map-file:
  LAYER
    NAME         Sel_Street
    DATA         Streets
    STATUS       OFF
    TYPE         LINE
    CLASSITEM    "OBJECTID"
    CLASS
      NAME 'Selected street'
      #EXPRESSION '28' #This is the value, which should be set dynamically
      STYLE
        COLOR      255 0 0
      END
    END
  END
and activate the layer setting up a value for the expression-part in the
reference to the active page (for example, like this:
http://localhost/mapserv.exe?map=/ms4w/apps/my/streets.map&mode=browse&layer
=Sel_Street&expr=28).
Can someone help me out?
Thanks,
Dmitri
--
View this message in context:
http://www.nabble.com/Setting-up-a-value-for-a-classitem-expression-in-addre
ss-bar---possible--t1297050.html#a3453450
Sent from the Mapserver - User forum at Nabble.com.


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the MapServer-users mailing list