Ticket #4440 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

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

Reported by: rouault Owned by: 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

Changed 17 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.