Skip to content

Commit

Permalink
Merge pull request #170 from snowman2/radians
Browse files Browse the repository at this point in the history
removed radians docs where applicable
  • Loading branch information
jswhit committed Mar 7, 2019
2 parents 78cfe04 + 288f260 commit 58b4f49
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 74 deletions.
24 changes: 3 additions & 21 deletions docs/html/_modules/pyproj.html
Expand Up @@ -286,9 +286,7 @@ <h1>Source code for pyproj</h1><div class="highlight"><pre>
<span class="sd"> convert lon/lat (in degrees) to x/y native map projection</span>
<span class="sd"> coordinates (in meters). If optional keyword &#39;inverse&#39; is True</span>
<span class="sd"> (default is False), the inverse transformation from x/y to</span>
<span class="sd"> lon/lat is performed. If optional keyword &#39;radians&#39; is True</span>
<span class="sd"> (default is False) lon/lat are interpreted as radians instead of</span>
<span class="sd"> degrees. If optional keyword &#39;errcheck&#39; is True (default is</span>
<span class="sd"> lon/lat is performed. If optional keyword &#39;errcheck&#39; is True (default is</span>
<span class="sd"> False) an exception is raised if the transformation is invalid.</span>
<span class="sd"> If errcheck=False and the transformation is invalid, no</span>
<span class="sd"> exception is raised and 1.e30 is returned. If the optional keyword</span>
Expand Down Expand Up @@ -375,9 +373,7 @@ <h1>Source code for pyproj</h1><div class="highlight"><pre>
<span class="sd"> convert lon/lat (in degrees) to x/y native map projection</span>
<span class="sd"> coordinates (in meters). If optional keyword &#39;inverse&#39; is True</span>
<span class="sd"> (default is False), the inverse transformation from x/y to</span>
<span class="sd"> lon/lat is performed. If optional keyword &#39;radians&#39; is True</span>
<span class="sd"> (default is False) the units of lon/lat are radians instead of</span>
<span class="sd"> degrees. If optional keyword &#39;errcheck&#39; is True (default is</span>
<span class="sd"> lon/lat is performed. If optional keyword &#39;errcheck&#39; is True (default is</span>
<span class="sd"> False) an exception is raised if the transformation is invalid.</span>
<span class="sd"> If errcheck=False and the transformation is invalid, no</span>
<span class="sd"> exception is raised and 1.e30 is returned.</span>
Expand Down Expand Up @@ -475,14 +471,6 @@ <h1>Source code for pyproj</h1><div class="highlight"><pre>
<span class="sd"> Proj instances). It also allows for one of the coordinate</span>
<span class="sd"> systems to be geographic (proj = &#39;latlong&#39;).</span>

<span class="sd"> If optional keyword &#39;radians&#39; is True (default is False) and p1</span>
<span class="sd"> is defined in geographic coordinate (pj.is_latlong() is True),</span>
<span class="sd"> x1,y1 is interpreted as radians instead of the default degrees.</span>
<span class="sd"> Similarly, if p2 is defined in geographic coordinates and</span>
<span class="sd"> radians=True, x2, y2 are returned in radians instead of degrees.</span>
<span class="sd"> if p1.is_latlong() and p2.is_latlong() both are False, the</span>
<span class="sd"> radians keyword has no effect.</span>

<span class="sd"> x,y and z can be numpy or regular python arrays, python</span>
<span class="sd"> lists/tuples or scalars. Arrays are fastest. For projections in</span>
<span class="sd"> geocentric coordinates, values of x and y are given in meters.</span>
Expand Down Expand Up @@ -583,13 +571,7 @@ <h1>Source code for pyproj</h1><div class="highlight"><pre>

<span class="sd"> If optional keyword &#39;switch&#39; is True (default is False) then x, y or lon,lat coordinates</span>
<span class="sd"> of points are switched to y, x or lat, lon.</span>
<span class="sd"> If optional keyword &#39;radians&#39; is True (default is False) and p1</span>
<span class="sd"> is defined in geographic coordinate (pj.is_latlong() is True),</span>
<span class="sd"> x1,y1 is interpreted as radians instead of the default degrees.</span>
<span class="sd"> Similarly, if p2 is defined in geographic coordinates and</span>
<span class="sd"> radians=True, x2, y2 are returned in radians instead of degrees.</span>
<span class="sd"> if p1.is_latlong() and p2.is_latlong() both are False, the</span>
<span class="sd"> radians keyword has no effect.</span>


<span class="sd"> Example usage:</span>

Expand Down
24 changes: 3 additions & 21 deletions docs/html/api/proj.html
Expand Up @@ -62,9 +62,7 @@ <h2>pyproj.Proj<a class="headerlink" href="#pyproj-proj" title="Permalink to thi
convert lon/lat (in degrees) to x/y native map projection
coordinates (in meters). If optional keyword ‘inverse’ is True
(default is False), the inverse transformation from x/y to
lon/lat is performed. If optional keyword ‘radians’ is True
(default is False) lon/lat are interpreted as radians instead of
degrees. If optional keyword ‘errcheck’ is True (default is
lon/lat is performed. If optional keyword ‘errcheck’ is True (default is
False) an exception is raised if the transformation is invalid.
If errcheck=False and the transformation is invalid, no
exception is raised and 1.e30 is returned. If the optional keyword
Expand All @@ -79,9 +77,7 @@ <h2>pyproj.Proj<a class="headerlink" href="#pyproj-proj" title="Permalink to thi
convert lon/lat (in degrees) to x/y native map projection
coordinates (in meters). If optional keyword ‘inverse’ is True
(default is False), the inverse transformation from x/y to
lon/lat is performed. If optional keyword ‘radians’ is True
(default is False) the units of lon/lat are radians instead of
degrees. If optional keyword ‘errcheck’ is True (default is
lon/lat is performed. If optional keyword ‘errcheck’ is True (default is
False) an exception is raised if the transformation is invalid.
If errcheck=False and the transformation is invalid, no
exception is raised and 1.e30 is returned.</p>
Expand Down Expand Up @@ -234,13 +230,6 @@ <h2>pyproj.transform<a class="headerlink" href="#pyproj-transform" title="Permal
shifts (which cannot be done using the __call__ method of the
Proj instances). It also allows for one of the coordinate
systems to be geographic (proj = ‘latlong’).</p>
<p>If optional keyword ‘radians’ is True (default is False) and p1
is defined in geographic coordinate (pj.is_latlong() is True),
x1,y1 is interpreted as radians instead of the default degrees.
Similarly, if p2 is defined in geographic coordinates and
radians=True, x2, y2 are returned in radians instead of degrees.
if p1.is_latlong() and p2.is_latlong() both are False, the
radians keyword has no effect.</p>
<p>x,y and z can be numpy or regular python arrays, python
lists/tuples or scalars. Arrays are fastest. For projections in
geocentric coordinates, values of x and y are given in meters.
Expand Down Expand Up @@ -323,14 +312,7 @@ <h2>pyproj.itransform<a class="headerlink" href="#pyproj-itransform" title="Perm
</dd>
</dl>
<p>If optional keyword ‘switch’ is True (default is False) then x, y or lon,lat coordinates
of points are switched to y, x or lat, lon.
If optional keyword ‘radians’ is True (default is False) and p1
is defined in geographic coordinate (pj.is_latlong() is True),
x1,y1 is interpreted as radians instead of the default degrees.
Similarly, if p2 is defined in geographic coordinates and
radians=True, x2, y2 are returned in radians instead of degrees.
if p1.is_latlong() and p2.is_latlong() both are False, the
radians keyword has no effect.</p>
of points are switched to y, x or lat, lon.</p>
<p>Example usage:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="c1"># projection 1: WGS84</span>
<span class="gp">&gt;&gt;&gt; </span><span class="c1"># (defined by epsg code 4326)</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58b4f49

Please sign in to comment.