gsherman
59d25e016d
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/qgis@2108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-08 04:57:48 +00:00
rabla
44021a1108
isEditable conflict
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-29 09:41:06 +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
larsl
fdd4e07ef2
** Removed support for loading Geocaching.com LOC files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-23 09:07:50 +00:00
larsl
968d198473
** Re-fixed bug 987874, the provider will now skip geometry-less features
...
but keep reading other features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-20 17:55:21 +00:00
larsl
cc68daf5da
** Fixed bug 987874 which caused QGIS to crash when showing the attribute
...
table for shapefile layers with features with NULL geometry
(GetGeometryRef() returns NULL) - the OGR provider now treats features
with NULL geometry as NULL features, i.e. EOF
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-20 17:20:05 +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
spoerri
412e28bd34
Initial factory class and testing to check write access to repository
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-03 21:16:32 +00:00
gsherman
38226383b1
Updated splash screen for 0.5 -- waiting for backlash...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1942 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-27 18:59:39 +00:00
larsl
dab31e5441
** Added more attribute fields to the GPX provider: cmt, desc, src, sym, number, urlname
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-20 21:31:31 +00:00
larsl
2248ff51c2
** Forgot to calculate bounds for user-added routes and tracks in the GPX
...
provider, which caused unpredictable drawing bugs since selection wouldn't
work. Fixed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-20 12:29:07 +00:00
larsl
9d0ce4c69d
Removed unneccesary argument to GPSObject::fillElement()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 13:22:45 +00:00
gsherman
196b4a9e7a
Added return true to parseNode function so it would compile on win32
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:14:20 +00:00
gsherman
35091aa2e2
Qmake .pro files for gps provider and importer and spit (win32 build system)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:11:01 +00:00
larsl
eaf4364451
** Implemented GPX file writing - GPX layers are now written back to file
...
when features are added
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1884 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-17 18:13:05 +00:00
larsl
c75379d94a
* More digitizing support for the GPX provider. Routes and tracks can now be
...
created. Nothing is written to file yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-17 16:14:09 +00:00
gsherman
495a22df83
Updated win32 build environment to include gps plugin and provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:37:46 +00:00
gsherman
f42b0ef833
Added return statement for the identify function to make it compile under win32. Currently it returns an empty vector
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1875 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:29:57 +00:00
timlinux
e4450c90ab
fixed gdal lib reference
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-14 01:10:09 +00:00
mhugent
3c073cdace
close attribute table when adding features such that it is always up to date
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-07 08:58:00 +00:00
rabla
c1812e4bd6
attribute table
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1844 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-02 15:56:28 +00:00
rabla
557c8f3eb5
attributes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-29 12:43:09 +00:00
mhugent
d01d15f9b0
some more wkb for the shapefileprovider. Only point and line are tested yes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-28 19:38:19 +00:00
mhugent
436f599826
started to make a dialog class for unique renderer, added a bit of wkb code in the shapefileprovider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-28 19:12:20 +00:00
mhugent
0fb4a79270
added support for polygons in QgsShapeFileProvider::addFeature. Not tested yet
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-20 17:48:34 +00:00
rabla
3662886c82
getNextFeature(attlist)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1785 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-19 14:59:11 +00:00
larsl
db19f91631
Store GPSData objects on the heap instead of the stack to maybe make VC happy
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1779 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 11:17:57 +00:00
mhugent
24ffbefbba
outcommented call to OGRLayer->DeleteFeature
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1777 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 10:55:02 +00:00
mhugent
925f56dafc
some cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1776 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 09:19:36 +00:00
mhugent
6367e1de67
added code related to feature deletion
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 07:18:38 +00:00
mhugent
fe280e3f37
added digitising for lines. As this is highly experimental, backup your data before you use this tool. The icon for the button is not very nice. Feel free to change the icon if you have a nicer one
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1772 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-16 18:38:16 +00:00
gsherman
2b17ddeba2
Qmake project files for win32 build
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +00:00
gsherman
fbe3a1c8dd
Qmake project file for providers directory
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:06:54 +00:00
gsherman
aafbb5137b
QgsShapefileProvider must return a value from addFeature
...
QgisApp changed to support restoring of plugins from Windows.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1761 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-14 19:13:27 +00:00
gsherman
54040e759f
Added check to see if open in update mode failed. If so, try to open it
...
in read-only mode. Need to set a flag or something to indicate read-only
so editing operations don't fail (once they are implemented)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1752 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-13 04:34:30 +00:00
mhugent
c7fe065390
delete the qgis features after drawing to avoid a memory leak. If someone has problems with drawing vector layers after this commit (which i don't hope!), just change 'delete fet;' in qgsvectorlayer.cpp l. 593 back to 'delete[]feature;'
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 16:48:12 +00:00
rabla
5847feb44d
edit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1746 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 15:16:48 +00:00
larsl
ef5312bc2a
Started adding DOM writing to GPSData
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1744 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 10:54:41 +00:00
larsl
fc65d5525b
Implemented addFeature() for the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1743 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-11 16:22:50 +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
gsherman
384e7209d3
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/qgis@1740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-10 06:45:34 +00:00
gsherman
c750325f86
Added patch from strk that improves calculation of extents for a postgres layer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1699 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-29 04:27:55 +00:00
rabla
1f8e8559ac
fix for missing attributes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1662 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 07:19:22 +00:00
gsherman
54d80c6840
Qmake project files for building on Windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
mhugent
cc91766fbf
hopefully fixed the remaining problems of yesterdays commits/rollback. If there are still some bugs (or new ones) just write a mail to marco.hugentobler@autoform.ch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1650 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-21 16:58:28 +00:00
mhugent
3f6ef8ebe5
fixed more memory leaks. Enabled delete statement in qgsvectorlayer.cpp, l. 595
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1638 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 16:04:28 +00:00
mhugent
b00ed45364
fixed two memory leaks
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 14:47:30 +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
mhugent
d2bcf225d6
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/qgis@1634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 06:29:11 +00:00
gsherman
c1b936f9a4
Modifications to allow compilation under windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:27:07 +00:00