Skip to content

Commit

Permalink
Deploying to gh-pages from @ 25fc1fd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Oct 31, 2024
1 parent 49f9516 commit 5b76ea0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified latest/.doctrees/cli.doctree
Binary file not shown.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion latest/_modules/pyproj/crs/coordinate_operation.html
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ <h1>Source code for pyproj.crs.coordinate_operation</h1><div class="highlight"><
<span class="sa">f</span><span class="s2">&quot;+k_0=</span><span class="si">{</span><span class="n">scale_factor_natural_origin</span><span class="si">}</span><span class="s2">&quot;</span>
<span class="p">)</span>
<span class="k">return</span> <span class="bp">cls</span><span class="o">.</span><span class="n">from_json</span><span class="p">(</span>
<span class="n">CRS</span><span class="p">(</span><span class="n">proj_string</span><span class="p">)</span><span class="o">.</span><span class="n">coordinate_operation</span><span class="o">.</span><span class="n">to_json</span><span class="p">()</span> <span class="c1"># type: ignore</span>
<span class="n">CRS</span><span class="p">(</span><span class="n">proj_string</span><span class="p">)</span><span class="o">.</span><span class="n">coordinate_operation</span><span class="o">.</span><span class="n">to_json</span><span class="p">()</span> <span class="c1"># type: ignore[union-attr]</span>
<span class="p">)</span></div>


Expand Down
2 changes: 1 addition & 1 deletion latest/_modules/pyproj/crs/crs.html
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ <h1>Source code for pyproj.crs.crs</h1><div class="highlight"><pre>
<span class="k">elif</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">projparams</span><span class="p">,</span> <span class="p">(</span><span class="nb">list</span><span class="p">,</span> <span class="nb">tuple</span><span class="p">))</span> <span class="ow">and</span> <span class="nb">len</span><span class="p">(</span><span class="n">projparams</span><span class="p">)</span> <span class="o">==</span> <span class="mi">2</span><span class="p">:</span>
<span class="n">projstring</span> <span class="o">=</span> <span class="n">_prepare_from_authority</span><span class="p">(</span><span class="o">*</span><span class="n">projparams</span><span class="p">)</span>
<span class="k">elif</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">projparams</span><span class="p">,</span> <span class="s2">&quot;to_wkt&quot;</span><span class="p">):</span>
<span class="n">projstring</span> <span class="o">=</span> <span class="n">projparams</span><span class="o">.</span><span class="n">to_wkt</span><span class="p">()</span> <span class="c1"># type: ignore</span>
<span class="n">projstring</span> <span class="o">=</span> <span class="n">projparams</span><span class="o">.</span><span class="n">to_wkt</span><span class="p">()</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">CRSError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Invalid CRS input: </span><span class="si">{</span><span class="n">projparams</span><span class="si">!r}</span><span class="s2">&quot;</span><span class="p">)</span>

Expand Down
4 changes: 2 additions & 2 deletions latest/_modules/pyproj/geod.html
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ <h1>Source code for pyproj.geod</h1><div class="highlight"><pre>
<span class="sd"> The total geodesic length of the geometry (meters).</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">line_length</span><span class="p">(</span><span class="o">*</span><span class="n">geometry</span><span class="o">.</span><span class="n">xy</span><span class="p">,</span> <span class="n">radians</span><span class="o">=</span><span class="n">radians</span><span class="p">)</span> <span class="c1"># type: ignore</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">line_length</span><span class="p">(</span><span class="o">*</span><span class="n">geometry</span><span class="o">.</span><span class="n">xy</span><span class="p">,</span> <span class="n">radians</span><span class="o">=</span><span class="n">radians</span><span class="p">)</span> <span class="c1"># type: ignore[misc]</span>
<span class="k">except</span> <span class="p">(</span><span class="ne">AttributeError</span><span class="p">,</span> <span class="ne">NotImplementedError</span><span class="p">):</span>
<span class="k">pass</span>
<span class="k">if</span> <span class="nb">hasattr</span><span class="p">(</span><span class="n">geometry</span><span class="p">,</span> <span class="s2">&quot;exterior&quot;</span><span class="p">):</span>
Expand Down Expand Up @@ -1383,7 +1383,7 @@ <h1>Source code for pyproj.geod</h1><div class="highlight"><pre>
<span class="sd"> The geodesic area (meters^2) and perimeter (meters) of the polygon.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">polygon_area_perimeter</span><span class="p">(</span> <span class="c1"># type: ignore</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">polygon_area_perimeter</span><span class="p">(</span> <span class="c1"># type: ignore[misc]</span>
<span class="o">*</span><span class="n">geometry</span><span class="o">.</span><span class="n">xy</span><span class="p">,</span> <span class="n">radians</span><span class="o">=</span><span class="n">radians</span>
<span class="p">)</span>
<span class="k">except</span> <span class="p">(</span><span class="ne">AttributeError</span><span class="p">,</span> <span class="ne">NotImplementedError</span><span class="p">):</span>
Expand Down

0 comments on commit 5b76ea0

Please sign in to comment.