Opened 14 years ago
Closed 14 years ago
#3207 closed patch (fixed)
Check Geometry don't works with SIP < 4.9
Reported by: | alexbruy | Owned by: | cfarmer |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.7.0 |
Component: | Python plugins and bindings | Version: | |
Keywords: | ftools, check geometry | Cc: | dr, gislab, alexbruy |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
New Check Geometry tool use more pythonic style for iterating over features in vector layer
layer.select([]) for f in layer: # do something
But this work only with SIP >= 4.9. In OSGeo4W stack there is a SIP 4.8.2, this can cause some problems for users.
Proposed patch fixes this issue by reverting back for old-style nextFeature() call.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Proposed patch