Some users [1] have already encountered this issue and i understood that it may be related to non correspondance between the number of rows in the .dbf file and number of geometry (some rows had no geometry). A simple "Save As.." to another shapefile has solved the problem. [1] http://georezo.net/forum/viewtopic.php?id=95143 (in french, sorry )
2015-01-21 9:16 GMT+01:00 Nejia Ben Nasr <nejia.benn...@spaceyes3d.com>: > Hi, > > > > Do you think that this problem is often caused by geometry problems? > > > > Thanks, > > Nejia > > > > *De :* Junior [mailto:del...@gmail.com] > *Envoyé :* mardi 20 janvier 2015 13:41 > *À :* Nejia Ben Nasr; 'qgis-developer' > *Objet :* Re : [Qgis-developer] Problem when using spatial index > > > > Hi, > > Nejia, what about the validity of the geometry of your features? You can > check with the tool in Vector menu > Geometry tools > check geometry > validity > > > > Envoyé depuis mon HTC > > > > ----- Reply message ----- > De : "Nejia Ben Nasr" <nejia.benn...@spaceyes3d.com> > Pour : "'qgis-developer'" <qgis-developer@lists.osgeo.org> > Objet : [Qgis-developer] Problem when using spatial index > Date : mar., janv. 20, 2015 13:03 > > > > I use QGIS 2.6.1 > > > > *De :* qgis-developer-boun...@lists.osgeo.org [ > mailto:qgis-developer-boun...@lists.osgeo.org > <qgis-developer-boun...@lists.osgeo.org>] *De la part de* Nejia Ben Nasr > *Envoyé :* mardi 20 janvier 2015 09:39 > *À :* qgis-developer > *Objet :* [Qgis-developer] Problem when using spatial index > > > > Hi all, > > > > I load a shapefile, then I create a spatial index to maximize speed of > zoom and navigate in the map. > > The problem is: when I zoom to any area feature appear and other doesn’t. > > And it seems To me that the spatial index is automatically created even > when I delete the .qix file > > > > > > Best regards, > > Nejia >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer