aboutsummaryrefslogtreecommitdiff
path: root/docs/source/operations/projections/webmerc.rst
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-30 22:42:59 +0200
committerKristian Evers <kristianevers@gmail.com>2018-04-30 22:57:05 +0200
commit970d708ff9d796f7d9ec00b22023e835fbdc7f2d (patch)
treecbee11737ed36f20e51ba19c9e8faa757e79ac0d /docs/source/operations/projections/webmerc.rst
parentcd23e5f1b2630ee07567bd361373ba725774061b (diff)
downloadPROJ-970d708ff9d796f7d9ec00b22023e835fbdc7f2d.tar.gz
PROJ-970d708ff9d796f7d9ec00b22023e835fbdc7f2d.zip
Refactor operation doc pages
Extended the use of the :option: directive to all currently written operation doc pages. In the process several more default parameters were added for easy inclusion in other doc pages. Expanded the info tables for each operation with "domain", "alias", "input type" and "output type". Corrected various errors along the way. Mainly formatting errors and references to invalid parameters such as +sym in hatano.
Diffstat (limited to 'docs/source/operations/projections/webmerc.rst')
-rw-r--r--docs/source/operations/projections/webmerc.rst24
1 files changed, 21 insertions, 3 deletions
diff --git a/docs/source/operations/projections/webmerc.rst b/docs/source/operations/projections/webmerc.rst
index 0c465afc..92da2d45 100644
--- a/docs/source/operations/projections/webmerc.rst
+++ b/docs/source/operations/projections/webmerc.rst
@@ -4,6 +4,8 @@
Web Mercator / Pseudo Mercator
********************************************************************************
+.. versionadded:: 5.1.0
+
The Web Mercator / Pseudo Mercator projection is a cylindrical map projection.
This is a variant of the regular :ref:`merc` projection, except that the computation
is done on a sphere, using the semi-major axis of the ellipsoid.
@@ -22,14 +24,19 @@ From `Wikipedia <https://en.wikipedia.org/wiki/Web_Mercator>`_:
+---------------------+----------------------------------------------------------+
| **Classification** | Cylindrical (non conformant if used with ellipsoid) |
+---------------------+----------------------------------------------------------+
-| **Version** | Added in proj 5.1.0 |
-+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical projection |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global, but best used near the equator |
+---------------------+----------------------------------------------------------+
-| **Options** | Neither lat_0, lon_0, lat_ts or k_0 should be used. |
+| **Alias** | webmerc |
++---------------------+----------------------------------------------------------+
+| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
+| **Input type** | Geodetic coordinates |
++---------------------+----------------------------------------------------------+
+| **Output type** | Projected coordinates |
++---------------------+----------------------------------------------------------+
+
Usage
########
@@ -39,6 +46,17 @@ Example::
$ echo 2 49 | proj +proj=webmerc +datum=WGS84
222638.98 6274861.39
+Parameters
+################################################################################
+
+.. note:: All parameters for the projection are optional.
+
+.. include:: ../options/R.rst
+
+.. include:: ../options/x_0.rst
+
+.. include:: ../options/y_0.rst
+
Mathematical definition
#######################