14 Commits

Author SHA1 Message Date
mhugent
20d4d60ce0 moved the responsability for not-commited features to qgsvectorlayer. Because of this, it is now possible to treat not-commited features like commited ones. Vectordataproviders now only need to implement 'addFeatures','deleteFeatures', 'supportsFeatureAddition' and 'supportsFeatureDeletion' if they support feature addition or deletion
git-svn-id: http://svn.osgeo.org/qgis/trunk@2258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-15 21:52:57 +00:00
mhugent
d700cbd1b2 added extra parameter to getNextFeature(std::list<int>,bool), give not commited features id -1 to prevent conflicts (selection via table) with commited features
git-svn-id: http://svn.osgeo.org/qgis/trunk@2137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 22:49:15 +00:00
mhugent
574e98952a added qgsvectordataprovider interface and start editing/ stop editing for vector digitising
git-svn-id: http://svn.osgeo.org/qgis/trunk@2049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-27 21:30:27 +00:00
gsherman
99407e9e18 Changes to allow build under Win32
git-svn-id: http://svn.osgeo.org/qgis/trunk@2019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-18 06:29:59 +00:00
mhugent
1497f8f143 implemented writing of points to make some tests with feature writing. Use the capture-point tool to write on point vector layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-11 06:01:10 +00:00
mhugent
299296c403 graduated and continuous renderers now copy only the required attributes, which makes rendering faster, especially if there is much attribute information associated with a layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 12:53:53 +00:00
gsherman
d8e87cbaa1 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
mhugent
b25ce35fb7 added a method getNextFeature(std::list<int>&) to the dataprovider classes (but didn't program it yet). The idea is, that besides copying no attributes (getNextFeature(false)) or all attributes (getNextFeature(true)), it should be possible to copy only the attributes with indexes contained in the passed list. This should improve the rendering efficiency of graduated renderers. I plan to implement this method for the shapefileprovider and make some efficiency tests. For the other data provider, it would be nice to have some help, because i am not very familiar with e.g. the postgresprovider, the delimited text provider or the grass provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@1414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 20:39:47 +00:00
mcoletti
5e763c0acb Rolling forward QgsFeature::setGeometry() interface change whereby the size of
the well known type geometry binary buffer is also now passed in.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-02 19:18:42 +00:00
gsherman
8ea97250ab Changed parsing/splitting to use regular expressions. This allows special
characters such as tab (\t) to be specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
gsherman
ac26abcb51 Minor code reformatting
git-svn-id: http://svn.osgeo.org/qgis/trunk@1029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:45:32 +00:00
gsherman
c788079aba Fixed implementation for tables and identify. Select and highlight of features does not work yet. This is the inital version, work on bugs is ongoing
git-svn-id: http://svn.osgeo.org/qgis/trunk@1007 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:18:52 +00:00
gsherman
edd805f9a2 1. Added bounds checking for selecting features.
2. Created wkbPoint structure for building WKB (well known binary) representation
	 of the point.
3. Implementation is not complete.


git-svn-id: http://svn.osgeo.org/qgis/trunk@971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-01 06:34:46 +00:00
gsherman
025257d40d initial import
git-svn-id: http://svn.osgeo.org/qgis/trunk@959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-29 00:46:46 +00:00