[Chameleon] Extract WFS Data

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Wed Jul 27 02:05:07 EDT 2005


Hi Dave,

is your layer a WMS or WFS connectiontype of layer?

If it is a WMS, the widget performs a DescribeLayer request to get the WFS URL and the name of a typename, something like:

service=WMS&request=DescribeLayer&layers=blabla&version=1.1.1

So if your layer is WMS, can you check this request?

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
>>> "Dave Findlay" <dfindlay_ at hotmail.com> 07/26/05 22:56 PM >>>
Hello all,

 

I'm having a bit of a problem with the sample_roi.  When I try and extract
wfs data I get :

 

"Invalid layer or none selected. Please ensure that the selected layer is a
WFS or WMS layer."

 

Now the layer I'm trying to extract seems to be configured fine in the
mapfile and if I do a straight:

 

http://localhost/cgi-bin/mapserv.exe?MAP=ex2.map
<http://localhost/cgi-bin/mapserv.exe?MAP=ex2.map&SERVICE=WFS&VERSION=1.0.0&
REQUEST=GetFeature&TYPENAME=Boundaries>
&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=Boundaries

 

I get the complete gml in my browser.  I noticed that in the
ExtractWFSData.php file right around line 247 where it checks for a
connection the $szWFSConnection

actually has a length of zero.  I'm assuming this is the problem but I'm not
sure exactly how to fix it.  Any suggestions would be appreciated.

 

Cheers,

 

Dave Findlay

 

 

 





More information about the Chameleon mailing list