On 11/17/2010 12:01 PM, Andreas Hocevar wrote:
> Hi,
> 
> most likely your featureNS is incorrect. Look at a GetFeature reply from your 
> mapserver. There you will likely find something like
> 
> <gml:FeatureMember>
>   <foo:mundo...
> 
> "foo:mundo" might be something else, but look at the first node after 
> gml:FeatureMember. Then lookup "foo" (or whatever you have in front of the 
> colon) in the your document, by finding the xmlns:foo namespace declaration. 
> There you will have something like
> 
> xmlns:foo="http://my/namespace";
> 
> Now for featureNS in your protocol configuration, you would set 
> "http://my/namespace";.
> 

Hi Andreas, thanks!

If I do the GetCapabilities request:
http://localhost/cgi-bin/mapserv?map=/home/daniel/comp/sig/mapserver/meumapa/8_wfs.map&SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.0.0

the response is:
MapServer WFS WFS Demo Server for MapServer This text describes my WFS
service. http://localhost/cgi-bin/mapserv? mundo mundo EPSG:4207

(That is the request Quantum GIS does when I call the "add WFS Layer" tool)



When I do a GetRequest for my feature:
http://localhost/cgi-bin/mapserv?map=/home/daniel/comp/sig/mapserver/meumapa/8_wfs.map&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=mundo&VERSION=1.0.0

I get all the layer data, BUT IT IS NOT XML!

-180.000000,-90.000000 180.000000,83.645130 60.528430,29.318572
75.158028,38.486282 71.541918,37.905774 71.448693,37.065645
71.844638,36.738171 72.193041,36.948288 72.636890,37.047558
73.260056,37.495257 73.948696,37.421566 74.980002,37.419990
75.158028,37.133031 74.575893,37.020841 74.067552,36.836176
72.920025,36.720007 71.846292,36.509942 71.262348,....



Anyway, openlayers does not ANY request to the mapserver, which is
strange...

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to