[QGIS-trac] Re: [Quantum GIS] #3713: Memory layer's fields not shown in attribute table (and layer properties) unless refreshed by entering the edit mode

Quantum GIS qgis at qgis.org
Sat Apr 9 08:37:55 EDT 2011


#3713: Memory layer's fields not shown in attribute table (and layer properties)
unless refreshed by entering the edit mode
-----------------------------------------------------+----------------------
        Reporter:  borysiasty                        |         Owner:               
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.7.0
       Component:  Vectors                           |       Version:  Trunk        
      Resolution:  invalid                           |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------

Comment(by wonder):

 Borys: even better solution (though available only from 1.7) is to specify
 the fields when creating the layer, see: http://www.qgis.org/pyqgis-
 cookbook/vector.html#memory-provider

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3713#comment:3>
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