>>
>>
>> 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!
> 
> If you get the below output in your browser, you need to view the source code 
> of the page to see the xml.

ah! It is xml indeed :)

The response was

<?xml version='1.0' encoding="ISO-8859-1" ?>
<wfs:FeatureCollection
   xmlns:ms="http://mapserver.gis.umn.edu/mapserver";
    ......
<!-- WARNING: FeatureId item 'ID' not found in typename 'mundo'. -->
    <gml:featureMember>
      <ms:mundo>
        <gml:boundedBy>
         .......

So I tried using
 featureNS: "http://mapserver.gis.umn.edu/mapserver";
(I suppose I have to overwrite that somewhere in the mapserver map
file... But that is not important for now)

>>
>>
>>
>> Anyway, openlayers does not ANY request to the mapserver, which is
>> strange...
> 
> If your script and your wms are on the same host, try "/cgi-bin/mapserv" as 
> WFS url instead of "http://localhost/cgi-bin/mapserv";.
> 



Also tried that... It is the same. There is no request being made to
mapserver!

(Maybe I need to load an extra js library besides OpenLayers.js?)




Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to