Feature request #3207

Check Geometry don't works with SIP < 4.9

Added by Alexander Bruy over 13 years ago. Updated over 13 years ago.

Status:Closed
Priority:Low
Assignee:cfarmer -
Category:Python plugins
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13267

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.

compat_fix_doValidate.diff Magnifier - Proposed patch (2.56 KB) Alexander Bruy, 2010-11-13 01:24 PM

History

#1 Updated by cfarmer - over 13 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in f084b2c7 (SVN r14640).

Carson

Also available in: Atom PDF