We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb672d commit c673217Copy full SHA for c673217
1 file changed
Coordinate Systems/ellips2Mercator.m
@@ -23,7 +23,7 @@
23
% scalFact The scale factor (both parallel and meridian) at the given
24
% points.
25
%
26
-%The Mercatir projection is discussed in detail in Chapter 7 of [1].
+%The Mercator projection is discussed in detail in Chapter 7 of [1].
27
%Equations for the conversion along with a commonly used but very
28
%inaccurate spherical Mercator conversion (the "Web" Mercator map) are
29
%given in [2]. The spherical Mercator conversion can be obtained by setting
@@ -54,6 +54,7 @@
54
e=sqrt(e2);
55
56
sinPhi=sin(latLon(1,:));
57
+cosPhi=cos(latLon(1,:));
58
lambda=latLon(2,:);
59
60
x=a*lambda;
0 commit comments