mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
** Implemented getProjectionWKT() in QgsGPXProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2546 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
578d455a45
commit
367fc71af8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user