Ticket #1638 (closed defect: duplicate)

Opened 7 years ago

Last modified 7 years ago

correct type report in WFS DescribeFeatureType

Reported by: bartvde@… Owned by: mapserverbugs
Priority: high Milestone:
Component: WFS Server Version: 4.8
Severity: normal Keywords:
Cc:

Description

Currently, Mapserver WFS treats all attributes as string, so all elements in the
DescribeFeatureType response are string.

It would be really nice if some real type support was added, so xsd:int or
xsd:double would be generated when applicable.

Last I heard (2004?) Daniel had some code, must be quite old now that code :-),
somehwere, which implemented type support, but he never got to commiting it.

Change History

Changed 7 years ago by tomkralidis

Would this be an OGR thing?  The basic approach would be to test the types of
the columns and output them appropriately in XML Schema.

Changed 7 years ago by dmorissette

  • status changed from new to closed
  • resolution set to duplicate
This is not specific to OGR, a good solution should work for all input drivers.

The problem is that currently MapServer doesn't carry any data type information
for the attributes. This is what I had started working on way back when...

... bugzilla search...

See bug 462 and bug 820.

I think this bug should be considered a duplicate of bug 462.

*** This bug has been marked as a duplicate of 462 ***
Note: See TracTickets for help on using tickets.