[QGIS-trac] [Quantum GIS] #3052: Editing subsets doesn't work for shapefiles

Quantum GIS qgis at qgis.org
Sat Sep 25 13:30:41 EDT 2010


#3052: Editing subsets doesn't work for shapefiles
------------------------------------------------+---------------------------
   Reporter:  volter                            |              Owner:  jef          
       Type:  enhancement                       |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Vectors                           |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 I used to edit subsets when I was using PostGIS layers. Surprisingly that
 doesn't work for Shapefiles.

 As soon as you place a query on a shapefile, it's capabilities drop from
 975 to 704, which raises "Provider cannot be opened for editing".

 Creating a query also creates an inconsistency in the UI:

 Whilst the editing pen is still blue in the toolbar, it's already greyed
 out in the attributes table. Clicking the pen in the toolbar raises
 aforementioned error and stalls it in grey. Removing the query doesn't
 solve this issue. Opening the attributes table again, the pen is blue
 there.

 So it seems, the toolbar's symbol is not up to date.


 975 and 704 equal:

 {{{
 PyQt4.QtCore.QString(u'Add Features, Delete Features, Change Attribute
 Values, Add Attributes, Create Spatial Index, Fast Access to Features at
 ID, Change Geometries')

 and

 PyQt4.QtCore.QString(u'Create Spatial Index, Fast Access to Features at
 ID')
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3052>
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