Changed poorly named EPSGID constant to GEOEPSG_ID

git-svn-id: http://svn.osgeo.org/qgis/trunk@9005 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2008-08-06 13:16:18 +00:00
parent 74b02a3221
commit 747f57bd55
5 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ public:
/** Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id */
const long GEOSRS_ID;
/** Magic number for a geographic coord sys in EPSG ID format */
const long EPSGID;
const long GEOEPSG_ID;
/** The length of teh string "+proj=" */
const int PROJ_PREFIX_LEN;
/** The length of teh string "+ellps=" */

View File

@ -122,7 +122,7 @@ public:
/** Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id */
const long GEOSRS_ID = 2585;
/** Magic number for a geographic coord sys in EPSG ID format */
const long EPSGID = 4326;
const long GEOEPSG_ID = 4326;
/** The length of teh string "+proj=" */
const int PROJ_PREFIX_LEN = 6;
/** The length of teh string "+ellps=" */

View File

@ -43,7 +43,7 @@ QgsDistanceArea::QgsDistanceArea()
// init with default settings
mProjectionsEnabled = FALSE;
mCoordTransform = new QgsCoordinateTransform;
setSourceEPSG(EPSGID); // WGS 84
setSourceEPSG(GEOEPSG_ID); // WGS 84
setEllipsoid("WGS84");
}

View File

@ -48,7 +48,7 @@ QgsMapRenderer::QgsMapRenderer()
mSize = QSize(0,0);
mProjectionsEnabled = FALSE;
mDestSRS = new QgsSpatialRefSys(EPSGID, QgsSpatialRefSys::EPSG); //WGS 84
mDestSRS = new QgsSpatialRefSys(GEOEPSG_ID, QgsSpatialRefSys::EPSG); //WGS 84
}
QgsMapRenderer::~QgsMapRenderer()

View File

@ -953,7 +953,7 @@ bool QgsSpatialRefSys::readXML( QDomNode & theNode )
else
{
// Return default SRS if none was found in the XML.
createFromEpsg(EPSGID);
createFromEpsg(GEOEPSG_ID);
}
return true;
}