Skip to content
Permalink
Browse files
** Implemented getProjectionWKT() in QgsGPXProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk@2546 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
larsl committed Dec 30, 2004
1 parent 873c962 commit c1683917ad08e5fe54b5687f5441927a168fe065
Showing with 28 additions and 7 deletions.
  1. +3 −0 ChangeLog
  2. +1 −1 configure.in
  3. +16 −0 providers/gpx/qgsgpxprovider.cpp
  4. +8 −6 providers/gpx/qgsgpxprovider.h
@@ -3,6 +3,9 @@ QGIS Change Log
------------------------------------------------------------------------------
Version 0.6 'Simon' .... development version

2004-12-30 [larsl] 0.6.0devel1
** Implemented getProjectionWKT() in QgsGPXProvider

2004-12-19 [gsherman] 0.6.0rc2
** Updated README
** Added main.cpp so spit builds as standalone and plugin. Makefile.am modified
@@ -26,7 +26,7 @@ dnl ---------------------------------------------------------------------------
MAJOR_VERSION=0
MINOR_VERSION=6
MICRO_VERSION=0
EXTRA_VERSION=0
EXTRA_VERSION=1
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
else
@@ -120,6 +120,22 @@ QgsGPXProvider::~QgsGPXProvider() {
}


QString QgsGPXProvider::getProjectionWKT() {
return
"GEOGCS[\"WGS 84\", "
" DATUM[\"WGS_1984\", "
" SPHEROID[\"WGS 84\",6378137,298.257223563, "
" AUTHORITY[\"EPSG\",7030]], "
" TOWGS84[0,0,0,0,0,0,0], "
" AUTHORITY[\"EPSG\",6326]], "
" PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",8901]], "
" UNIT[\"DMSH\",0.0174532925199433,AUTHORITY[\"EPSG\",9108]], "
" AXIS[\"Lat\",NORTH], "
" AXIS[\"Long\",EAST], "
" AUTHORITY[\"EPSG\",4326]]";
}


/**
* Get the first feature resulting from a select operation
* @return QgsFeature
@@ -40,12 +40,14 @@ class QgsGPXProvider : public QgsVectorDataProvider {
public:
QgsGPXProvider(QString uri=0);
virtual ~QgsGPXProvider();
/** Used to ask the layer for its projection as a WKT string. Implements virtual method of same name in QgsDataProvider. */
QString getProjectionWKT() {return QString("Not implemented yet");} ;
/**
* Get the first feature resulting from a select operation
* @return QgsFeature
*/

/** Used to ask the layer for its projection as a WKT string. Implements
virtual method of same name in QgsDataProvider. */
QString getProjectionWKT();
/**
* Get the first feature resulting from a select operation
* @return QgsFeature
*/
QgsFeature * getFirstFeature(bool fetchAttributes=false);
/**
* Get the next feature resutling from a select operation

0 comments on commit c168391

Please sign in to comment.