62 Commits

Author SHA1 Message Date
timlinux
c086ac2a1a Desctiption of qgis for checkinstall and little helper script to automate checkinstall
git-svn-id: http://svn.osgeo.org/qgis/trunk@2817 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-16 15:59:04 +00:00
mhugent
d7cbfccfc9 Fixed for crash when showing the attribute table of a layer with no features and some other minor improvements to editing
git-svn-id: http://svn.osgeo.org/qgis/trunk@2799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-13 19:40:01 +00:00
mhugent
5092e5d2d9 Replaced QgsVectorDataProvider::support... functions with QgsVectorDataProvider::capabilities()
git-svn-id: http://svn.osgeo.org/qgis/trunk@2769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-10 22:13:28 +00:00
mhugent
bd9fa8940a Added QgsVectorDataProvider::capabilities(). The current queries in the dialogs will be subsequently replaced
git-svn-id: http://svn.osgeo.org/qgis/trunk@2763 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-08 22:16:14 +00:00
mhugent
637a72b99e some cleanups in QgsVectorLayer and in QgsPostgresProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 20:49:53 +00:00
g_j_m
fb70f210c4 Add the ability to display postgis tables and views that lack the
requisite row in the geometry_columns table (views still need an
oid column though)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2731 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 09:28:17 +00:00
mhugent
35d7349e6f quotes for text values in the postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 17:00:02 +00:00
mhugent
4ef530f216 adding attributes for postgis layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@2724 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 14:54:15 +00:00
mhugent
c284523630 added BEGIN and COMMITS for update and alter table, added select() after
git-svn-id: http://svn.osgeo.org/qgis/trunk@2713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-25 21:06:54 +00:00
mhugent
6a1e841db0 implemented attribute editing. Still problems with changes not written to the database if the table is not closed and reopened
git-svn-id: http://svn.osgeo.org/qgis/trunk@2712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-25 20:35:45 +00:00
mhugent
9e58573848 implementation of a gui to delete attributes in postgres table (changing of attributes and adding attributes will follow)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2695 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 09:49:30 +00:00
mhugent
a3ac06668c fix for snapping tolerance bug and some changes in the attribute editing methods in the vector provider interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@2645 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 20:50:32 +00:00
mhugent
c85b1b6d88 added some consts
git-svn-id: http://svn.osgeo.org/qgis/trunk@2634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:59:14 +00:00
mhugent
8334df21b3 added methods for attribute editing in the vector data provider interface. First implementation in the postgresprovider, but not yet tested
git-svn-id: http://svn.osgeo.org/qgis/trunk@2633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:32:42 +00:00
g_j_m
dca4ab94e3 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
g_j_m
028122bb1c postgresql layers were not closing their connection to the database when
the layer was removed.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-07 06:21:23 +00:00
mcoletti
e0e503326e Fixes for const-correctness not propogated properly to sub-classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-31 00:30:32 +00:00
mcoletti
3e8e4fb159 - 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@2549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 22:20:49 +00:00
timlinux
873c962ef5 Implemented placeholder getProjectionWKT in each provider....
git-svn-id: http://svn.osgeo.org/qgis/trunk@2545 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 18:08:57 +00:00
gsherman
fcf4f353bb Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
gsherman
cba4058ecb Changed supportsSaveAsShapefile to false since this won't be implemented until after version 0.6
git-svn-id: http://svn.osgeo.org/qgis/trunk@2344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 22:02:52 +00:00
gsherman
a15bae505d Added hook for a provider to indicate it supports saving its data to a shapefile. If supported, an item is added to the popup context menu. The save function is not implmented yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2319 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 06:14:05 +00:00
gsherman
61ff2af7f4 Added methods to get the postgres connection and table name from the pg provider.
Added launcher for the pg query builder to the vector dlg.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2304 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 05:15:40 +00:00
timlinux
4187293405 Added accessor and mutator for sql subseting query
git-svn-id: http://svn.osgeo.org/qgis/trunk@2300 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 02:09:49 +00:00
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
gsherman
f254055877 Changes to allow build under Win32
git-svn-id: http://svn.osgeo.org/qgis/trunk@2230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-11 06:02:26 +00:00
gsherman
8322c7639a GEOS support added for WIN32. See ogr.pro for notes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2229 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-11 05:36:15 +00:00
g_j_m
d72782bd99 Added compilation and linking flags for the GEOS library.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-09 19:39:39 +00:00
mhugent
18aaee9a2a added deleting of selected features from postgislayers. Unfortunately, only commited features can be selected -> there will be some need to redesign vectorlayer and providers with respect to feature addition and deletion
git-svn-id: http://svn.osgeo.org/qgis/trunk@2215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-05 20:21:54 +00:00
mhugent
b71def30db small bugfix related to digitizing
git-svn-id: http://svn.osgeo.org/qgis/trunk@2185 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-30 19:33:26 +00:00
mhugent
3f7213669e first version of feature commiting for the postgresprovider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-30 19:02:16 +00:00
mhugent
7d80d13835 moved start editing/ stop editing stuff up to QgsVectorDataProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 20:40:14 +00:00
mcoletti
c149b14a7c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
gsherman
59aa7419e9 Added editable flag (someday we might actually be able to digitize
features :))


git-svn-id: http://svn.osgeo.org/qgis/trunk@2140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:17:19 +00:00
mhugent
80242b799e fix for bug 1044242 symbology bug on where claused PostGIS tables
git-svn-id: http://svn.osgeo.org/qgis/trunk@2138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 23:26:28 +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
gsherman
db6b0a29ff Applied patch from Gavin that fixes bug 1045894.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-15 05:05:19 +00:00
gsherman
7740fa8f8d Cosmetic change to comments
git-svn-id: http://svn.osgeo.org/qgis/trunk@2116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-09 16:16:16 +00:00
gsherman
09ae8566f5 Imperfectly fixed problem where attributes aren't displayed if the primary
key is not of type int4 (bug 1042706). Support for a unique id key field needs
to be added to the provider. Support for keys other than int4 will require
changing QgsFeature to a template class and other major architectural changes.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-08 04:57:48 +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
1e782b5d17 Updated splash screen for 0.5 -- waiting for backlash...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1942 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-27 18:59:39 +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
gsherman
b28023080a 1. First pass at defining PostgreSQL layers using a where clause in the data
provider. UI may need some work. When adding a PG layer, double- click on the
layer name to define the where clause. Do not include the where keyword
2. Added $QTDIR/bin to the path for lrelease and lupdate in the i18n
scripts


git-svn-id: http://svn.osgeo.org/qgis/trunk@1740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-10 06:45:34 +00:00
gsherman
a32990b08a Added patch from strk that improves calculation of extents for a postgres layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1699 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-29 04:27:55 +00:00
gsherman
eb546f40e6 Qmake project files for building on Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
mhugent
264a1b0330 automatically use field precision in equal interval classification, implemented getNextFeature(list) in the postgresprovider. This change will not take effect until the other providers implement this too and i can change the mechanism for attribute loading for renderers. Delimitedtextprovider and grassprovider are still left
git-svn-id: http://svn.osgeo.org/qgis/trunk@1634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 06:29:11 +00:00
gsherman
48b01324d1 Modifications to allow compilation under windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:27:07 +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
jobi
a1abe6de76 ** fixed strange warning: object 'foo.$(OBJEXT)' created both
with libtool and without
** also cleaned the other Makefiles that way


git-svn-id: http://svn.osgeo.org/qgis/trunk@1127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-31 22:06:54 +00:00