Search 1.9 billion lines of Odoo code on GitHub

base_geoengine

Author: Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0
Repository: Change2improve/geospatial
Dependencies: base, and web
Languages: CSS (871, 1.4%), DOS Batch (148, 0.2%), HTML (1877, 3.0%), JavaScript (58699, 93.1%), Python (818, 1.3%), XML (347, 0.6%), make (105, 0.2%), and reStructuredText (185, 0.3%)
Other branches: 10.0, 11.0, 12.0, 14.0, 6.1, 7.0, 8.0, 9.0, and 9.0-ol3
Other repositories: 10537/geospatial, App247/geospatial, BenjaHe/geospatial, Chandresh-SerpentCS/geospatial, ClearCorp/oca-geospatial, Communities-Communications/geospatial, CompassionCH/geospatial, Comunitea/CMNT_004_15, Creamaster/geospatial, EBII/geospatial, ERPLibre/geospatial, Endika/geospatial, Gabinete-Digital/geospatial, Geode/geospatial, GrupoAlvamex/geospatial, Guobower/geospatial, HardikG/geospatial, HarshalBhoir/geospatial, HossamHassanAhmed5/geospatial, Ingeos/geospatial, InstaERP/geospatial, Jarsa-dev/geospatial, Jarsa/geospatial, Javmail/geospatial, KIKOU2016/geospatial, Kalway-Technology/geospatial, LasLabs/geospatial, MYRCONSULTING/geospatial, MathBenTech/geospatial, Mefistous/geospatial, MrBullfrog/geospatial, Muhamed-Git/geospatial, NeatNerdPrime/geospatial, Noviat/geospatial, OCA-MUK/geospatial, OCA/geospatial, OdooBulgaria/geospatial, SSISoftware/geospatial, SanteLibre/geospatial, SerpentConsultingServices/geospatial, SeuMarco/geospatial, T2BE/geospatial, TAPSPI/geospatial, TDu/geospatial, Tonow-c2c/geospatial, VbossEkat/geospatial, VisiionSolucionesTecnologicas/geospatial, VizThoughts/geospatial, aacceess75/geospatial, aaltinisik/geospatial, acsone/geospatial, adaniy/geospatial, affleet/geospatial, agrista/odoo-geospatial, alexalv/geospatial, alpham/geospatial, amarildogolloshi/geospatial, anhvu-sg/geospatial, anndream/geospatial, apachesep/geospatial, apetbiz/geospatial, asaunier/geospatial, ateneolab/geospatial, bdmosi/geospatial, befks/geospatial, bimajatiwijaya/geospatial, bkww/geospatial, brian10048/geospatial, bvkl/geospatial, camptocamp/geospatial, cedvict/geospatial, cocox/geospatial, cyrilgdn/geospatial, damdam-s/geospatial, daramousk/geospatial, dek-odoo/geospatial, diassynthesis/geospatial, diegobgl/geospatial, digideskio/geospatial, dingguijin/geospatial, dinilud/geospatial, dreispt/geospatial, drewes/odoo-geospatial, ecosoft-odoo/geospatial, eric-lemesre/geospatial, exosoftware/geospatial, fredj/geospatial, galinganmd/geospatial, garzadekoster/geospatial, gfcapalbo/geospatial, gisdevelope/geospatial, gityopie/geospatial, grindtildeath/geospatial, guohuadeng/geospatial, gurneyalex/geospatial, halybang/geospatial, haroldtamo/geospatial, hassanfadl/geospatial, hifans/geospatial, himalsaman/geospatial, hinfo506/geospatial, hotkee/geospatial, hu19891110/geospatial, i-vyshnevska/geospatial, iamyeonhan/geospatial, iceship/geospatial, ideaspositivas-group/geospatial, ikzent/geospatial, iledarn/geospatial, inspyration/geospatial, italoadler/geospatial, itsalgeria/geospatial, jhoengels/geospatial, jjlopezg/geospatial, jorcan46/geospatial, josueBulle/geospatial, kailIII/geospatial, kittikhb/geospatial, kmee/geospatial, lammh/geospatial, leNeo/geospatial, lideritjnma/geospatial, lonavera/geospatial, m6519578/geospatial, maisim/geospatial, molandtoxx/geospatial, moylop260/geospatial, mpanarin/geospatial, muhammedashraf9244/geospatial, murtuzasaleh/geospatial, mvrodriguez/geospatial, nbessi/geospatial, ndufrane/geospatial, nfluckiger/geospatial, odoofans/geospatial, oihane/geospatial, one2pret/geospatial, ovnicraft/geospatial, oxidos/geospatial, p-tombez/geospatial, pankk/geospatial, petrus-v/geospatial, primecv/odoo-eam, pscloud/geospatial, pythoner-3k/geospatial, rajkumar269/geospatial, rakesh-mohanta/geospatial, res2hack/geospatial, richar-osse/geospatial, riess82/geospatial, rossasa/geospatial, royalline1/geospatial, rschnapka/geospatial, rsullivan2704/geospatial, ruveydayasak/geospatial, sagar-developer-92/geospatial, savoirfairelinux/geospatial, sc4you/geospatial, sendalpegat/geospatial, sersanchus/geospatial, shurshilov/odoo, simplifysolutions/geospatial, siwiwit/geospatial, soluxSG/geospatial, tariqhamid/geospatial, tarteo/geospatial, teazj/geospatial, thegcube/geospatial, topecz/geospatial, tschanzt/geospatial, tymiles003/geospatial, udistrital/geospatial, unitek-solusi/OCA-geospatial, usmanmuktar/geospatial, vrenaville/geospatial, westlyou/geospatial, williamcastrillon/geospatial, wolfhall/geospatial, x0rzkov/odoo-geospatial-gis, x2nie/geospatial, xpat/geospatial, yanpierchirino/geospatial, yelizariev/geospatial, yvaucher/geospatial, zarumaru/geospatial, and zoomvr/geospatial

