Click here to get back home

UMN MapServer WFS-Layer Filter

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
UMN MapServer WFS-Layer Filter falk.strobach 08-17-2006
Posted by falk.strobach on August 17, 2006, 9:40 am
Please log in for more thread options
Hallo,

it is possible in a WFS Request in the parameter TYPENAME to indicate
several layers. How can I set a filter on several layers?
for example:
http://lfug-te-01/umn/mapserv.exe?map=C%3A%2FInetpub%2Fwwwroot%2Fumn%2Fmapfiles%2Fbohrungen.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=bohrungen,tk25&maxFeatures=100&FILTER=...
<ogc:Filter>
<or><ogc:PropertyIsEqualTo>
        <ogc:PropertyName>tk25/TKNR</ogc:PropertyName>
        <ogc:Literal>4848</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsEqualTo>
        <ogc:PropertyName>bohrungen/ENDTEUFE</ogc:PropertyName>
        <ogc:Literal>10</ogc:Literal>
</ogc:PropertyIsEqualTo>
</or></ogc:Filter>
The filter does not works. How can I select those the
FILTER-instruction a layer?
Yours sincerely
Falk


Posted by tomkralidis on August 17, 2006, 2:16 pm
Please log in for more thread options
falk.strobach@gmx.de wrote:
> Hallo,
>
> it is possible in a WFS Request in the parameter TYPENAME to indicate
> several layers. How can I set a filter on several layers?
> for example:
> http://lfug-te-01/umn/mapserv.exe?map=C%3A%2FInetpub%2Fwwwroot%2Fumn%2Fmapfiles%2Fbohrungen.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=bohrungen,tk25&maxFeatures=100&FILTER=...
> <ogc:Filter>
> <or><ogc:PropertyIsEqualTo>
>         <ogc:PropertyName>tk25/TKNR</ogc:PropertyName>
>         <ogc:Literal>4848</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> <ogc:PropertyIsEqualTo>
>         <ogc:PropertyName>bohrungen/ENDTEUFE</ogc:PropertyName>
>         <ogc:Literal>10</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> </or></ogc:Filter>
> The filter does not works. How can I select those the
> FILTER-instruction a layer?
> Yours sincerely
> Falk

I'm not sure whether MapServer supports this (i.e. "namespaced"
PropertyName's, so you'll want to check with the mapserver-users
mailing list.


Similar ThreadsPosted
Problem with mapserver March 4, 2005, 7:18 pm
Problem compiling MapServer November 29, 2004, 4:15 am
MapServer 4.4.1 installation/evaluation January 5, 2005, 10:12 am
mapserver .map file creation October 22, 2005, 4:55 pm
mapserver local data July 5, 2005, 8:08 am
zoom to select with Mapserver September 4, 2005, 5:55 pm
mapserver and spatial operations February 14, 2006, 5:00 am
UMN Mapserver: how to add icons or images to a map tutorial July 15, 2005, 9:47 am
Problem with MAPSERVER-ECW files on LINUX August 13, 2005, 12:21 pm
print map to a defined scale with Mapserver August 23, 2005, 6:20 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap