[Mapserver-users] WFS client howto
Bart van den Eijnden
bartvde at xs4all.nl
Tue Jun 1 12:19:38 PDT 2004
Hi Gregor,
I read your second incoming e-mail too fast ...
To answer your last question more precisely.
The CONNECTION in the MAP file does not need to have a request=GetFeature
and a BBOX as Mapserver WFS client will add that dynamically.
But if you perform the request in a browser yourself, you need to add
those parameters.
So it is not an error in the docs.
Best regards,
Bart
On Tue, 01 Jun 2004 21:08:01 +0200, Bart van den Eijnden
<bartvde at xs4all.nl> wrote:
> Hi Gregor,
>
> this is because Mapserver WFS client uses by default POST now, and the
> WFS client HowTo is using HTTP GET in its examples (the docs should be
> updated to include both options). So your Apache logfile only has the
> basic URL in it to which a GetFeature XML request is posted.
>
> But you have probably run into something like the following:
>
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=597
>
> Set your wfs_request_method metadata to GET then you can see in the
> Apache log exactly the full request which gets sent. Or just add
> request=GetFeature&BBOX=XMIN,YMIN,XMAX,YMAX to the URL you tried in a
> browser (fill in the BBOX values though) and see if it works.
>
> Best regards,
> Bart
>
> On Tue, 1 Jun 2004 11:41:03 -0700 (PDT), Gregor Mosheh
> <stigmata at blackangel.net> wrote:
>
>>
>> Also, I noticed that in the WFS Client Howto,
>> they give a connection string of:
>>
>> http://my.wfs.com/cgi-bin/mapserv?map=mywfs.map&SERVICE=WFS&VERSION=1.0.0&TYPENAME=mypoints
>>
>> But there's a mailing list entry that agrees with my experience, which
>> was
>> that to get any response at all you need to specify a REQUEST variable
>> as
>> well, e.g.:
>>
>> http://my.wfs.com/cgi-bin/mapserv?map=mywfs.map&SERVICE=WFS&VERSION=1.0.0&TYPENAME=mypoints&REQUEST=GetFeature
>>
>>
>> Is this an error in the documentation, or am I missing something?
>>
>> _______________________________________________
>> Mapserver-users mailing list
>> Mapserver-users at lists.gis.umn.edu
>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>
>
>
--
More information about the MapServer-users
mailing list