New answers tagged select
I think that this Plugin can help you. https://plugins.qgis.org/plugins/MultipleLayerSelection/
It turns out the MXD was just corrupt. I remade my mxd and everything worked fine. There were only lines and points.
Right click the layer and select "Properties..." to open the "Layer Properties" window. Select the "Source" tab and check to see if the "Geometry Type:" is "Multipoint" or a similar type of geometry. If so than there will be multiple points/polygons that correspond to one record and will result in the behavior you describe.
If using python (as your tag suggests), and ArcGIS (maybe?), you could do something like this ... (edited) # Check to be sure there is at least one feature selected. ftrCountBefore = int(arcpy.GetCount_management(layer).getOutput(0)) # ToDo Perform a Selection # ftrCountAfter = int(arcpy.GetCount_management(layer).getOutput(0)) if (not (ftrCountBefore == ...
Try this, it isn't the same problem (Vector layer), but it could help you: Openlayers - Losing selection or style on layer redraw
Top 50 recent answers are included