GetFeature-request with a query expression

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Thu Apr 26 03:26:09 PDT 2007


Hi, 

Sure it is possible.  I made once a trial with Oracle spatial layer by inserting a variable inside the SQL query in the DATA argument. The layer can then be called from WFS client with extra argument like &ID=5 and the result should be as you expect. I guess,but haven't tried myself, that extra variables can be used also in other places in mapfile, like in FILTER.

-Jukka Rahkonen-


-----Original Message-----
From: UMN MapServer Users List on behalf of Dmitri Mizerkin
Sent: Thu 26.4.2007 12:48
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] GetFeature-request with a query expression
 
Hi List,

is it possible to include into the GetFeature-request a query expression (for 
instance [ID]=5) so that only the objects, which match the defined criteria, 
are returned in the response?
I would like to get all filed values of some feature not having to scroll through 
the thousands of features, which I am not interested in.

Cheers,
Dmitri



More information about the MapServer-users mailing list