13 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
larsl
99225b3564 Cleaned up the GPX parsing
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 21:53:32 +00:00
larsl
ae4547df80 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/qgis@1566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 22:02:12 +00:00
larsl
35b1791b6b Changing std::string to QString in GPSData::getData() and GPSData::releaseData() to support Qt libraries built without STL support
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1392 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 21:51:33 +00:00
larsl
b5a78105af 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/qgis@1371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-11 22:00:56 +00:00
larsl
13d0e7582e Added the GPX/LOC provider plugin (no GUI yet, so it can't be tested)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1340 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-07 18:44:20 +00:00