Wfs filter

vincent.dacol vincent.dacol at LAPOSTE.NET
Wed Jun 15 07:44:36 PDT 2005


Thanks for the answer Bart,

I have set Dump True in my WFS Mapserver.

I have try directly on the serveur as describe in the HOWTO,
but it didn't work.

I will try some other test tomorrow.

Bye,

Vincent


> Just checking, did you set DUMP TRUE on your server LAYER?
> 
> Can you get it to work by making a HTTP GET request directly
to your server using the same Filter, something like which is
described in here:
> 
> http://mapserver.gis.umn.edu/doc/filter-encoding-howto.html
> 
> ?
> 
> Best regards,
> Bart
> 
> Bart van den Eijnden
> Syncera IT Solutions
> Postbus 270
> 2600 AG  DELFT
> 
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
> 
> >>> "vincent.dacol" <vincent.dacol at LAPOSTE.NET> 06/15/05
09:02am >>>
> Hi the list,
> 
> I want to apply a filter on my WFS server.
> 
> But this simple thinks seem harder than I think.
> 
> The original data is a shape file with attribut and
> geographique data.
> 
> The result of the filter is an empty GML file.
> 
> Here is a copy of my WFS mapserver client and the GML file.
> 
> Thanks for the help.
> 
> Extract of WFS layer in the Client mapfile:
> 
> 
>     CONNECTIONTYPE WFS
>     CONNECTION
>
"http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/projection/Serveur_France/France_L93_WFS.map&"
> 
>     METADATA
>         "wfs_service" "WFS"
>         "wfs_version" "1.0.0"
>         "wfs_typename" "France_L93_Name"
>         "wfs_connectiontimeout" "120"
>         "wfs_filter"
>
"<PropertyIsGreaterThan><PropertyName>PERIMETRE</PropertyName><Literal>300</Literal></PropertyIsGreaterThan>"
>     END
> 
> 
> The GML data :
> <?xml version='1.0' encoding="ISO-8859-1" ?>
> <wfs:FeatureCollection
>    xmlns="http://www.ttt.org/myns"
>    xmlns:myns="http://www.ttt.org/myns"
>    xmlns:wfs="http://www.opengis.net/wfs"
>    xmlns:gml="http://www.opengis.net/gml"
>    xmlns:ogc="http://www.opengis.net/ogc"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://www.opengis.net/wfs 
> http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd 
>                        http://www.ttt.org/myns 
>
http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/projection/Serveur_France/France_L93_WFS.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=France_L93_Name">
>    <gml:boundedBy>
>       <gml:null>missing</gml:null>
>    </gml:boundedBy>
> </wfs:FeatureCollection>
> 
> Bye,
> 
> Vincent
> 
> 
> 
> Accédez au courrier électronique de La Poste :
www.laposte.net ; 
> 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
> 
> 
> 
> 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)





More information about the MapServer-users mailing list