Skip to content

Commit fd7a16c

Browse files
authored
Merge branch 'master' into debug-grdcut
2 parents 2335640 + 5ee8b8c commit fd7a16c

23 files changed

+227
-2
lines changed

examples/projections/azim/azim_lambert.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Lambert Azimuthal Equal Area
33
============================
44
5+
This projection was developed by Johann Heinrich Lambert in 1772 and is typically used
6+
for mapping large regions like continents and hemispheres. It is an azimuthal,
7+
equal-area projection, but is not perspective. Distortion is zero at the center of the
8+
projection, and increases radially away from this point.
9+
510
``Alon0/lat0[/horizon]/width``: ``lon0`` and ``lat0`` specifies the projection center.
611
``horizon`` specifies the max distance from projection center (in degrees, <= 180,
712
default 90).

examples/projections/conic/conic_albers.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Albers Conic Equal Area
33
=======================
44
5+
This projection, developed by Heinrich C. Albers in 1805, is predominantly used to map
6+
regions of large east-west extent, in particular the United States. It is a conic,
7+
equal-area projection, in which parallels are unequally spaced arcs of concentric
8+
circles, more closely spaced at the north and south edges of the map. Meridians, on the
9+
other hand, are equally spaced radii about a common center, and cut the parallels at
10+
right angles. Distortion in scale and shape vanishes along the two standard parallels.
11+
Between them, the scale along parallels is too small; beyond them it is too large.
12+
The opposite is true for the scale along meridians.
13+
514
``Blon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0`` and two standard
615
parallels ``lat1/lat2``.
716
"""

examples/projections/conic/conic_equidistant.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Equidistant conic
33
=================
44
5+
The equidistant conic projection was described by the Greek philosopher Claudius
6+
Ptolemy about A.D. 150. It is neither conformal or equal-area, but serves as a
7+
compromise between them. The scale is true along all meridians and the
8+
standard parallels.
9+
510
``Dlon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0``, two standard
611
parallels ``lat1/lat2``, and the map width.
712
"""

examples/projections/conic/conic_lambert.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Lambert Conic Conformal Projection
33
==================================
44
5+
This conic projection was designed by the Alsatian mathematician Johann Heinrich
6+
Lambert (1772) and has been used extensively for mapping of regions with predominantly
7+
east-west orientation, just like the Albers projection. Unlike the Albers projection,
8+
Lambert’s conformal projection is not equal-area. The parallels are arcs of circles
9+
with a common origin, and meridians are the equally spaced radii of these circles. As
10+
with Albers projection, it is only the two standard parallels that are distortion-free.
11+
512
``Llon0/lat0/lat1/lat2/width``: Give projection center ``lon0/lat0``, two standard
613
parallels ``lat1/lat2``, and the map width.
714
"""

examples/projections/conic/polyconic.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
Polyconic Projection
33
====================
44
5+
The polyconic projection, in Europe usually referred to as the American polyconic
6+
projection, was introduced shortly before 1820 by the Swiss-American cartographer
7+
Ferdinand Rodulph Hassler (1770–1843). As head of the Survey of the Coast, he was
8+
looking for a projection that would give the least distortion for mapping the coast of
9+
the United States. The projection acquired its name from the construction of each
10+
parallel, which is achieved by projecting the parallel onto the cone while it is rolled
11+
around the globe, along the central meridian, tangent to that parallel. As a
12+
consequence, the projection involves many cones rather than a single one used in
13+
regular conic projections.
14+
15+
The polyconic projection is neither equal-area, nor conformal. It is true to scale
16+
without distortion along the central meridian. Each parallel is true to scale as well,
17+
but the meridians are not as they get further away from the central meridian. As a
18+
consequence, no parallel is standard because conformity is lost with the lengthening of
19+
the meridians.
20+
521
``Poly/width``: The only additional argument for the projection is the map width.
622
"""
723
import pygmt

examples/projections/cyl/cyl_cassini.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Cassini Cylindrical
33
============================
44
5+
This cylindrical projection was developed in 1745 by César-François Cassini de Thury
6+
for the survey of France. It is occasionally called Cassini-Soldner since the latter
7+
provided the more accurate mathematical analysis that led to the development of the
8+
ellipsoidal formulae. The projection is neither conformal nor equal-area, and behaves
9+
as a compromise between the two end-members. The distortion is zero along the central
10+
meridian. It is best suited for mapping regions of north-south extent. The central
11+
meridian, each meridian 90° away, and equator are straight lines; all other meridians
12+
and parallels are complex curves.
13+
514
``Clon0/lat0/width``: ``lon0`` and ``lat0`` specifies the projection center.
615
"""
716
import pygmt

examples/projections/cyl/cyl_equal_area.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
Cylindrical equal-area
33
======================
44
5-
``Ylon0/lat0/width``: Give central meridian ``lon0``, the standard parallel ``lat0``, and the figure ``width``.
5+
This cylindrical projection is actually several projections, depending on what
6+
latitude is selected as the standard parallel. However, they are all equal area and
7+
hence non-conformal. All meridians and parallels are straight lines.
8+
9+
``Ylon0/lat0/width``: Give central meridian ``lon0``, the standard parallel ``lat0``,
10+
and the figure ``width``.
611
"""
712
import pygmt
813

examples/projections/cyl/cyl_equidistant.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Cylindrical equidistant
33
=======================
44
5+
This simple cylindrical projection is really a linear scaling of longitudes and
6+
latitudes. The most common form is the Plate Carrée projection, where the scaling of
7+
longitudes and latitudes is the same. All meridians and parallels are straight lines.
8+
59
``Qwidth``: Give the figure ``width``.
610
"""
711
import pygmt

examples/projections/cyl/cyl_mercator.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
Mercator
33
========
44
5+
The Mercator projection takes its name from the Flemish cartographer Gheert Cremer,
6+
better known as Gerardus Mercator, who presented it in 1569. The projection is a
7+
cylindrical and conformal, with no distortion along the equator. A major navigational
8+
feature of the projection is that a line of constant azimuth is straight. Such a line
9+
is called a rhumb line or loxodrome. Thus, to sail from one point to another one only
10+
had to connect the points with a straight line, determine the azimuth of the line, and
11+
keep this constant course for the entire voyage. The Mercator projection has been used
12+
extensively for world maps in which the distortion towards the polar regions grows
13+
rather large.
14+
515
``M[lon0/][lat0/]width``: Give central meridian ``lon0`` (optional) and
616
standard parallel ``lat0`` (optional).
717
"""

examples/projections/cyl/cyl_miller.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Miller cylindrical
33
==================
44
5+
This cylindrical projection, presented by Osborn Maitland Miller of the American
6+
Geographic Society in 1942, is neither equal nor conformal. All meridians and
7+
parallels are straight lines. The projection was designed to be a compromise between
8+
Mercator and other cylindrical projections. Specifically, Miller spaced the parallels
9+
by using Mercator’s formula with 0.8 times the actual latitude, thus avoiding the
10+
singular poles; the result was then divided by 0.8.
11+
512
``J[lon0/]width``: Give the optional central meridian ``lon0`` and the figure ``width``.
613
"""
714
import pygmt

0 commit comments

Comments
 (0)