WFS and namespaces

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Wed May 11 16:04:52 EDT 2005


Steve,

this has been around for a while, but I am just running into it now.

Okay, I have opened up 2 bugs for this:

namespace not used in DescribeFeatureType (1349)
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1349

Cannot query for propertyname using namespace (1350)
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1350

Best regards,
Bart


Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> "Steve Lime" <steve.lime at dnr.state.mn.us> 05/11/05 21:22 PM >>>
Bart: Is this new behavior or something that's been around for awhile.
If the latter then I'll defer to Assefa and Dan. Sounds like this is
been around awhile since I haven't touched the schema generator- yet.
Seems to me that the schema should match the output GML- that's the
point of generating schema, so what you do one place you should do in
the other. Similarly the transformation support I added should also be
part of schema generation.

Steve

>>> Bart van den Eijnden <BEN at SYNCERA-ITSOLUTIONS.NL> 5/11/2005 7:43:05
AM >>>
Hi list,

I am wondering about the following. I have defined a namespace for my
Mapserver WFS in the MAP file:

      wfs_namespace_prefix "stragisweb"
      wfs_namespace_uri "http://www.syncera.nl/stragisweb"

But the DescribeFeatureType response does *NOT* use this namespace in
the element names. The GML output of a GetFeature request does use the
namespace. 

But then again it is not possible to query using the namespace, eg
doing a PropertyIsEqualTo on stragisweb:GEMCOD doesn't work, I have to
use GEMCOD in the Filter for ogc:PropertyName.

Is this behaviour correct? Or should the namespace defined be used in
all modes of operation?

I am using Mapserver 4.6 beta1.

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl



More information about the mapserver-users mailing list