WFS using xml

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Mon Feb 6 08:48:00 EST 2006


Hello,
 
I have faced also some interoperability problems with WFS. I have found that this combination works:
- Cadcorp SIS Map Browser as a client (free download, needs registration)
- WFS server http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap?
 
The link is from MapServer WFS howto so I think it is not any secret. That combination works both in "GET" and "POST" modes (you can select those in Map browser). Uncheck the "Validate XML from server" box or you can not connect, there seems to something that Map browser do not like but with that box unchecked it connects anyway. With my own MapServer installation (v. 4.6 from ms4w package) I can only connect in "GET" mode and I have no idea why not.
 
There are also clients that cannot connect to MapServer WFS at all even they do connect with Geoserver. One example is otherwise fine client deeJUMP that uses only "POST" method. I sent that DM Solutions link to deeJUMP user list and it seems that sooner or later that combination will work. There were something to be fixed both on MapServer and deeJUMP sides, and MapServer should be OK now with 4.8. Fix to deeJUMP comes somewhere in the future.
 
The clients I have found to be able to connect my MapServer ms4w WFS are MapInfo Professional v. 7.8 and uDig. I can also get the vectors visible if I download the GML with web browser and open the file with TatukGIS free viewer. Obviously there is still some work to be done with interoperability. It would be nice to know if some other have found more working server-client combinations and if there are some tricks to make it go.
 
-Jukka-
 
 

________________________________

Lähettäjä: UMN MapServer Users List puolesta: Eijnden, B. van den (Bart)
Lähetetty: ma 6.2.2006 14:44
Vastaanottaja: MAPSERVER-USERS at LISTS.UMN.EDU
Aihe: Re: [UMN_MAPSERVER-USERS] WFS using xml



Yes this is possible.

If it does not work posting to the URL you provided, try posting to a URL
like:

http://localhost:8089/cgi-bin/mapserv?service=WFS&version=1.0.0

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Ricaille Tanguy
Verzonden: maandag 6 februari 2006 13:31
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] WFS using xml


Hello,
is it possible to get a feature description using POST with a xml file like
this:
<wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"...
xmlns=...
    <wfs:Query typeName="featurename">
        <ogc:Filter>
            <ogc:BBOX>
                <ogc:PropertyName>....
                ...
</wfs:GetFeature>
Can i post it to http://localhost:8089/cgi-bin/mapserv, and get back
description file in gml ?

I have a like application using geoserver, and i will try to use
mapserver... I hope it is possible.
Thank you.


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