[Chameleon] GetFeature request

Bart van den Eijnden bartvde at xs4all.nl
Fri Jun 4 03:57:42 EDT 2004


Hi list,

I was just logging the URL which gets sent to Mapserver WFS by the 
ExtractWFSData widget (in LayerAttributes.php) and there is one thing I 
don't understand. The functionality works and my download is correct 
(clipping of data which is partly inside my ROI), but when I paste the URL 
into a browser I get back an exception from Mapserver WFS that the filter 
is invalid.

This is the URL that I logged:

http://myserver/cgi-bin/mapserv.exe?map=/ms4w/apps/general/map/gemeentes.map&SERVICE=WFS&VERSION=1.0.0&TYPENAME=Gemeentes&request=getfeature&filter=%3CBBOX%3E%3CPropertyName%3EName%3C%2FPropertyName%3E%3Cgml%3ABox+srsName%3D%27EPSG%3A28992%27%3E%3Ccoordinates%3E129309.25000018402%2C476017.85714285716+193753.40178596403%2C524239.28571428574%3C%2Fcoordinates%3E%3C%2Fgml%3ABox%3E%3C%2FBBOX%3E

When I do this in a browser, I get:

<ServiceExceptionReport
xmlns="http://www.opengis.net/ogc" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.opengis.net/ogc 
http://ogc.dmsolutions.ca/wfs/1.0/OGC-exception.xsd">
   <ServiceException>
msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in 
GetFeature : <BBOX><PropertyName>Name</PropertyName><gml:Box 
srsName='EPSG:28992'><coordinates>129309.25000018402,476017.85714285716 
193753.40178596403,524239.28571428574</coordinates></gml:Box></BBOX>
   </ServiceException>
</ServiceExceptionReport>

Does this mean that PHP sends this request differently than a browser? Is 
this a problem with Mapserver WFS? Any ideas?

Best regards,
Bart


More information about the Chameleon mailing list