[QGIS-trac] [Quantum GIS] #1884: addFeatures don't work for SpatiaLite layer

Quantum GIS qgis at qgis.org
Wed Aug 19 09:17:33 EDT 2009


#1884: addFeatures don't work for SpatiaLite layer
------------------------------------------------+---------------------------
   Reporter:  alexbruy                          |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.2.0
  Component:  Data Provider                     |            Version:  HEAD         
   Keywords:  spatialite, addFeatures           |   Platform_version:               
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Seems that addFeatures method of SpatiaLite data provider don't work. I
 try to copy all features from shapefile to empty SpatiaLite layer with
 help of simple plugin and have no result. Fetures don't adds.

 I run same plugin but with both shapefiles and all work fine.

 Tested on Windows XP Pro SP3 with QGIS 1.2.0 (qgis-dev package, versions
 up to 1.2.0-25) and QGIS 1.1 obtained from OSGEO4W installer .

 Sample plugin with all necessary data attached. In archive there is
 shapefile, empty SpatiaLite database and simple plugin which copied
 fetures from shapefile to database

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