larsl
eff586cac9
** Changes to the GPX provider:
...
* Implemented isEditable(), isModified(), commitChanges(), and rollBack()
* Removed the useless lat and lon attributes in waypoint features
* Cleaned up the attribute parsing in addFeature()
GPX editing should now work again.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 14:33:22 +00:00
gsherman
b080e37504
Added editable flag (someday we might actually be able to digitize
...
features :))
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:17:19 +00:00
gsherman
99a6dba77b
Implemented identify/selection using GEOS to return the proper features
...
rather than any feature falling within the minumum bounding rectangle
(MBR). QGIS now required GEOS. This works with GEOS 2.x, needs to be
tested at GEOS 1.x
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:16:10 +00:00
mhugent
7cf0782112
fix for bug 1044242 symbology bug on where claused PostGIS tables
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 23:26:28 +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
066bc2b7bc
added a dialog to enter and change attribute values when digitizing features
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 15:35:13 +00:00
gsherman
25ac8fd420
Applied patch from Gavin that fixes bug 1045894.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-15 05:05:19 +00:00
mhugent
da8fce8702
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/qgis@2129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-14 22:54:24 +00:00
gsherman
13e0651cd0
Cosmetic change to comments
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-09 16:16:16 +00:00
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