MapTools.org

[Chameleon] Extract WFS Data

Bart van den Eijnden bartvde@xs4all.nl
Mon, 22 Mar 2004 19:27:17 +0100
Hi,

it should work if you use a properly configured sample_wms_wfs_client.map 
in your Chameleon application.

Try the following (for WMS layers):

1) perform a DescribeLayer request on the road layer, i.e.
http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=DescribeLayer&layers=road&version=1.1.1

does this work?

if 1) works try (as the OnlineResource part you should normally take the 
response from request 1, but as Mapserver is WMS and WFS in one, the 
OnlineResource is normally the same):

2)
http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=GetFeature&typename=road&service=WFS&version=1.0.0

Do you get GML?

This is the exact same way the ExtractWFSData would try to get its GML 
 from a WMS Layer. So I suspect 1) and 2) won't both work.

Best regards,
Bart

On Mon, 22 Mar 2004 09:33:42 -0800 (PST), we wei <mapgisnewbies@yahoo.com> 
wrote:

> Hi all,
>
> I have a question about using Extract WFS Data in
> Chameleon 1.1 alpha 6 sample application.  I tried to
> see the actiion of this widget.  But when I click
> extract button on the pop-up window of Extract WFS
> Data, I got the following error:
>
> "Invalid layer or none selected.  Please ensure that
> the selected layer is WMS or WFS layer"
>
> Then I look in sample.map file and it doesn't not seem
> to have any WFS layer.  So, I changed to use
> sample_wms_wfs_server.map and
> sample_wms_wfs_client.map; however, I still got the
> above error.
>
> I guess I may setup something wrongly.
>
> Could anyone give some hints to me so that I could
> make this functionality work ?
>
> Any help would be greatly appreciated.
>
> Thanks in advance.
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>



-- 
  


This archive was generated by Pipermail.