larsl
864ce9fefc
Always use UTF-8 for the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-13 11:38:48 +00:00
larsl
055f7da50e
Fixed more XML writing bugs in the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 18:19:41 +00:00
larsl
bee0a8a6a1
Fixed bug that broke GPX files containing reserved XML characters (forgot to replace them with entities)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 17:06:04 +00:00
larsl
2954616075
Changed to expat for parsing GPX files, fixed a bug that broke GPX files when setting attribute values containing non-ASCII characters
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-01 17:54:32 +00:00
larsl
2e60214386
Forgot to remove some debug code
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2783 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 23:39:21 +00:00
larsl
53bd6d1eba
Added attribute editing in the GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2782 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 23:36:49 +00:00
larsl
841c7addec
Changed supports*() to capabilities()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 22:33:38 +00:00
larsl
6ded2ab1d3
Enabled deletion of GPX tracks and routes too, it seems to work now
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2756 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 21:57:02 +00:00
larsl
9e80d518e8
Added waypoint deletion in the GPX provider, route and track deletion is buggy and will be disabled until they are fixed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2751 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 19:18:31 +00:00
g_j_m
651c647cc8
More .cvsignore files. Should be all done now.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
mcoletti
be57f1155e
Fixes for const-correctness not propogated properly to sub-classes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-31 00:30:32 +00:00
mcoletti
c3ea8bcfa6
- rolled forward endian() changes in QgsDataProvider class hierarchy
...
- rolled forward const-correctness changes from src directory
- in delimited text provider plug-in consolidated how data is parsed into a
single function from three almost identical, but separate, functions; now
uses QDataStream for building WKBPoint objects
- QgsDelimitedTextProvider::getFirstFeature() now works
S: ----------------------------------------------------------------------
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 22:20:49 +00:00
larsl
367fc71af8
** Implemented getProjectionWKT() in QgsGPXProvider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2546 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 21:18:01 +00:00
timlinux
578d455a45
Implemented placeholder getProjectionWKT in each provider....
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2545 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 18:08:57 +00:00
gsherman
9493aca366
Merged changes from the 0.6.0 release branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
larsl
734b60e5d3
Removed unnecessary casts (thanks to Oleg Gusev)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 15:45:39 +00:00
gsherman
10c624e6d6
Changed #include <qapp.h> to #include <qapplication.h> to solve compile
...
problem on debian.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 06:48:24 +00:00
larsl
fbeb0636fd
** Fixed feature addition in GPX layers, it now works again
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2352 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-27 13:46:30 +00:00
larsl
61d3030998
** Reimplemented getNextFeature() so features are visible again
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 18:18:36 +00:00
mhugent
48bca3c901
moved the responsability for not-commited features to qgsvectorlayer. Because of this, it is now possible to treat not-commited features like commited ones. Vectordataproviders now only need to implement 'addFeatures','deleteFeatures', 'supportsFeatureAddition' and 'supportsFeatureDeletion' if they support feature addition or deletion
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-15 21:52:57 +00:00
gsherman
9504d805ae
Fixes to get plugins to compile under WIN32
...
Changes to qgislib.pro to include recently added classes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
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