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
mhugent
ea178eb56c
added a dialog to enter and change attribute values when digitizing features
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 15:35:13 +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
mhugent
2cc275b1cb
Added a Menu item to create new empty shapefiles. Unfortunately, a dummy feature is inserted into each new layer (coordinates 0/0). Without the dummy features, a segfault in OGR would happen when opening the .dbf file. I will do more investigations to figure out if there is a way such that there is no need for dummy features.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-14 22:54:24 +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
rabla
00e070bb7e
isEditable conflict
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-29 09:41:06 +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
larsl
bc9980506e
** Removed support for loading Geocaching.com LOC files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-23 09:07:50 +00:00
larsl
c2fb42fce4
** 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@2021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-20 17:55:21 +00:00
larsl
e4f2bb176e
** 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@2020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-20 17:20:05 +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
spoerri
2dd6bcbe18
Initial factory class and testing to check write access to repository
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-03 21:16:32 +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
larsl
47579e85d6
** Added more attribute fields to the GPX provider: cmt, desc, src, sym, number, urlname
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-20 21:31:31 +00:00
larsl
a1a3d0c3e7
** 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@1914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-20 12:29:07 +00:00
larsl
aabc9d40b1
Removed unneccesary argument to GPSObject::fillElement()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 13:22:45 +00:00
gsherman
68dcdd8bdb
Added return true to parseNode function so it would compile on win32
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:14:20 +00:00
gsherman
1ebd1122fc
Qmake .pro files for gps provider and importer and spit (win32 build system)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:11:01 +00:00
larsl
dcef76e7b3
** 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@1884 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-17 18:13:05 +00:00
larsl
53f61ecfea
* 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@1883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-17 16:14:09 +00:00
gsherman
3812b96680
Updated win32 build environment to include gps plugin and provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:37:46 +00:00
gsherman
93907f16ef
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@1875 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:29:57 +00:00
timlinux
221a1b4d86
fixed gdal lib reference
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-14 01:10:09 +00:00
mhugent
48679168d8
close attribute table when adding features such that it is always up to date
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-07 08:58:00 +00:00
rabla
916be4ff21
attribute table
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1844 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-02 15:56:28 +00:00
rabla
8a4496c3ac
attributes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-29 12:43:09 +00:00
mhugent
e243935b09
some more wkb for the shapefileprovider. Only point and line are tested yes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-28 19:38:19 +00:00
mhugent
50b1d79d38
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@1828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-28 19:12:20 +00:00
mhugent
42e73bc593
added support for polygons in QgsShapeFileProvider::addFeature. Not tested yet
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-20 17:48:34 +00:00
rabla
d5124f776f
getNextFeature(attlist)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1785 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-19 14:59:11 +00:00
larsl
fc79242024
Store GPSData objects on the heap instead of the stack to maybe make VC happy
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1779 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 11:17:57 +00:00
mhugent
e404878e63
outcommented call to OGRLayer->DeleteFeature
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1777 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 10:55:02 +00:00
mhugent
7d405851eb
some cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1776 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 09:19:36 +00:00
mhugent
54f003c649
added code related to feature deletion
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-17 07:18:38 +00:00
mhugent
f7fc012fba
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@1772 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-16 18:38:16 +00:00
gsherman
c5eefa522d
Qmake project files for win32 build
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +00:00
gsherman
416ffda87e
Qmake project file for providers directory
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:06:54 +00:00
gsherman
bb56fad59f
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@1761 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-14 19:13:27 +00:00
gsherman
9ff53a087e
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@1752 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-13 04:34:30 +00:00
mhugent
6e9541d0da
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@1749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 16:48:12 +00:00
rabla
10aeef73df
edit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1746 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 15:16:48 +00:00
larsl
70b8806b9d
Started adding DOM writing to GPSData
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1744 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 10:54:41 +00:00
larsl
dc0795561e
Implemented addFeature() for the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1743 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-11 16:22:50 +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
rabla
255d1bb0f2
fix for missing attributes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1662 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 07:19:22 +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