Opened 19 years ago

Last modified 15 years ago

#1475 new enhancement

Enhance Support for WFS Application Schema

Reported by: sdlime Owned by: sdlime
Priority: high Milestone: 6.0 release
Component: WFS Server Version: 4.8
Severity: minor Keywords:
Cc:

Description (last modified by sdlime)

By updating mapwfs.c/mapgml.c code to:

  - support layer name spaces using layer metadata (falling back to map level 
values if not present)

    "wfs_namespace_uri"
    "wfs_namespace_prefix"
    "wfs_application_schema"

  - allow users to refer to an existing application schema via:

    "wfs_application_schema"

The latter would result in code in the schema returned by a getFeatureInfo 
request like:

  <include schemaLocation="layer_application_schema.xsd" /> </schema>

Steve

Change History (8)

comment:1 by sdlime, 19 years ago

Cc: Tom.Kralidis@… added

comment:2 by sdlime, 18 years ago

Tom: Will you have some testing time available in the next week or two to do 
some testing with this? Let me know.

Steve

comment:3 by tomkralidis, 18 years ago

sure, contact me offline email so we can discuss.

comment:4 by tomkralidis, 18 years ago

1./ I tried this against latest CVS and see no difference when I do a
GetFeature.  Has this been committed?

2./ Note that this would have to be supported for DescribeFeatureType requests
as well, i.e.:

a./ if DescribeFeatureType is called, use layer level wfs_namespace_uri and
wfs_namespace_prefix is they exist, else fall to map level wfs_namespace_uri and
wfs_namespace_prefix

b./ if DescribeFeatureType is called, if wfs_application_schema exists, then
redirect to this URL (maybe via HTTP Location header), process else as per usual
(checking point a above too).


comment:5 by sdlime, 16 years ago

Description: modified (diff)

Tom, do you recall if we ever went anywhere with this?

Steve

comment:6 by tomkralidis, 16 years ago

Testing this against svn trunk, GetFeature requests behave correctly (i.e. if layer namespace metadata is defined, then override).

DescribeFeatureType is not fully implemented per comment:4. If layer namespace metadata is defined, empty xs:complexType's are outputted, instead of the definition of attributes. Also, wfs_application_schema is not implemented.

comment:7 by sdlime, 16 years ago

Milestone: 5.4 release

Let's target 5.4 to clean it up. I do think it's a good idea.

Steve

comment:8 by sdlime, 15 years ago

Milestone: 5.4 release6.0 release
Note: See TracTickets for help on using tickets.