src/build/html/pyams_gis.rpc.json.html
changeset 10 1d12ff3f036a
parent 9 562bde22e104
child 11 ba0b83b57c0c
equal deleted inserted replaced
9:562bde22e104 10:1d12ff3f036a
     1 
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     3   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     4 
       
     5 <html xmlns="http://www.w3.org/1999/xhtml">
       
     6   <head>
       
     7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       
     8     <title>pyams_gis.rpc.json package &#8212; PyAMS User Guide 0.1.0 documentation</title>
       
     9     <link rel="stylesheet" href="_static/pyramid.css" type="text/css" />
       
    10     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
       
    11     <script type="text/javascript">
       
    12       var DOCUMENTATION_OPTIONS = {
       
    13         URL_ROOT:    './',
       
    14         VERSION:     '0.1.0',
       
    15         COLLAPSE_INDEX: false,
       
    16         FILE_SUFFIX: '.html',
       
    17         HAS_SOURCE:  true,
       
    18         SOURCELINK_SUFFIX: '.txt'
       
    19       };
       
    20     </script>
       
    21     <script type="text/javascript" src="_static/jquery.js"></script>
       
    22     <script type="text/javascript" src="_static/underscore.js"></script>
       
    23     <script type="text/javascript" src="_static/doctools.js"></script>
       
    24     <link rel="index" title="Index" href="genindex.html" />
       
    25     <link rel="search" title="Search" href="search.html" />
       
    26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&amp;subset=latin" type="text/css" media="screen" charset="utf-8" />
       
    27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&amp;subset=latin" type="text/css" media="screen" charset="utf-8" />
       
    28 <!--[if lte IE 6]>
       
    29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
       
    30 <![endif]-->
       
    31 
       
    32   </head>
       
    33   <body>
       
    34 
       
    35     <div class="related" role="navigation" aria-label="related navigation">
       
    36       <h3>Navigation</h3>
       
    37       <ul>
       
    38         <li class="right" style="margin-right: 10px">
       
    39           <a href="genindex.html" title="General Index"
       
    40              accesskey="I">index</a></li>
       
    41         <li class="right" >
       
    42           <a href="py-modindex.html" title="Python Module Index"
       
    43              >modules</a> |</li>
       
    44         <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> &#187;</li> 
       
    45       </ul>
       
    46     </div>  
       
    47 
       
    48     <div class="document">
       
    49       <div class="documentwrapper">
       
    50         <div class="bodywrapper">
       
    51           <div class="body" role="main">
       
    52             
       
    53   <div class="section" id="pyams-gis-rpc-json-package">
       
    54 <h1>pyams_gis.rpc.json package<a class="headerlink" href="#pyams-gis-rpc-json-package" title="Permalink to this headline">¶</a></h1>
       
    55 <div class="section" id="module-pyams_gis.rpc.json">
       
    56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_gis.rpc.json" title="Permalink to this headline">¶</a></h2>
       
    57 <dl class="function">
       
    58 <dt id="pyams_gis.rpc.json.transformArea">
       
    59 <code class="descclassname">pyams_gis.rpc.json.</code><code class="descname">transformArea</code><span class="sig-paren">(</span><em>request</em>, <em>area</em>, <em>from_projection</em>, <em>to_projection</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_gis.rpc.json.transformArea" title="Permalink to this definition">¶</a></dt>
       
    60 <dd><p>Transform area given in source projection to another projection</p>
       
    61 <table class="docutils field-list" frame="void" rules="none">
       
    62 <col class="field-name" />
       
    63 <col class="field-body" />
       
    64 <tbody valign="top">
       
    65 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
       
    66 <li><strong>area</strong> – area coordinates given as a mapping with ‘x1’, ‘y1’, ‘x2’, and ‘y2’ values</li>
       
    67 <li><strong>from_projection</strong> – source coordinates system given as SRID</li>
       
    68 <li><strong>to_projection</strong> – target coordinates system given as SRID</li>
       
    69 </ul>
       
    70 </td>
       
    71 </tr>
       
    72 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">mapping with new ‘area’ key containing transformed coordinates, and ‘projection’
       
    73 key containing SRID of result projection system</p>
       
    74 </td>
       
    75 </tr>
       
    76 </tbody>
       
    77 </table>
       
    78 </dd></dl>
       
    79 
       
    80 <dl class="function">
       
    81 <dt id="pyams_gis.rpc.json.transformPoint">
       
    82 <code class="descclassname">pyams_gis.rpc.json.</code><code class="descname">transformPoint</code><span class="sig-paren">(</span><em>request</em>, <em>point</em>, <em>from_projection</em>, <em>to_projection</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_gis.rpc.json.transformPoint" title="Permalink to this definition">¶</a></dt>
       
    83 <dd><p>Transform point given in source projection to another projection</p>
       
    84 <table class="docutils field-list" frame="void" rules="none">
       
    85 <col class="field-name" />
       
    86 <col class="field-body" />
       
    87 <tbody valign="top">
       
    88 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
       
    89 <li><strong>point</strong> – point coordinates given as a mapping with ‘longitude’ and ‘latitude’ values</li>
       
    90 <li><strong>from_projection</strong> – source coordinates system given as SRID</li>
       
    91 <li><strong>to_projection</strong> – target coordinates system given as SRID</li>
       
    92 </ul>
       
    93 </td>
       
    94 </tr>
       
    95 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">mapping with new ‘point’ key containing transformed coordinates, and ‘projection’
       
    96 key containing SRID of result projection system</p>
       
    97 </td>
       
    98 </tr>
       
    99 </tbody>
       
   100 </table>
       
   101 </dd></dl>
       
   102 
       
   103 </div>
       
   104 </div>
       
   105 
       
   106 
       
   107           </div>
       
   108         </div>
       
   109       </div>
       
   110       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
       
   111         <div class="sphinxsidebarwrapper">
       
   112   <h3><a href="index.html">Table Of Contents</a></h3>
       
   113   <ul>
       
   114 <li><a class="reference internal" href="#">pyams_gis.rpc.json package</a><ul>
       
   115 <li><a class="reference internal" href="#module-pyams_gis.rpc.json">Module contents</a></li>
       
   116 </ul>
       
   117 </li>
       
   118 </ul>
       
   119 
       
   120 <div id="searchbox" style="display: none" role="search">
       
   121   <h3>Quick search</h3>
       
   122     <form class="search" action="search.html" method="get">
       
   123       <div><input type="text" name="q" /></div>
       
   124       <div><input type="submit" value="Go" /></div>
       
   125       <input type="hidden" name="check_keywords" value="yes" />
       
   126       <input type="hidden" name="area" value="default" />
       
   127     </form>
       
   128 </div>
       
   129 <script type="text/javascript">$('#searchbox').show(0);</script>
       
   130         </div>
       
   131       </div>
       
   132       <div class="clearer"></div>
       
   133     </div>
       
   134     <div class="related" role="navigation" aria-label="related navigation">
       
   135       <h3>Navigation</h3>
       
   136       <ul>
       
   137         <li class="right" style="margin-right: 10px">
       
   138           <a href="genindex.html" title="General Index"
       
   139              >index</a></li>
       
   140         <li class="right" >
       
   141           <a href="py-modindex.html" title="Python Module Index"
       
   142              >modules</a> |</li>
       
   143         <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> &#187;</li> 
       
   144       </ul>
       
   145     </div>
       
   146     <div class="footer" role="contentinfo">
       
   147         &#169; Copyright 2017, Thierry Florac.
       
   148       Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
       
   149     </div>
       
   150   </body>
       
   151 </html>