Opened 9 years ago

Closed 9 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
Cc:

Description

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 Changed 9 years ago by Even Rouault

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.