aboutsummaryrefslogtreecommitdiff
path: root/docs/source/projections/merc.rst
blob: 5b19b3ff3894b55f46275cafe43bededd6d45c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.. _merc:

********************************************************************************
Mercator
********************************************************************************

The Mercator projection is a cylindrical map projection that origins from the 15th
century. It is widely recognized as the first regularly used map projection.
The projection is conformal which makes it suitable for navigational purposes.


+---------------------+----------------------------------------------------------+
| **Classification**  | Conformal cylindrical                                    |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical and elliptical projection |
+---------------------+----------------------------------------------------------+
| **Defined area**    | Global, but best used near the equator                   |
+---------------------+----------------------------------------------------------+
| **Implemented by**  | Gerald I. Evenden                                        |
+---------------------+----------------------------------------------------------+
| **Options**                                                                    |
+---------------------+----------------------------------------------------------+
| `+lat_ts`           | Latitude of true scale. Defaults to 0.                   |
+---------------------+----------------------------------------------------------+



.. image:: ./images/merc.png
   :scale: 50%
   :alt:   Mercator


Usage
########

Applications should be limited to equatorial regions, but is frequently
used for navigational charts with latitude of true scale (``+lat_ts``) specified within
or near chart's boundaries.
Often inappropriately used for world maps since the regions near the poles
cannot be shown [0].


Example::

    $ echo 56.35 12.32 | proj +proj=merc +lat_ts=56.5
    3470306.37	759599.90


Mathematical definition
#######################

The formulas describing the Mercator projection are all taken from G. Evenden's libproj manuals [1].

Spherical form
**************
For the spherical form of the projection we introduce the scaling factor:

.. math::

    k_0 = \cos \phi_{ts}

Forward projection
==================

.. math::

    x = k_0 \lambda

.. math::

    y = k_0 \ln \tan \left(\frac{\pi}{4} + \frac{\phi}{2} \right)


Inverse projection
==================

.. math::

    \lambda = x / k_0

.. math::

    \phi = \pi/2 - 2 \arctan \left[ \exp \left( -y/k_0 \right) \right]


Elliptical form
***************

For the elliptical form of the projection we introduce the scaling factor:

.. math::

    k_0 = m\left( \phi_ts \right)

where :math:`m\left(\phi\right)` is the parallel radius at lattitude :math:`\phi`.

We also use the Isometric Latitude kernel function :math:`t()`.

.. note::
    m() and t() should be described properly on a seperate page about the theory of projections on the ellipsoid.

Forward projection
==================
.. math::

    x = k_0 \lambda

.. math::

    y = k_0 \ln t \left( \phi \right)


Inverse projection
==================

.. math::

    \lambda = x / k_0

.. math::

    \phi = t^{-1}\left[ \exp \left( -y/k_0 \right) \right]

Further reading
###############

#. `Wikipedia <https://en.wikipedia.org/wiki/Mercator_projection>`_
#. `Wolfram Mathworld <http://mathworld.wolfram.com/MercatorProjection.html>`_


References
##########
[0] Evenden, G. I., 1995, Cartograpic Projection Procedures for the UNIX Environment - A User's Manual.

[1] Evenden, G. I., 2005, libproj4: A Comprehensive Library of Cartographic Projection Functions (Preliminary Draft).