[QGIS-trac] [Quantum GIS] #3207: Check Geometry don't works with SIP < 4.9

Quantum GIS qgis at qgis.org
Sat Nov 13 16:23:31 EST 2010


#3207: Check Geometry don't works with SIP < 4.9
---------------------------------------------------------+------------------
   Reporter:  alexbruy                                   |              Owner:  cfarmer      
       Type:  patch                                      |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Python plugins and bindings                |            Version:               
   Keywords:  ftools, check geometry                     |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3207>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list