File tree 4 files changed +98
-3
lines changed
4 files changed +98
-3
lines changed Original file line number Diff line number Diff line change
1
+ """
2
+ Oblique Mercator
3
+ ================
4
+
5
+ Oblique configurations of the cylinder give rise to the oblique Mercator
6
+ projection. It is particularly useful when mapping regions of large lateral
7
+ extent in an oblique direction. Both parallels and meridians are complex
8
+ curves. The projection was developed in the early 1900s by several workers.
9
+
10
+ **oa**\|\ **oA**\ *lon0/lat0/azimuth/scale*\[**+v**] or
11
+ **Oa**\|\ **OA**\ *lon0/lat0/azimuth/width*\[**+v**]
12
+
13
+ The projection is set with **o** or **O**. The pole is set in the
14
+ northern hemisphere with **a** or the southern hemisphere
15
+ with **A**. The central meridian is set by *lon0/lat0*. The oblique equator
16
+ is set by *azimuth*. Align the y-axis
17
+ with the optional **+v**. The figure size is set with *scale* or *width*.
18
+ """
19
+ import pygmt
20
+
21
+ fig = pygmt .Figure ()
22
+ # Using the origin and azimuth
23
+ fig .coast (
24
+ projection = "Oa-120/25/-30/6c+v" ,
25
+ # Set bottom left and top right coordinates of the figure with "+r"
26
+ region = "-122/35/-107/22+r" ,
27
+ frame = "afg" ,
28
+ land = "gray" ,
29
+ shorelines = "1/thin" ,
30
+ water = "lightblue" ,
31
+ )
32
+ fig .show ()
Original file line number Diff line number Diff line change
1
+ """
2
+ Oblique Mercator
3
+ ================
4
+
5
+ Oblique configurations of the cylinder give rise to the oblique Mercator
6
+ projection. It is particularly useful when mapping regions of large lateral
7
+ extent in an oblique direction. Both parallels and meridians are complex
8
+ curves. The projection was developed in the early 1900s by several workers.
9
+
10
+ **ob**\|\ **oB**\ *lon0/lat0/lon1/lat1/scale*\ [**+v**] or
11
+ **Ob**\|\ **OB**\ *lon0/lat0/lon1/lat1/width*\ [**+v**]
12
+
13
+ The projection is set with **o** or **O**. The pole is set in the
14
+ northern hemisphere with **b** or the southern hemisphere
15
+ with **B**. The central meridian is set by *lon0/lat0*. The oblique
16
+ equator is set by *lon1/lat1*. Align the y-axis
17
+ with the optional **+v**. The figure size is set with *scale* or *width*.
18
+ """
19
+ import pygmt
20
+
21
+ fig = pygmt .Figure ()
22
+ # Using the origin and two points
23
+ fig .coast (
24
+ projection = "Ob130/35/25/35/6c" ,
25
+ # Set bottom left and top right coordinates of the figure with "+r"
26
+ region = "130/35/145/40+r" ,
27
+ frame = "afg" ,
28
+ land = "gray" ,
29
+ shorelines = "1/thin" ,
30
+ water = "lightblue" ,
31
+ )
32
+ fig .show ()
Original file line number Diff line number Diff line change
1
+ """
2
+ Oblique Mercator
3
+ ================
4
+
5
+ Oblique configurations of the cylinder give rise to the oblique Mercator
6
+ projection. It is particularly useful when mapping regions of large lateral
7
+ extent in an oblique direction. Both parallels and meridians are complex
8
+ curves. The projection was developed in the early 1900s by several workers.
9
+
10
+ **oc**\|\ **oC**\ *lon0/lat0/lonp/latp/scale*\ [**+v**] or
11
+ **Oc**\|\ **OC**\ *lon0/lat0/lonp/latp/width*\ [**+v**]
12
+
13
+ The projection is set with **o** or **O**. The central meridian is set
14
+ by *lon0/lat0*. The projection pole is set by *lonp/latp* in option three.
15
+ Align the y-axis with the optional **+v**. The figure size is set
16
+ with *scale* or *width*.
17
+ """
18
+ import pygmt
19
+
20
+ fig = pygmt .Figure ()
21
+ # Using the origin projection pole
22
+ fig .coast (
23
+ projection = "Oc280/25.5/22/69/12c" ,
24
+ # Set bottom left and top right coordinates of the figure with "+r"
25
+ region = "270/20/305/25+r" ,
26
+ frame = "afg" ,
27
+ land = "gray" ,
28
+ shorelines = "1/thin" ,
29
+ water = "lightblue" ,
30
+ )
31
+ fig .show ()
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ The below table shows the projection codes for the 31 GMT projections.
53
53
* - **N**\ [|lon0|/]\ *width*
54
54
- :doc:`Robinson </projections/misc/misc_robinson>`
55
55
* - **Oa**\ |lon0|/|lat0|/\ *azim*/*width*\ [**+v**]
56
- - Oblique Mercator, 1: origin and azim
56
+ - :doc:` Oblique Mercator, 1: origin and azim </projections/cyl/cyl_oblique_mercator_1>`
57
57
* - **Ob**\ |lon0|/|lat0|/|lon1|/|lat1|/\ *width*\ [**+v**]
58
- - Oblique Mercator, 2: two points
58
+ - :doc:` Oblique Mercator, 2: two points </projections/cyl/cyl_oblique_mercator_2>`
59
59
* - **Oc**\ |lon0|/|lat0|/|lonp|/|latp|/\ *width*\ [**+v**]
60
- - Oblique Mercator, 3: origin and pole
60
+ - :doc:` Oblique Mercator, 3: origin and pole </projections/cyl/cyl_oblique_mercator_3>`
61
61
* - **P**\ *width*\ [**+a**]\ [**+f**\ [**e**\|\ **p**\|\ *radius*]]\
62
62
[**+r**\ *offset*][**+t**\ *origin*][**+z**\ [**p**\|\ *radius*]]
63
63
- :doc:`Polar </projections/nongeo/polar>` [azimuthal]
You can’t perform that action at this time.
0 commit comments