larsl
fb19279450
** Added getDefaultValue() in QgsVectorLayer and QgsVectorDataProvider,
...
implemented it in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-29 21:55:43 +00:00
larsl
5b73ddf9a2
Cleaned upp attribute handling and feature fetching in the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 12:26:52 +00:00
larsl
2cd2f8e9ef
** Changed GPX attribute names from three letter abbreviations to more
...
userfriendly whole words
git-svn-id: http://svn.osgeo.org/qgis/trunk@2153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:51:06 +00:00
larsl
7f2c40aaa3
** Changed mFeatureType in qgsgpxprovider.cpp from a QString to an enum to
...
avoid unnecessary string comparisons
git-svn-id: http://svn.osgeo.org/qgis/trunk@2151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:17:17 +00:00
larsl
2149200ac1
** Removed duplicate code, added bounds calculation for digitized features in the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2145 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 18:53:24 +00:00
larsl
21fb3435bb
** 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@2142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 14:33:22 +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
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
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
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
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
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
d8e87cbaa1
Changes to support Windows version
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
larsl
91bfc3fcf1
Make 'no data' handling consistent in the GPX provider and remove isnan() since it breaks Windows builds
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 22:02:12 +00:00
jobi
ea2b00d4c5
** fixed bug #965720 by adding math.h for gcc 3.4 problems
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 14:05:01 +00:00
larsl
9074addc2b
** Added some calls to std::string::c_str() to hopefully make Qt without STL
...
happy
git-svn-id: http://svn.osgeo.org/qgis/trunk@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
6cad51b07f
** Implemented getNextFeature(list<int>&) in the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 15:18:39 +00:00
larsl
7639902d1e
** Added URL parsing and attribute fields for route and track GPX layers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1421 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 10:32:19 +00:00
larsl
2d067cb838
Added url/link parsing to the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:23:27 +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
larsl
b34b7f35a0
Don't add track and route layers for LOC files, throw real exceptions instead of strings in GPSData, move all file loading from QgsGPXProvider to GPSData, add a static container with reference counting to let GPX layers from the same file share data, use signaling_NaN instead of -max for 'no data' in waypoint elevation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-11 22:00:56 +00:00
larsl
31d5593a85
The GPS plugin now adds GPX files as three layers, one for each feature type: waypoints, routes, and tracks
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-10 22:59:12 +00:00
larsl
0833986008
Added the GPX/LOC provider plugin (no GUI yet, so it can't be tested)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1340 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-07 18:44:20 +00:00