diff options
| author | PROJ deploybot <proj.bot@proj.bot> | 2022-03-22 20:00:06 +0000 |
|---|---|---|
| committer | PROJ deploybot <proj.bot@proj.bot> | 2022-03-22 20:00:06 +0000 |
| commit | a3f43744feec86272fe532124679d3a013ef9a8c (patch) | |
| tree | 27e4198db6011e3097eb7bcfe7197684aba7583a /operations/conversions | |
| download | PROJ-gh-pages.tar.gz PROJ-gh-pages.zip | |
update with results of commit https://github.com/OSGeo/PROJ/commit/53c07a8bd211b7aee4bc07a9c6726005504b7181gh-pages
Diffstat (limited to 'operations/conversions')
| -rw-r--r-- | operations/conversions/axisswap.html | 214 | ||||
| -rw-r--r-- | operations/conversions/cart.html | 203 | ||||
| -rw-r--r-- | operations/conversions/geoc.html | 230 | ||||
| -rw-r--r-- | operations/conversions/index.html | 166 | ||||
| -rw-r--r-- | operations/conversions/latlon.html | 214 | ||||
| -rw-r--r-- | operations/conversions/noop.html | 181 | ||||
| -rw-r--r-- | operations/conversions/pop.html | 255 | ||||
| -rw-r--r-- | operations/conversions/push.html | 254 | ||||
| -rw-r--r-- | operations/conversions/set.html | 238 | ||||
| -rw-r--r-- | operations/conversions/topocentric.html | 279 | ||||
| -rw-r--r-- | operations/conversions/unitconvert.html | 401 |
11 files changed, 2635 insertions, 0 deletions
diff --git a/operations/conversions/axisswap.html b/operations/conversions/axisswap.html new file mode 100644 index 00000000..ada19f35 --- /dev/null +++ b/operations/conversions/axisswap.html @@ -0,0 +1,214 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Axis swap — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/axisswap.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Geodetic to cartesian conversion" href="cart.html" /> + <link rel="prev" title="Conversions" href="index.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Axis swap</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#usage">Usage</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Axis swap</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/axisswap.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="index.html" class="btn btn-neutral float-left" title="Conversions" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="cart.html" class="btn btn-neutral float-right" title="Geodetic to cartesian conversion" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="axis-swap"> +<span id="axisswap"></span><h1>Axis swap<a class="headerlink" href="#axis-swap" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 5.0.0.</span></p> +</div> +<p>Change the order and sign of 2,3 or 4 axes.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>axisswap</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>2D, 3D or 4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>Each of the possible four axes are numbered with 1–4, such that the first input axis +is 1, the second is 2 and so on. The output ordering is controlled by a list of the +input axes re-ordered to the new mapping.</p> +<section id="usage"> +<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2> +<p>Reversing the order of the axes:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=axisswap +order=4,3,2,1 +</pre></div> +</div> +<p>Swapping the first two axes (x and y):</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=axisswap +order=2,1,3,4 +</pre></div> +</div> +<p>The direction, or sign, of an axis can be changed by adding a minus in +front of the axis-number:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=axisswap +order=1,-2,3,4 +</pre></div> +</div> +<p>It is only necessary to specify the axes that are affected by the swap +operation:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=axisswap +order=2,1 +</pre></div> +</div> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-order"> +<span class="sig-name descname"><span class="pre">+order</span></span><span class="sig-prename descclassname"><span class="pre">=<list></span></span><a class="headerlink" href="#cmdoption-arg-order" title="Permalink to this definition">¶</a></dt> +<dd><p>Ordered comma-separated list of axis, e.g. <em>+order=2,1,3,4</em>. +Adding a minus in front of an axis number results in a change of direction +for that axis, e.g. southward instead of northward.</p> +<p><em>Required.</em></p> +</dd></dl> + +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="index.html" class="btn btn-neutral float-left" title="Conversions" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="cart.html" class="btn btn-neutral float-right" title="Geodetic to cartesian conversion" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/cart.html b/operations/conversions/cart.html new file mode 100644 index 00000000..080354e4 --- /dev/null +++ b/operations/conversions/cart.html @@ -0,0 +1,203 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Geodetic to cartesian conversion — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/cart.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Geocentric Latitude" href="geoc.html" /> + <link rel="prev" title="Axis swap" href="axisswap.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Geodetic to cartesian conversion</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#usage">Usage</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Geodetic to cartesian conversion</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/cart.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="axisswap.html" class="btn btn-neutral float-left" title="Axis swap" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="geoc.html" class="btn btn-neutral float-right" title="Geocentric Latitude" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="geodetic-to-cartesian-conversion"> +<span id="cart"></span><h1>Geodetic to cartesian conversion<a class="headerlink" href="#geodetic-to-cartesian-conversion" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 5.0.0.</span></p> +</div> +<p>Convert geodetic coordinates to cartesian coordinates (in the forward path).</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>cart</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>3D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Geodetic coordinates</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Geocentric cartesian coordinates</p></td> +</tr> +</tbody> +</table> +<p>This conversion converts geodetic coordinate values (longitude, latitude, +elevation above ellipsoid) to their geocentric (X, Y, Z) representation, where +the first axis (X) points from the Earth centre to the point of longitude=0, +latitude=0, the second axis (Y) points from the Earth centre to the point of +longitude=90, latitude=0 and the third axis (Z) points to the North pole.</p> +<section id="usage"> +<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2> +<p>Convert geodetic coordinates to GRS80 cartesian coordinates:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>echo 17.7562015132 45.3935192042 133.12 2017.8 | cct +proj=cart +ellps=GRS80 +4272922.1553 1368283.0597 4518261.3501 2017.8000 +</pre></div> +</div> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-ellps"> +<span class="sig-name descname"><span class="pre">+ellps</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-ellps" title="Permalink to this definition">¶</a></dt> +<dd><p>The name of a built-in ellipsoid definition.</p> +<p>See <a class="reference internal" href="../../usage/ellipsoids.html#ellipsoids"><span class="std std-ref">Ellipsoids</span></a> for more information, or execute +<a class="reference internal" href="../../apps/proj.html#cmdoption-proj-le"><code class="xref std std-option docutils literal notranslate"><span class="pre">proj</span> <span class="pre">-le</span></code></a> for a list of built-in ellipsoid names.</p> +<p><em>Defaults to “GRS80”.</em></p> +</dd></dl> + +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="axisswap.html" class="btn btn-neutral float-left" title="Axis swap" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="geoc.html" class="btn btn-neutral float-right" title="Geocentric Latitude" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/geoc.html b/operations/conversions/geoc.html new file mode 100644 index 00000000..5cb5b976 --- /dev/null +++ b/operations/conversions/geoc.html @@ -0,0 +1,230 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Geocentric Latitude — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/geoc.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Lat/long (Geodetic alias)" href="latlon.html" /> + <link rel="prev" title="Geodetic to cartesian conversion" href="cart.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Geocentric Latitude</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#mathematical-definition">Mathematical definition</a></li> +<li class="toctree-l4"><a class="reference internal" href="#usage">Usage</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Geocentric Latitude</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/geoc.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="cart.html" class="btn btn-neutral float-left" title="Geodetic to cartesian conversion" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="latlon.html" class="btn btn-neutral float-right" title="Lat/long (Geodetic alias)" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="geocentric-latitude"> +<span id="geoc"></span><h1>Geocentric Latitude<a class="headerlink" href="#geocentric-latitude" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 5.0.0.</span></p> +</div> +<p>Convert from Geodetic Latitude to Geocentric Latitude (in the forward path).</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>geoc</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>2D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Geodetic coordinates</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Geocentric angular coordinates</p></td> +</tr> +</tbody> +</table> +<p>The geodetic (or geographic) latitude (also called planetographic latitude +in the context of non-Earth bodies) is the angle between the equatorial plane +and the normal (vertical) to the ellipsoid surface at the considered point. +The geodetic latitude is what is normally used everywhere in PROJ when angular +coordinates are expected or produced.</p> +<p>The geocentric latitude (also called planetocentric latitude in the context of +non-Earth bodies) is the angle between the equatorial plane and a line joining +the body centre to the considered point.</p> +<a class="reference internal image-reference" href="../../_images/geocentric_latitude.png"><img alt="Geocentric latitude" class="align-center" src="../../_images/geocentric_latitude.png" style="width: 437.0px; height: 257.0px;" /></a> +<div class="admonition note"> +<p class="admonition-title">Note</p> +<p>This conversion must be distinguished from the <a class="reference internal" href="cart.html#cart"><span class="std std-ref">Geodetic to cartesian conversion</span></a> +which converts geodetic coordinates to geocentric coordinates in the cartesian +domain.</p> +</div> +<section id="mathematical-definition"> +<h2>Mathematical definition<a class="headerlink" href="#mathematical-definition" title="Permalink to this headline">¶</a></h2> +<p>The formulas describing the conversion are taken from <span id="id1">[<a class="reference internal" href="../../zreferences.html#id37" title="Snyder, J. P. Map projections — A working manual. Professional Paper 1395, U.S. Geological Survey, 1987. doi:10.3133/pp1395.">Snyder1987</a>]</span> +(equation 3-28)</p> +<p>Let <span class="math notranslate nohighlight">\(\phi'\)</span> to be the geocentric latitude and <span class="math notranslate nohighlight">\(\phi\)</span> the +geodetic latitude, then</p> +<div class="math notranslate nohighlight"> +\[\phi' = \arctan \left[ (1 - e^2) \tan \left( \phi \right) \right]\]</div> +<p>The geocentric latitude is consequently lesser (in absolute value) than the geodetic +latitude, except at the equator and the poles where they are equal.</p> +<p>On a sphere, they are always equal.</p> +</section> +<section id="usage"> +<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2> +<p>Converting from geodetic latitude to geocentric latitude:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=geoc +ellps=GRS80 +</pre></div> +</div> +<p>Converting from geocentric latitude to geodetic latitude:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=pipeline +step +proj=geoc +inv +ellps=GRS80 +</pre></div> +</div> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-ellps"> +<span class="sig-name descname"><span class="pre">+ellps</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-ellps" title="Permalink to this definition">¶</a></dt> +<dd><p>The name of a built-in ellipsoid definition.</p> +<p>See <a class="reference internal" href="../../usage/ellipsoids.html#ellipsoids"><span class="std std-ref">Ellipsoids</span></a> for more information, or execute +<a class="reference internal" href="../../apps/proj.html#cmdoption-proj-le"><code class="xref std std-option docutils literal notranslate"><span class="pre">proj</span> <span class="pre">-le</span></code></a> for a list of built-in ellipsoid names.</p> +<p><em>Defaults to “GRS80”.</em></p> +</dd></dl> + +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="cart.html" class="btn btn-neutral float-left" title="Geodetic to cartesian conversion" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="latlon.html" class="btn btn-neutral float-right" title="Lat/long (Geodetic alias)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/index.html b/operations/conversions/index.html new file mode 100644 index 00000000..eea9c43f --- /dev/null +++ b/operations/conversions/index.html @@ -0,0 +1,166 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Conversions — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/index.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Axis swap" href="axisswap.html" /> + <link rel="prev" title="Winkel Tripel" href="../projections/wintri.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="current reference internal" href="#">Conversions</a><ul> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li>Conversions</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/index.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="../projections/wintri.html" class="btn btn-neutral float-left" title="Winkel Tripel" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="axisswap.html" class="btn btn-neutral float-right" title="Axis swap" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="conversions"> +<span id="conversions-list"></span><h1>Conversions<a class="headerlink" href="#conversions" title="Permalink to this headline">¶</a></h1> +<p>Conversions are coordinate operations in which both coordinate reference systems +are based on the same datum. In PROJ projections are differentiated from +conversions.</p> +<div class="toctree-wrapper compound"> +<ul> +<li class="toctree-l1"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l1"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l1"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l1"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l1"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l1"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l1"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l1"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l1"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l1"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</div> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="../projections/wintri.html" class="btn btn-neutral float-left" title="Winkel Tripel" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="axisswap.html" class="btn btn-neutral float-right" title="Axis swap" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/latlon.html b/operations/conversions/latlon.html new file mode 100644 index 00000000..764c686c --- /dev/null +++ b/operations/conversions/latlon.html @@ -0,0 +1,214 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Lat/long (Geodetic alias) — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/latlon.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="No operation" href="noop.html" /> + <link rel="prev" title="Geocentric Latitude" href="geoc.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Lat/long (Geodetic alias)</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Lat/long (Geodetic alias)</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/latlon.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="geoc.html" class="btn btn-neutral float-left" title="Geocentric Latitude" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="noop.html" class="btn btn-neutral float-right" title="No operation" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="lat-long-geodetic-alias"> +<span id="latlon"></span><h1>Lat/long (Geodetic alias)<a class="headerlink" href="#lat-long-geodetic-alias" title="Permalink to this headline">¶</a></h1> +<p>Passes geodetic coordinates through unchanged.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Aliases</strong></p></td> +<td><p>latlon, latlong, lonlat, longlat</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>2D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Geodetic coordinates</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Geodetic coordinates</p></td> +</tr> +</tbody> +</table> +<div class="admonition note"> +<p class="admonition-title">Note</p> +<p>Can not be used with the <strong class="program">proj</strong> application.</p> +</div> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<p>No parameters will affect the output of the operation if used on it’s own. +However, the parameters below can be used in a declarative manner when used with +<strong class="program">cs2cs</strong> or in a <a class="reference internal" href="../pipeline.html#pipeline"><span class="std std-ref">transformation pipeline</span></a> .</p> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-ellps"> +<span class="sig-name descname"><span class="pre">+ellps</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-ellps" title="Permalink to this definition">¶</a></dt> +<dd><p>The name of a built-in ellipsoid definition.</p> +<p>See <a class="reference internal" href="../../usage/ellipsoids.html#ellipsoids"><span class="std std-ref">Ellipsoids</span></a> for more information, or execute +<a class="reference internal" href="../../apps/proj.html#cmdoption-proj-le"><code class="xref std std-option docutils literal notranslate"><span class="pre">proj</span> <span class="pre">-le</span></code></a> for a list of built-in ellipsoid names.</p> +<p><em>Defaults to “GRS80”.</em></p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-datum"> +<span class="sig-name descname"><span class="pre">+datum</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-datum" title="Permalink to this definition">¶</a></dt> +<dd><p>Declare the datum used with the coordinates. Available options are: +<code class="docutils literal notranslate"><span class="pre">WGS84</span></code>, <code class="docutils literal notranslate"><span class="pre">GGRS87</span></code>, <code class="docutils literal notranslate"><span class="pre">NAD38</span></code>, <code class="docutils literal notranslate"><span class="pre">NAD27</span></code>, <code class="docutils literal notranslate"><span class="pre">potsdam</span></code>, <code class="docutils literal notranslate"><span class="pre">carthage</span></code>, +<code class="docutils literal notranslate"><span class="pre">hermannskogel</span></code>, <code class="docutils literal notranslate"><span class="pre">ire65</span></code>, <code class="docutils literal notranslate"><span class="pre">nzgd49</span></code>, <code class="docutils literal notranslate"><span class="pre">OSGB336</span></code>.</p> +<div class="admonition note"> +<p class="admonition-title">Note</p> +<p>The <code class="docutils literal notranslate"><span class="pre">+datum</span></code> option is primarily available to support the legacy +use of PROJ.4 strings as CRS descriptors and should in most cases +be avoided.</p> +</div> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-towgs84"> +<span class="sig-name descname"><span class="pre">+towgs84</span></span><span class="sig-prename descclassname"><span class="pre">=<list></span></span><a class="headerlink" href="#cmdoption-arg-towgs84" title="Permalink to this definition">¶</a></dt> +<dd><p>A list of three or seven <a class="reference internal" href="../transformations/helmert.html#helmert"><span class="std std-ref">Helmert</span></a> parameters that maps +the input coordinates to the WGS84 datum.</p> +</dd></dl> + +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="geoc.html" class="btn btn-neutral float-left" title="Geocentric Latitude" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="noop.html" class="btn btn-neutral float-right" title="No operation" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/noop.html b/operations/conversions/noop.html new file mode 100644 index 00000000..40c602ae --- /dev/null +++ b/operations/conversions/noop.html @@ -0,0 +1,181 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>No operation — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/noop.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Pop coordinate value to pipeline stack" href="pop.html" /> + <link rel="prev" title="Lat/long (Geodetic alias)" href="latlon.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>No operation</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/noop.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="latlon.html" class="btn btn-neutral float-left" title="Lat/long (Geodetic alias)" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="pop.html" class="btn btn-neutral float-right" title="Pop coordinate value to pipeline stack" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="no-operation"> +<span id="noop"></span><h1>No operation<a class="headerlink" href="#no-operation" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 6.1.0.</span></p> +</div> +<p>Pass a coordinate through unchanged.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>noop</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>The no operation is a dummy operation that returns whatever is passed to it +as seen in this example:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ echo 12 34 56 78 | cct +proj=noop + 12.0000 34.0000 56.0000 78.0000 +</pre></div> +</div> +<p>The operation has no options and default options will not affect the output.</p> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="latlon.html" class="btn btn-neutral float-left" title="Lat/long (Geodetic alias)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="pop.html" class="btn btn-neutral float-right" title="Pop coordinate value to pipeline stack" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/pop.html b/operations/conversions/pop.html new file mode 100644 index 00000000..dc8680d5 --- /dev/null +++ b/operations/conversions/pop.html @@ -0,0 +1,255 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Pop coordinate value to pipeline stack — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/pop.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Push coordinate value to pipeline stack" href="push.html" /> + <link rel="prev" title="No operation" href="noop.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Pop coordinate value to pipeline stack</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#examples">Examples</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +<li class="toctree-l4"><a class="reference internal" href="#further-reading">Further reading</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Pop coordinate value to pipeline stack</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/pop.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="noop.html" class="btn btn-neutral float-left" title="No operation" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="push.html" class="btn btn-neutral float-right" title="Push coordinate value to pipeline stack" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="pop-coordinate-value-to-pipeline-stack"> +<span id="pop"></span><h1>Pop coordinate value to pipeline stack<a class="headerlink" href="#pop-coordinate-value-to-pipeline-stack" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 6.0.0.</span></p> +</div> +<p>Retrieve components of a coordinate that was saved in a previous pipeline step.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>pop</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>This operations makes it possible to retrieve coordinate components that was +saved in previous pipeline steps. A retrieved coordinate component is loaded, +or <em>popped</em>, from a memory stack that is part of a <a class="reference internal" href="../pipeline.html#pipeline"><span class="std std-ref">pipeline</span></a>. +The pipeline coordinate stack is inspired by the stack data structure that is +commonly used in computer science. There’s four stacks available: One four each +coordinate dimension. The dimensions, or coordinate components, are numbered +1–4. It is only possible to move data to and from the stack within the same +coordinate component number. Values can be saved to the stack by using the +<a class="reference internal" href="push.html#push"><span class="std std-ref">push operation</span></a>.</p> +<p>If the pop operation is used by itself, e.g. not in a pipeline, it will +function as a no-operation that passes the coordinate through unchanged. +Similarly, if no coordinate component is available on the stack to be popped +the operation does nothing.</p> +<section id="examples"> +<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2> +<p>A common use of the <a class="reference internal" href="push.html#push"><span class="std std-ref">push</span></a> and pop operations is in 3D +<a class="reference internal" href="../transformations/helmert.html#helmert"><span class="std std-ref">Helmert</span></a> transformations where only the horizontal components +are needed. This is often the case when combining heights from a legacy +vertical reference with a modern geocentric reference. Below is a an example of +such a transformation, where the horizontal part is transformed with a Helmert +operation but the vertical part is kept exactly as the input was.</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ echo 12 56 12.3 2020 | cct +proj=pipeline \ ++step +proj=push +v_3 \ ++step +proj=cart +ellps=GRS80 \ ++step +proj=helmert +x=3000 +y=1000 +z=2000 \ ++step +proj=cart +ellps=GRS80 +inv \ ++step +proj=pop +v_3 \ + + 12.0056753463 55.9866540552 12.3000 2000.0000 +</pre></div> +</div> +<p>Note that the third coordinate component in the output is the same as the input.</p> +<p>The same transformation without the push and pop operations would look like this:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ echo 12 56 12.3 2020 | cct +proj=pipeline \ ++step +proj=cart +ellps=GRS80 \ ++step +proj=helmert +x=3000 +y=1000 +z=2000 \ ++step +proj=cart +ellps=GRS80 +inv \ + + 12.0057 55.9867 3427.7404 2000.0000 +</pre></div> +</div> +<p>Here the vertical component is adjusted significantly.</p> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_1"> +<span id="cmdoption-arg-v-1"></span><span class="sig-name descname"><span class="pre">+v_1</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_1" title="Permalink to this definition">¶</a></dt> +<dd><p>Retrieves the first coordinate component from the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_2"> +<span id="cmdoption-arg-v-2"></span><span class="sig-name descname"><span class="pre">+v_2</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_2" title="Permalink to this definition">¶</a></dt> +<dd><p>Retrieves the second coordinate component from the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_3"> +<span id="cmdoption-arg-v-3"></span><span class="sig-name descname"><span class="pre">+v_3</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_3" title="Permalink to this definition">¶</a></dt> +<dd><p>Retrieves the third coordinate component from the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_4"> +<span id="cmdoption-arg-v-4"></span><span class="sig-name descname"><span class="pre">+v_4</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_4" title="Permalink to this definition">¶</a></dt> +<dd><p>Retrieves the fourth coordinate component from the pipeline stack</p> +</dd></dl> + +</section> +<section id="further-reading"> +<h2>Further reading<a class="headerlink" href="#further-reading" title="Permalink to this headline">¶</a></h2> +<ol class="arabic simple"> +<li><p><a class="reference external" href="https://en.wikipedia.org/wiki/Stack_(abstract_data_type)">Stack data structure on Wikipedia</a></p></li> +</ol> +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="noop.html" class="btn btn-neutral float-left" title="No operation" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="push.html" class="btn btn-neutral float-right" title="Push coordinate value to pipeline stack" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/push.html b/operations/conversions/push.html new file mode 100644 index 00000000..a31a2565 --- /dev/null +++ b/operations/conversions/push.html @@ -0,0 +1,254 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Push coordinate value to pipeline stack — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/push.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Set coordinate value" href="set.html" /> + <link rel="prev" title="Pop coordinate value to pipeline stack" href="pop.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Push coordinate value to pipeline stack</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#examples">Examples</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +<li class="toctree-l4"><a class="reference internal" href="#further-reading">Further reading</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Push coordinate value to pipeline stack</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/push.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="pop.html" class="btn btn-neutral float-left" title="Pop coordinate value to pipeline stack" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="set.html" class="btn btn-neutral float-right" title="Set coordinate value" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="push-coordinate-value-to-pipeline-stack"> +<span id="push"></span><h1>Push coordinate value to pipeline stack<a class="headerlink" href="#push-coordinate-value-to-pipeline-stack" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 6.0.0.</span></p> +</div> +<p>Save components of a coordinate from one step of a pipeline and make it +available for retrieving in another pipeline step.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>push</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>This operations allows for components of coordinates to be saved for +application in a later step. A saved coordinate component is moved, or +<em>pushed</em>, to a memory stack that is part of a <a class="reference internal" href="../pipeline.html#pipeline"><span class="std std-ref">pipeline</span></a>. The +pipeline coordinate stack is inspired by the stack data structure that is +commonly used in computer science. There’s four stacks available: One four each +coordinate dimension. The dimensions, or coordinate components, are numbered +1–4. It is only possible to move data to and from the stack within the same +coordinate component number. Values can be moved off the stack again by using +the <a class="reference internal" href="pop.html#pop"><span class="std std-ref">pop operation</span></a>.</p> +<p>If the push operation is used by itself, e.g. not in a pipeline, it will +function as a no-operation that passes the coordinate through unchanged.</p> +<section id="examples"> +<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2> +<p>A common use of the push and <a class="reference internal" href="pop.html#pop"><span class="std std-ref">pop</span></a> operations is in 3D +<a class="reference internal" href="../transformations/helmert.html#helmert"><span class="std std-ref">Helmert</span></a> transformations where only the horizontal components +are needed. This is often the case when combining heights from a legacy +vertical reference with a modern geocentric reference. Below is a an example of +such a transformation, where the horizontal part is transformed with a Helmert +operation but the vertical part is kept exactly as the input was.</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ echo 12 56 12.3 2020 | cct +proj=pipeline \ ++step +proj=push +v_3 \ ++step +proj=cart +ellps=GRS80 \ ++step +proj=helmert +x=3000 +y=1000 +z=2000 \ ++step +proj=cart +ellps=GRS80 +inv \ ++step +proj=pop +v_3 \ + + 12.0056753463 55.9866540552 12.3000 2000.0000 +</pre></div> +</div> +<p>Note that the third coordinate component in the output is the same as the input.</p> +<p>The same transformation without the push and pop operations would look like this:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ echo 12 56 12.3 2020 | cct +proj=pipeline \ ++step +proj=cart +ellps=GRS80 \ ++step +proj=helmert +x=3000 +y=1000 +z=2000 \ ++step +proj=cart +ellps=GRS80 +inv \ + + 12.0057 55.9867 3427.7404 2000.0000 +</pre></div> +</div> +<p>Here the vertical component is adjusted significantly.</p> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_1"> +<span id="cmdoption-arg-v-1"></span><span class="sig-name descname"><span class="pre">+v_1</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_1" title="Permalink to this definition">¶</a></dt> +<dd><p>Stores the first coordinate component on the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_2"> +<span id="cmdoption-arg-v-2"></span><span class="sig-name descname"><span class="pre">+v_2</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_2" title="Permalink to this definition">¶</a></dt> +<dd><p>Stores the second coordinate component on the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_3"> +<span id="cmdoption-arg-v-3"></span><span class="sig-name descname"><span class="pre">+v_3</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_3" title="Permalink to this definition">¶</a></dt> +<dd><p>Stores the third coordinate component on the pipeline stack</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_4"> +<span id="cmdoption-arg-v-4"></span><span class="sig-name descname"><span class="pre">+v_4</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-v_4" title="Permalink to this definition">¶</a></dt> +<dd><p>Stores the fourth coordinate component on the pipeline stack</p> +</dd></dl> + +</section> +<section id="further-reading"> +<h2>Further reading<a class="headerlink" href="#further-reading" title="Permalink to this headline">¶</a></h2> +<ol class="arabic simple"> +<li><p><a class="reference external" href="https://en.wikipedia.org/wiki/Stack_(abstract_data_type)">Stack data structure on Wikipedia</a></p></li> +</ol> +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="pop.html" class="btn btn-neutral float-left" title="Pop coordinate value to pipeline stack" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="set.html" class="btn btn-neutral float-right" title="Set coordinate value" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/set.html b/operations/conversions/set.html new file mode 100644 index 00000000..07760e66 --- /dev/null +++ b/operations/conversions/set.html @@ -0,0 +1,238 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Set coordinate value — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/set.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Geocentric to topocentric conversion" href="topocentric.html" /> + <link rel="prev" title="Push coordinate value to pipeline stack" href="push.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Set coordinate value</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#example">Example</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Set coordinate value</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/set.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="push.html" class="btn btn-neutral float-left" title="Push coordinate value to pipeline stack" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="topocentric.html" class="btn btn-neutral float-right" title="Geocentric to topocentric conversion" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="set-coordinate-value"> +<span id="set"></span><h1>Set coordinate value<a class="headerlink" href="#set-coordinate-value" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 7.0.0.</span></p> +</div> +<p>Set component(s) of a coordinate to a fixed value.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>set</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>This operations allows for components of coordinates to be set to a fixed value. +This may be useful in <a class="reference internal" href="../pipeline.html#pipeline"><span class="std std-ref">pipeline</span></a> when a step requires some +component, typically an elevation or a date, to be set to a fixed value.</p> +<section id="example"> +<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2> +<p>In the ETRS89 to Dutch RD with NAP height transformation, the used ellipsoidal +height for the Helmert transformation is not the NAP height, but the height is +set to 0 m. This is an unconventional trick to get the same results as when the +effect of the Helmert transformation is included in the horizontal NTv2 grid. +For the forward transformation from ETRS89 to RD with NAP height, we need to set +the ellipsoidal ETRS89 height for the Helmert transformation to the equivalent +of 0 m NAP. This is 43 m for the centre of the Netherlands and this value can +be used as an approximation elsewhere (the effect of this approximation is +below 1 mm for the horizontal coordinates, in an area up to hundreds of km +outside the Netherlands).</p> +<p>The <code class="docutils literal notranslate"><span class="pre">+proj=set</span> <span class="pre">+v_3=0</span></code> close to the end of the pipeline is to make it usable in +the reverse direction.</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ cct -t 0 -d 4 +proj=pipeline \ + +step +proj=unitconvert +xy_in=deg +xy_out=rad \ + +step +proj=axisswap +order=2,1 \ + +step +proj=vgridshift +grids=nlgeo2018.gtx \ + +step +proj=push +v_3 \ + +step +proj=set +v_3=43 \ + +step +proj=cart +ellps=GRS80 \ + +step +proj=helmert +x=-565.7346 +y=-50.4058 +z=-465.2895 +rx=-0.395023 +ry=0.330776 +rz=-1.876073 +s=-4.07242 +convention=coordinate_frame +exact \ + +step +proj=cart +inv +ellps=bessel \ + +step +proj=hgridshift +inv +grids=rdcorr2018.gsb,null \ + +step +proj=sterea +lat_0=52.156160556 +lon_0=5.387638889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel \ + +step +proj=set +v_3=0 \ + +step +proj=pop +v_3 +</pre></div> +</div> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_1"> +<span id="cmdoption-arg-v-1"></span><span class="sig-name descname"><span class="pre">+v_1</span></span><span class="sig-prename descclassname"><span class="pre">=value</span></span><a class="headerlink" href="#cmdoption-arg-v_1" title="Permalink to this definition">¶</a></dt> +<dd><p>Set the first coordinate component to the specified value</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_2"> +<span id="cmdoption-arg-v-2"></span><span class="sig-name descname"><span class="pre">+v_2</span></span><span class="sig-prename descclassname"><span class="pre">=value</span></span><a class="headerlink" href="#cmdoption-arg-v_2" title="Permalink to this definition">¶</a></dt> +<dd><p>Set the second coordinate component to the specified value</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_3"> +<span id="cmdoption-arg-v-3"></span><span class="sig-name descname"><span class="pre">+v_3</span></span><span class="sig-prename descclassname"><span class="pre">=value</span></span><a class="headerlink" href="#cmdoption-arg-v_3" title="Permalink to this definition">¶</a></dt> +<dd><p>Set the third coordinate component to the specified value</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-v_4"> +<span id="cmdoption-arg-v-4"></span><span class="sig-name descname"><span class="pre">+v_4</span></span><span class="sig-prename descclassname"><span class="pre">=value</span></span><a class="headerlink" href="#cmdoption-arg-v_4" title="Permalink to this definition">¶</a></dt> +<dd><p>Set the fourth coordinate component to the specified value</p> +</dd></dl> + +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="push.html" class="btn btn-neutral float-left" title="Push coordinate value to pipeline stack" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="topocentric.html" class="btn btn-neutral float-right" title="Geocentric to topocentric conversion" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/topocentric.html b/operations/conversions/topocentric.html new file mode 100644 index 00000000..f1027efa --- /dev/null +++ b/operations/conversions/topocentric.html @@ -0,0 +1,279 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Geocentric to topocentric conversion — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/topocentric.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Unit conversion" href="unitconvert.html" /> + <link rel="prev" title="Set coordinate value" href="set.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Geocentric to topocentric conversion</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#usage">Usage</a></li> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +</ul> +</li> +<li class="toctree-l3"><a class="reference internal" href="unitconvert.html">Unit conversion</a></li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Geocentric to topocentric conversion</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/topocentric.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="set.html" class="btn btn-neutral float-left" title="Set coordinate value" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="unitconvert.html" class="btn btn-neutral float-right" title="Unit conversion" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="geocentric-to-topocentric-conversion"> +<span id="topocentric"></span><h1>Geocentric to topocentric conversion<a class="headerlink" href="#geocentric-to-topocentric-conversion" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 8.0.0.</span></p> +</div> +<p>Convert geocentric coordinates to topocentric coordinates (in the forward path).</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>topocentric</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>3D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Geocentric cartesian coordinates</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Topocentric cartesian coordinates</p></td> +</tr> +</tbody> +</table> +<p>This operation converts geocentric coordinate values (X, Y, Z) to topocentric +(E/East, N/North, U/Up) values. This is also sometimes known as the ECEF (Earth +Centered Earth Fixed) to ENU conversion.</p> +<p>Topocentric coordinates are expressed in a frame whose East and North axis form +a local tangent plane to the Earth’s ellipsoidal surface fixed to a specific +location (the topocentric origin), and the Up axis points upwards along the +normal to that plane.</p> +<a class="reference internal image-reference" href="../../_images/ECEF_ENU_Longitude_Latitude_relationships.png"><img alt="ENU coordinate frame" class="align-center" src="../../_images/ECEF_ENU_Longitude_Latitude_relationships.png" style="width: 400.0px; height: 379.0px;" /></a> +<p>The topocentric origin is a required parameter of the conversion, and can be +expressed either as geocentric coordinates (<code class="docutils literal notranslate"><span class="pre">X_0</span></code>, <code class="docutils literal notranslate"><span class="pre">Y_0</span></code> and <code class="docutils literal notranslate"><span class="pre">Z_0</span></code>) or +as geographic coordinates (<code class="docutils literal notranslate"><span class="pre">lat_0</span></code>, <code class="docutils literal notranslate"><span class="pre">lon_0</span></code>, <code class="docutils literal notranslate"><span class="pre">h_0</span></code>).</p> +<p>When conversion between geographic and topocentric coordinates is desired, the +topocentric conversion must be preceded by the <a class="reference internal" href="cart.html#cart"><span class="std std-ref">Geodetic to cartesian conversion</span></a> conversion to +perform the initial geographic to geocentric coordinates conversion.</p> +<p>The formulas used come from the “Geocentric/topocentric conversions” paragraph +of <span id="id1">[<a class="reference internal" href="../../zreferences.html#id17" title="IOGP. Geomatics guidance note 7, part 2: coordinate conversions & transformations including formulas. IOGP Publication 373-7-2, International Association For Oil And Gas Producers, 2018. URL: https://www.iogp.org/bookstore/product/coordinate-conversions-and-transformation-including-formulas/.">IOGP2018</a>]</span>. <code class="docutils literal notranslate"><span class="pre">+proj=topocentric</span></code> alone corresponds to the <code class="docutils literal notranslate"><span class="pre">EPSG:9836</span></code> +conversion method, <code class="docutils literal notranslate"><span class="pre">+proj=cart</span></code> followed by <code class="docutils literal notranslate"><span class="pre">+proj=topocentric</span></code> corresponds +to <code class="docutils literal notranslate"><span class="pre">EPSG:9837</span></code>.</p> +<section id="usage"> +<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2> +<p>Convert geocentric coordinates to topocentric coordinates, with the topocentric +origin specified in geocentric coordinates:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>echo 3771793.968 140253.342 5124304.349 2020 | \ + cct -d 3 +proj=topocentric +ellps=WGS84 +X_0=3652755.3058 +Y_0=319574.6799 +Z_0=5201547.3536 + +-189013.869 -128642.040 -4220.171 2020.0000 +</pre></div> +</div> +<p>Convert geographic coordinates to topocentric coordinates, with the topocentric +origin specified in geographic coordinates:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>echo 2.12955 53.80939444 73 2020 | cct -d 3 +proj=pipeline \ + +step +proj=cart +ellps=WGS84 \ + +step +proj=topocentric +ellps=WGS84 +lon_0=5 +lat_0=55 +h_0=200 + +-189013.869 -128642.040 -4220.171 2020.0000 +</pre></div> +</div> +</section> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-ellps"> +<span class="sig-name descname"><span class="pre">+ellps</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-ellps" title="Permalink to this definition">¶</a></dt> +<dd><p>The name of a built-in ellipsoid definition.</p> +<p>See <a class="reference internal" href="../../usage/ellipsoids.html#ellipsoids"><span class="std std-ref">Ellipsoids</span></a> for more information, or execute +<a class="reference internal" href="../../apps/proj.html#cmdoption-proj-le"><code class="xref std std-option docutils literal notranslate"><span class="pre">proj</span> <span class="pre">-le</span></code></a> for a list of built-in ellipsoid names.</p> +<p><em>Defaults to “GRS80”.</em></p> +</dd></dl> + +<section id="topocentric-origin-described-as-geocentric-coordinates"> +<h3>Topocentric origin described as geocentric coordinates<a class="headerlink" href="#topocentric-origin-described-as-geocentric-coordinates" title="Permalink to this headline">¶</a></h3> +<div class="admonition note"> +<p class="admonition-title">Note</p> +<p>The below options are mutually exclusive with the ones to express the origin as geographic coordinates.</p> +</div> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-X_0"> +<span id="cmdoption-arg-x-0"></span><span class="sig-name descname"><span class="pre">+X_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-X_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Geocentric X value of the topocentric origin (in metre)</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-Y_0"> +<span id="cmdoption-arg-y-0"></span><span class="sig-name descname"><span class="pre">+Y_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-Y_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Geocentric Y value of the topocentric origin (in metre)</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-Z_0"> +<span id="cmdoption-arg-z-0"></span><span class="sig-name descname"><span class="pre">+Z_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-Z_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Geocentric Z value of the topocentric origin (in metre)</p> +</dd></dl> + +</section> +<section id="topocentric-origin-described-as-geographic-coordinates"> +<h3>Topocentric origin described as geographic coordinates<a class="headerlink" href="#topocentric-origin-described-as-geographic-coordinates" title="Permalink to this headline">¶</a></h3> +<div class="admonition note"> +<p class="admonition-title">Note</p> +<p>The below options are mutually exclusive with the ones to express the origin as geocentric coordinates.</p> +</div> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-lat_0"> +<span id="cmdoption-arg-lat-0"></span><span class="sig-name descname"><span class="pre">+lat_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-lat_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Latitude of topocentric origin (in degree)</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-lon_0"> +<span id="cmdoption-arg-lon-0"></span><span class="sig-name descname"><span class="pre">+lon_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-lon_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Longitude of topocentric origin (in degree)</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-h_0"> +<span id="cmdoption-arg-h-0"></span><span class="sig-name descname"><span class="pre">+h_0</span></span><span class="sig-prename descclassname"><span class="pre">=<value></span></span><a class="headerlink" href="#cmdoption-arg-h_0" title="Permalink to this definition">¶</a></dt> +<dd><p>Ellipsoidal height of topocentric origin (in metre)</p> +<p><em>Defaults to 0.0.</em></p> +</dd></dl> + +</section> +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="set.html" class="btn btn-neutral float-left" title="Set coordinate value" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="unitconvert.html" class="btn btn-neutral float-right" title="Unit conversion" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file diff --git a/operations/conversions/unitconvert.html b/operations/conversions/unitconvert.html new file mode 100644 index 00000000..52c618ae --- /dev/null +++ b/operations/conversions/unitconvert.html @@ -0,0 +1,401 @@ +<!DOCTYPE html> +<html class="writer-html5" lang="en" > +<head> + <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> + + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Unit conversion — PROJ 9.0.0 documentation</title> + <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> + <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" /> + <link rel="shortcut icon" href="../../_static/favicon.png"/> + <link rel="canonical" href="https://proj.orgoperations/conversions/unitconvert.html"/> + <!--[if lt IE 9]> + <script src="../../_static/js/html5shiv.min.js"></script> + <![endif]--> + + <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script> + <script src="../../_static/jquery.js"></script> + <script src="../../_static/underscore.js"></script> + <script src="../../_static/doctools.js"></script> + <script src="../../_static/js/theme.js"></script> + <link rel="author" title="About these documents" href="../../about.html" /> + <link rel="index" title="Index" href="../../genindex.html" /> + <link rel="search" title="Search" href="../../search.html" /> + <link rel="next" title="Transformations" href="../transformations/index.html" /> + <link rel="prev" title="Geocentric to topocentric conversion" href="topocentric.html" /> +</head> + +<body class="wy-body-for-nav"> + <div class="wy-grid-for-nav"> + <nav data-toggle="wy-nav-shift" class="wy-nav-side"> + <div class="wy-side-scroll"> + <div class="wy-side-nav-search" style="background: #353130" > + <a href="../../index.html"> + <img src="../../_static/logo.png" class="logo" alt="Logo"/> + </a> + <div class="version"> + 9.0.0 + </div> +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> + </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> + <ul class="current"> +<li class="toctree-l1"><a class="reference internal" href="../../about.html">About</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../news.html">News</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../download.html">Download</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../install.html">Installation</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../usage/index.html">Using PROJ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../apps/index.html">Applications</a></li> +<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Coordinate operations</a><ul class="current"> +<li class="toctree-l2"><a class="reference internal" href="../projections/index.html">Projections</a></li> +<li class="toctree-l2 current"><a class="reference internal" href="index.html">Conversions</a><ul class="current"> +<li class="toctree-l3"><a class="reference internal" href="axisswap.html">Axis swap</a></li> +<li class="toctree-l3"><a class="reference internal" href="cart.html">Geodetic to cartesian conversion</a></li> +<li class="toctree-l3"><a class="reference internal" href="geoc.html">Geocentric Latitude</a></li> +<li class="toctree-l3"><a class="reference internal" href="latlon.html">Lat/long (Geodetic alias)</a></li> +<li class="toctree-l3"><a class="reference internal" href="noop.html">No operation</a></li> +<li class="toctree-l3"><a class="reference internal" href="pop.html">Pop coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="push.html">Push coordinate value to pipeline stack</a></li> +<li class="toctree-l3"><a class="reference internal" href="set.html">Set coordinate value</a></li> +<li class="toctree-l3"><a class="reference internal" href="topocentric.html">Geocentric to topocentric conversion</a></li> +<li class="toctree-l3 current"><a class="current reference internal" href="#">Unit conversion</a><ul> +<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li> +<li class="toctree-l4"><a class="reference internal" href="#distance-units">Distance units</a></li> +<li class="toctree-l4"><a class="reference internal" href="#angular-units">Angular units</a></li> +<li class="toctree-l4"><a class="reference internal" href="#time-units">Time units</a></li> +</ul> +</li> +</ul> +</li> +<li class="toctree-l2"><a class="reference internal" href="../transformations/index.html">Transformations</a></li> +<li class="toctree-l2"><a class="reference internal" href="../pipeline.html">The pipeline operator</a></li> +<li class="toctree-l2"><a class="reference internal" href="../operations_computation.html">Computation of coordinate operations between two CRS</a></li> +</ul> +</li> +<li class="toctree-l1"><a class="reference internal" href="../../resource_files.html">Resource files</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../geodesic.html">Geodesic calculations</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Development</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../specifications/index.html">Specifications</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../community/index.html">Community</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../faq.html">FAQ</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li> +<li class="toctree-l1"><a class="reference internal" href="../../zreferences.html">References</a></li> +</ul> + + </div> + </div> + </nav> + + <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" style="background: #353130" > + <i data-toggle="wy-nav-top" class="fa fa-bars"></i> + <a href="../../index.html">PROJ</a> + </nav> + + <div class="wy-nav-content"> + <div class="rst-content"> + <div role="navigation" aria-label="Page navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="../../index.html" class="icon icon-home"></a> »</li> + <li><a href="../index.html">Coordinate operations</a> »</li> + <li><a href="index.html">Conversions</a> »</li> + <li>Unit conversion</li> + <li class="wy-breadcrumbs-aside"> + <a href="https://github.com/OSGeo/PROJ/edit/8.2/docs/source/operations/conversions/unitconvert.rst" class="fa fa-github"> Edit on GitHub</a> + </li> + </ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation"> + <a href="topocentric.html" class="btn btn-neutral float-left" title="Geocentric to topocentric conversion" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="../transformations/index.html" class="btn btn-neutral float-right" title="Transformations" accesskey="n">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + <hr/> +</div> + <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> + <div itemprop="articleBody"> + + <section id="unit-conversion"> +<span id="unitconvert"></span><h1>Unit conversion<a class="headerlink" href="#unit-conversion" title="Permalink to this headline">¶</a></h1> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 5.0.0.</span></p> +</div> +<p>Convert between various distance, angular and time units.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 27%" /> +<col style="width: 73%" /> +</colgroup> +<tbody> +<tr class="row-odd"><td><p><strong>Alias</strong></p></td> +<td><p>unitconvert</p></td> +</tr> +<tr class="row-even"><td><p><strong>Domain</strong></p></td> +<td><p>2D, 3D or 4D</p></td> +</tr> +<tr class="row-odd"><td><p><strong>Input type</strong></p></td> +<td><p>Any</p></td> +</tr> +<tr class="row-even"><td><p><strong>Output type</strong></p></td> +<td><p>Any</p></td> +</tr> +</tbody> +</table> +<p>There are many examples of coordinate reference systems that are expressed in +other units than the meter. There are also many cases where temporal data +has to be translated to different units. The <cite>unitconvert</cite> operation takes care +of that.</p> +<p>Many North American systems are defined with coordinates in feet. For example +in Vermont:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=pipeline ++step +proj=tmerc +lat_0=42.5 +lon_0=-72.5 +k_0=0.999964286 +x_0=500000.00001016 +y_0=0 ++step +proj=unitconvert +xy_in=m +xy_out=us-ft +</pre></div> +</div> +<p>Often when working with GNSS data the timestamps are presented in GPS-weeks, +but when the data transformed with the <cite>helmert</cite> operation timestamps are +expected to be in units of decimalyears. This can be fixed with <cite>unitconvert</cite>:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>+proj=pipeline ++step +proj=unitconvert +t_in=gps_week +t_out=decimalyear ++step +proj=helmert +epoch=2000.0 +t_obs=2017.5 ... +</pre></div> +</div> +<section id="parameters"> +<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2> +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-xy_in"> +<span id="cmdoption-arg-xy-in"></span><span class="sig-name descname"><span class="pre">+xy_in</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span> <span class="pre">or</span> <span class="pre"><conversion_factor></span></span><a class="headerlink" href="#cmdoption-arg-xy_in" title="Permalink to this definition">¶</a></dt> +<dd><p>Horizontal input units. See <a class="reference internal" href="#distance-units"><span class="std std-ref">Distance units</span></a> and <a class="reference internal" href="#angular-units"><span class="std std-ref">Angular units</span></a> +for a list of available units. <cite><conversion_factor></cite> is the conversion factor +from the input unit to metre for linear units, or to radian for angular +units.</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-xy_out"> +<span id="cmdoption-arg-xy-out"></span><span class="sig-name descname"><span class="pre">+xy_out</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span> <span class="pre">or</span> <span class="pre"><conversion_factor></span></span><a class="headerlink" href="#cmdoption-arg-xy_out" title="Permalink to this definition">¶</a></dt> +<dd><p>Horizontal output units. See <a class="reference internal" href="#distance-units"><span class="std std-ref">Distance units</span></a> and <a class="reference internal" href="#angular-units"><span class="std std-ref">Angular units</span></a> +for a list of available units. <cite><conversion_factor></cite> is the conversion factor +from the output unit to metre for linear units, or to radian for angular +units.</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-z_in"> +<span id="cmdoption-arg-z-in"></span><span class="sig-name descname"><span class="pre">+z_in</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span> <span class="pre">or</span> <span class="pre"><conversion_factor></span></span><a class="headerlink" href="#cmdoption-arg-z_in" title="Permalink to this definition">¶</a></dt> +<dd><p>Vertical output units. See <a class="reference internal" href="#distance-units"><span class="std std-ref">Distance units</span></a> and <a class="reference internal" href="#angular-units"><span class="std std-ref">Angular units</span></a> +for a list of available units. <cite><conversion_factor></cite> is the conversion factor +from the input unit to metre for linear units, or to radian for angular +units.</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-z_out"> +<span id="cmdoption-arg-z-out"></span><span class="sig-name descname"><span class="pre">+z_out</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span> <span class="pre">or</span> <span class="pre"><conversion_factor></span></span><a class="headerlink" href="#cmdoption-arg-z_out" title="Permalink to this definition">¶</a></dt> +<dd><p>Vertical output units. See <a class="reference internal" href="#distance-units"><span class="std std-ref">Distance units</span></a> and <a class="reference internal" href="#angular-units"><span class="std std-ref">Angular units</span></a> +for a list of available units. <cite><conversion_factor></cite> is the conversion factor +from the output unit to metre for linear units, or to radian for angular +units.</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-t_in"> +<span id="cmdoption-arg-t-in"></span><span class="sig-name descname"><span class="pre">+t_in</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span></span><a class="headerlink" href="#cmdoption-arg-t_in" title="Permalink to this definition">¶</a></dt> +<dd><p>Temporal input units. See <a class="reference internal" href="#time-units"><span class="std std-ref">Time units</span></a> for a list of available units.</p> +</dd></dl> + +<dl class="std option"> +<dt class="sig sig-object std" id="cmdoption-arg-t_out"> +<span id="cmdoption-arg-t-out"></span><span class="sig-name descname"><span class="pre">+t_out</span></span><span class="sig-prename descclassname"><span class="pre">=<unit></span></span><a class="headerlink" href="#cmdoption-arg-t_out" title="Permalink to this definition">¶</a></dt> +<dd><p>Temporal output units. See <a class="reference internal" href="#time-units"><span class="std std-ref">Time units</span></a> for a list of available units.</p> +</dd></dl> + +</section> +<section id="distance-units"> +<span id="id1"></span><h2>Distance units<a class="headerlink" href="#distance-units" title="Permalink to this headline">¶</a></h2> +<p>In the table below all distance units supported by PROJ are listed. +The same list can also be produced on the command line with <strong class="program">proj</strong> or +<strong class="program">cs2cs</strong>, by adding the <cite>-lu</cite> flag when calling the utility.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 23%" /> +<col style="width: 77%" /> +</colgroup> +<thead> +<tr class="row-odd"><th class="head"><p>Label</p></th> +<th class="head"><p>Name</p></th> +</tr> +</thead> +<tbody> +<tr class="row-even"><td><p>km</p></td> +<td><p>Kilometer</p></td> +</tr> +<tr class="row-odd"><td><p>m</p></td> +<td><p>Meter</p></td> +</tr> +<tr class="row-even"><td><p>dm</p></td> +<td><p>Decimeter</p></td> +</tr> +<tr class="row-odd"><td><p>cm</p></td> +<td><p>Centimeter</p></td> +</tr> +<tr class="row-even"><td><p>mm</p></td> +<td><p>Millimeter</p></td> +</tr> +<tr class="row-odd"><td><p>kmi</p></td> +<td><p>International Nautical Mile</p></td> +</tr> +<tr class="row-even"><td><p>in</p></td> +<td><p>International Inch</p></td> +</tr> +<tr class="row-odd"><td><p>ft</p></td> +<td><p>International Foot</p></td> +</tr> +<tr class="row-even"><td><p>yd</p></td> +<td><p>International Yard</p></td> +</tr> +<tr class="row-odd"><td><p>mi</p></td> +<td><p>International Statute Mile</p></td> +</tr> +<tr class="row-even"><td><p>fath</p></td> +<td><p>International Fathom</p></td> +</tr> +<tr class="row-odd"><td><p>ch</p></td> +<td><p>International Chain</p></td> +</tr> +<tr class="row-even"><td><p>link</p></td> +<td><p>International Link</p></td> +</tr> +<tr class="row-odd"><td><p>us-in</p></td> +<td><p>U.S. Surveyor’s Inch</p></td> +</tr> +<tr class="row-even"><td><p>us-ft</p></td> +<td><p>U.S. Surveyor’s Foot</p></td> +</tr> +<tr class="row-odd"><td><p>us-yd</p></td> +<td><p>U.S. Surveyor’s Yard</p></td> +</tr> +<tr class="row-even"><td><p>us-ch</p></td> +<td><p>U.S. Surveyor’s Chain</p></td> +</tr> +<tr class="row-odd"><td><p>us-mi</p></td> +<td><p>U.S. Surveyor’s Statute Mile</p></td> +</tr> +<tr class="row-even"><td><p>ind-yd</p></td> +<td><p>Indian Yard</p></td> +</tr> +<tr class="row-odd"><td><p>ind-ft</p></td> +<td><p>Indian Foot</p></td> +</tr> +<tr class="row-even"><td><p>ind-ch</p></td> +<td><p>Indian Chain</p></td> +</tr> +</tbody> +</table> +</section> +<section id="angular-units"> +<span id="id2"></span><h2>Angular units<a class="headerlink" href="#angular-units" title="Permalink to this headline">¶</a></h2> +<div class="versionadded"> +<p><span class="versionmodified added">New in version 5.2.0.</span></p> +</div> +<p>In the table below all angular units supported by PROJ <cite>unitconvert</cite> are listed.</p> +<table class="docutils align-default"> +<colgroup> +<col style="width: 23%" /> +<col style="width: 77%" /> +</colgroup> +<thead> +<tr class="row-odd"><th class="head"><p>Label</p></th> +<th class="head"><p>Name</p></th> +</tr> +</thead> +<tbody> +<tr class="row-even"><td><p>deg</p></td> +<td><p>Degree</p></td> +</tr> +<tr class="row-odd"><td><p>grad</p></td> +<td><p>Grad</p></td> +</tr> +<tr class="row-even"><td><p>rad</p></td> +<td><p>Radian</p></td> +</tr> +</tbody> +</table> +</section> +<section id="time-units"> +<span id="id3"></span><h2>Time units<a class="headerlink" href="#time-units" title="Permalink to this headline">¶</a></h2> +<p>In the table below all time units supported by PROJ are listed.</p> +<blockquote> +<div><div class="admonition note"> +<p class="admonition-title">Note</p> +<p>When converting time units from a date-only format (<cite>yyyymmdd</cite>), PROJ +assumes a time value of 00:00 midnight. When converting time units +to a date-only format, PROJ rounds to the <em>nearest</em> date at 00:00 +midnight. That is, any time values less than 12:00 noon will round to +00:00 on the same day. Time values greater than or equal to 12:00 noon +will round to 00:00 on the following day.</p> +</div> +</div></blockquote> +<table class="docutils align-default"> +<colgroup> +<col style="width: 33%" /> +<col style="width: 67%" /> +</colgroup> +<thead> +<tr class="row-odd"><th class="head"><p>Label</p></th> +<th class="head"><p>Name</p></th> +</tr> +</thead> +<tbody> +<tr class="row-even"><td><p>mjd</p></td> +<td><p>Modified Julian date</p></td> +</tr> +<tr class="row-odd"><td><p>decimalyear</p></td> +<td><p>Decimal year</p></td> +</tr> +<tr class="row-even"><td><p>gps_week</p></td> +<td><p>GPS Week</p></td> +</tr> +<tr class="row-odd"><td><p>yyyymmdd</p></td> +<td><p>Date in yyyymmdd format</p></td> +</tr> +</tbody> +</table> +</section> +</section> + + + </div> + </div> + <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> + <a href="topocentric.html" class="btn btn-neutral float-left" title="Geocentric to topocentric conversion" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="../transformations/index.html" class="btn btn-neutral float-right" title="Transformations" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + </div> + + <hr/> + + <div role="contentinfo"> + <p>© Copyright 1983-2022. + <span class="lastupdated">Last updated on 22 Mar 2022. + </span></p> + </div> + + Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a + <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> + provided by <a href="https://readthedocs.org">Read the Docs</a>. + + +</footer> + </div> + </div> + </section> + </div> + <script> + jQuery(function () { + SphinxRtdTheme.Navigation.enable(true); + }); + </script> + +</body> +</html>
\ No newline at end of file |
