[OpenLayers-Users] Problem with a WFS request

Eric Lemoine eric.lemoine at camptocamp.com
Sun Aug 23 15:25:26 EDT 2009


On Sun, Aug 23, 2009 at 11:58 AM, Bart van den Eijnden
(OSGIS)<bartvde at osgis.nl> wrote:
> Hi Eric,
>
> you're right, this does seem a bit strange, so the following config would
> work because of the auto-detection setting the namespace and guessing
> featureNS:
>
> var p = new OpenLayers.Protocol.WFS({
>   ...
>   featureType: "aster_gdem",
>   featurePrefix: "ms"
> });
>
> I think we would need to raise a bug for this, because specifying featureNS
> together with featurePrefix should work as well IMHO.

Actually I'm wrong, the WFS.v1_x_0 formats are children of GML.Base,
which takes care of calling setNamespace. So setting featureNS does
have an effect. Sorry for the noise.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list