<h1 class="title">Geospatial support for Odoo</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/geospatial/tree/13.0/base_geoengine"><img alt="OCA/geospatial" src="https://img.shields.io/badge/github-OCA%2Fgeospatial-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/geospatial-13-0/geospatial-13-0-base_geoengine"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/115/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>Geospatial support based on PostGIS add the ability of server to server geojson to do geo CRUD and view definition.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#important-changes-in-version-11" id="id3">Important changes in version 11</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id4">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id5">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id6">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id7">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id8">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id9">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>To install this module, you need to have <a class="reference external" href="http://postgis.net/">PostGIS</a> installed.</p> <p>On Ubuntu:</p> <pre> <code>sudo apt-get install postgis</code> </pre> <p>The module also requires two additional python libs:</p> <ul class="simple"> <li><a class="reference external" href="http://pypi.python.org/pypi/Shapely">Shapely</a></li> <li><a class="reference external" href="http://pypi.python.org/pypi/geojson">geojson</a></li> </ul> <p>for a complete documentation please refer to the <a class="reference external" href="http://oca.github.io/geospatial/index.html">public documenation</a></p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <a name="important-changes-in-version-11"></a> <h2><a class="toc-backref" href="#id3">Important changes in version 11</a></h2> <p>The geometry attributes must now be explicitly mentioned in the list of fields of the XML geoengine view definitions. For instance:</p> <pre> <code>&lt;record id=&quot;some_model_geo_view&quot; model=&quot;ir.ui.view&quot;&gt; &lt;field name=&quot;name&quot;&gt;Some data view&lt;/field&gt; &lt;field name=&quot;model&quot;&gt;some.model&lt;/field&gt; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt; &lt;geoengine&gt; &lt;field name=&quot;name&quot; select=&quot;1&quot;/&gt; &lt;field name=&quot;the_geom&quot;/&gt; &lt;/geoengine&gt; &lt;/field&gt; &lt;/record&gt;</code> </pre> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id4">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Google layers have been removed as it was not working anyway.</li> <li>Switching from map to form view should be eased to open selected feature. It should work using <cite>do_switch_view</cite> and this probably requires to set <cite>self.dataset.index</cite></li> <li>A good way to open a record from map should be done with double click. However selection handlers have difficulties to work nice with click events.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id5">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/geospatial/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/geospatial/issues/new?body=module:%20base_geoengine%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id6">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id7">Authors</a></h3> <ul class="simple"> <li>Camptocamp</li> <li>ACSONE SA/NV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id8">Contributors</a></h3> <ul class="simple"> <li>Alexandre Fayolle &lt;<a class="reference external" href="mailto:alexandre.fayolle&#64;camptocamp.com">alexandre.fayolle&#64;camptocamp.com</a>&gt;</li> <li>Frederic Junod &lt;<a class="reference external" href="mailto:frederic.junod&#64;camptocamp.com">frederic.junod&#64;camptocamp.com</a>&gt;</li> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li> <li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li> <li>Nicolas Bessi &lt;<a class="reference external" href="mailto:nicolas.bessi&#64;camptocamp.com">nicolas.bessi&#64;camptocamp.com</a>&gt;</li> <li>Sandy Carter &lt;<a class="reference external" href="mailto:sandy.carter&#64;savoirfairelinux.com">sandy.carter&#64;savoirfairelinux.com</a>&gt;</li> <li>Vincent Renaville &lt;<a class="reference external" href="mailto:vincent.renaville&#64;camptocamp.com">vincent.renaville&#64;camptocamp.com</a>&gt;</li> <li>Yannick Vaucher &lt;<a class="reference external" href="mailto:yannick.vaucher&#64;camptocamp.com">yannick.vaucher&#64;camptocamp.com</a>&gt;</li> <li>Benjamin Willig &lt;<a class="reference external" href="mailto:benjamin.willig&#64;acsone.eu">benjamin.willig&#64;acsone.eu</a>&gt;</li> <li>Sandip Mangukiya &lt;<a class="reference external" href="mailto:smangukiya&#64;opensourceintegrators.com">smangukiya&#64;opensourceintegrators.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id9">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/geospatial/tree/13.0/base_geoengine">OCA/geospatial</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>