36 Commits

Author SHA1 Message Date
g_j_m
ffe7c90db6 Added compilation and linking flags for the GEOS library.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-09 19:39:39 +00:00
larsl
aea621b426 ** Added getDefaultValue() in QgsVectorLayer and QgsVectorDataProvider,
implemented it in the GPX provider


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-29 21:55:43 +00:00
mcoletti
c84e6aae6c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
larsl
21543d843b Cleaned upp attribute handling and feature fetching in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 12:26:52 +00:00
larsl
6a1dd36df6 ** Changed GPX attribute names from three letter abbreviations to more
userfriendly whole words


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:51:06 +00:00
larsl
910c3a2331 ** 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/qgis@2151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:17:17 +00:00
larsl
b60e7a87c0 ** Removed duplicate code, added bounds calculation for digitized features in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2145 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 18:53:24 +00:00
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
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
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
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
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
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
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
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
gsherman
75e79f7427 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +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
jobi
d7af42f63e ** fixed bug #965720 by adding math.h for gcc 3.4 problems
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 14:05:01 +00:00
larsl
7d0ee227c7 ** Added some calls to std::string::c_str() to hopefully make Qt without STL
happy


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
1718f18eac ** Implemented getNextFeature(list<int>&) in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 15:18:39 +00:00
larsl
7f26cc8dec ** Added URL parsing and attribute fields for route and track GPX layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1421 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 10:32:19 +00:00
larsl
3e6ae6d1ae Added url/link parsing to the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:23:27 +00:00
mhugent
3cd56a824b 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/qgis@1414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 20:39:47 +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
f1c97f92e9 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/qgis@1359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-10 22:59:12 +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