Opened 18 years ago

Closed 17 years ago

#1638 closed defect (duplicate)

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 (2)

comment:1 by tomkralidis, 17 years ago

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.

comment:2 by dmorissette, 17 years ago

Resolution: duplicate
Status: newclosed
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.