File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public:
99
99
/** Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id */
100
100
const long GEOSRS_ID;
101
101
/** Magic number for a geographic coord sys in EPSG ID format */
102
- const long EPSGID ;
102
+ const long GEOEPSG_ID ;
103
103
/** The length of teh string "+proj=" */
104
104
const int PROJ_PREFIX_LEN;
105
105
/** The length of teh string "+ellps=" */
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class CORE_EXPORT QGis
122
122
/* * Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id */
123
123
const long GEOSRS_ID = 2585 ;
124
124
/* * Magic number for a geographic coord sys in EPSG ID format */
125
- const long EPSGID = 4326 ;
125
+ const long GEOEPSG_ID = 4326 ;
126
126
/* * The length of teh string "+proj=" */
127
127
const int PROJ_PREFIX_LEN = 6 ;
128
128
/* * The length of teh string "+ellps=" */
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ QgsDistanceArea::QgsDistanceArea()
43
43
// init with default settings
44
44
mProjectionsEnabled = FALSE ;
45
45
mCoordTransform = new QgsCoordinateTransform;
46
- setSourceEPSG (EPSGID ); // WGS 84
46
+ setSourceEPSG (GEOEPSG_ID ); // WGS 84
47
47
setEllipsoid (" WGS84" );
48
48
}
49
49
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ QgsMapRenderer::QgsMapRenderer()
48
48
mSize = QSize (0 ,0 );
49
49
50
50
mProjectionsEnabled = FALSE ;
51
- mDestSRS = new QgsSpatialRefSys (EPSGID , QgsSpatialRefSys::EPSG); // WGS 84
51
+ mDestSRS = new QgsSpatialRefSys (GEOEPSG_ID , QgsSpatialRefSys::EPSG); // WGS 84
52
52
}
53
53
54
54
QgsMapRenderer::~QgsMapRenderer ()
Original file line number Diff line number Diff line change @@ -953,7 +953,7 @@ bool QgsSpatialRefSys::readXML( QDomNode & theNode )
953
953
else
954
954
{
955
955
// Return default SRS if none was found in the XML.
956
- createFromEpsg (EPSGID );
956
+ createFromEpsg (GEOEPSG_ID );
957
957
}
958
958
return true ;
959
959
}
You can’t perform that action at this time.
0 commit comments