Opened 11 years ago

Closed 11 years ago

#4440 closed defect (fixed)

WFS: when we don't understand the schema, don't use the field width and precision

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords: wfs


When the GML XSD parser fails to understand the schema, we fallback to issuing a GetFeature with MAXFEATURES=1 and let the GML driver build the .gfs from that. The GFS building also compute a field width and precision, but it is dangerous to use that for the whole WFS layer when computed only on a tiny extract. Better to ignore field width and precision in the WFS driver in that case.

Change History (1)

comment:1 by Even Rouault, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r23750) and in branches/1.9 (r23751)

Note: See TracTickets for help on using tickets.