20 Commits

Author SHA1 Message Date
mcoletti
be57f1155e Fixes for const-correctness not propogated properly to sub-classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-31 00:30:32 +00:00
mcoletti
c3ea8bcfa6 - rolled forward endian() changes in QgsDataProvider class hierarchy
- rolled forward const-correctness changes from src directory

- in delimited text provider plug-in consolidated how data is parsed into a
  single function from three almost identical, but separate, functions; now
  uses QDataStream for building WKBPoint objects

- QgsDelimitedTextProvider::getFirstFeature() now works

S: ----------------------------------------------------------------------


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 22:20:49 +00:00
gsherman
9493aca366 Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
mhugent
a3eac754d2 fixed selection in the delimited text provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2364 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 21:17:04 +00:00
gsherman
58c2d45251 Fix for delimited text files having a delimiter at end of each line
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2337 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 18:19:26 +00:00
gsherman
c77391fe48 first implementation of save delimited text file as shapefile once its loaded into qgis. Some things are still rough -- I'll clean it up some more in the next day or so...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 06:00:39 +00:00
mhugent
48bca3c901 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/qgis@2258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-15 21:52:57 +00:00
mhugent
575a52aae1 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/qgis@2137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 22:49:15 +00:00
mhugent
6769603abb added qgsvectordataprovider interface and start editing/ stop editing for vector digitising
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-27 21:30:27 +00:00
gsherman
9f7357a92a Changes to allow build under Win32
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-18 06:29:59 +00:00
mhugent
0f8308d2d2 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/qgis@1742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-11 06:01:10 +00:00
mhugent
56a0121ce7 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/qgis@1635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 12:53:53 +00:00
gsherman
75e79f7427 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
mhugent
3cd56a824b 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/qgis@1414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 20:39:47 +00:00
mcoletti
61671c486b 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/qgis@1137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-02 19:18:42 +00:00
gsherman
3ea3ce046f 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/qgis@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
gsherman
0d848cb31a Minor code reformatting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:45:32 +00:00
gsherman
d089d5efb1 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/qgis@1007 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:18:52 +00:00
gsherman
48eead0ce4 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/qgis@971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-01 06:34:46 +00:00
gsherman
59f888bdca initial import
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-29 00:46:46 +00:00