Author: |
Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
12.0 |
Repository: |
OCA/geospatial |
Dependencies: |
base,
and
web |
Languages: |
CSS (871, 1.4%),
DOS Batch (148, 0.2%),
HTML (1907, 3.0%),
JavaScript (58765, 93.0%),
Python (806, 1.3%),
XML (351, 0.6%),
make (105, 0.2%),
and
reStructuredText (237, 0.4%) |
Other branches: |
10.0,
11.0,
13.0,
13.0-ocabot-update-dotfiles,
14.0,
14.0-bad-history,
6.1,
7.0,
8.0,
9.0,
and
9.0-ol3 |
Other repositories: |
10537/geospatial,
App247/geospatial,
BenjaHe/geospatial,
Chandresh-SerpentCS/geospatial,
Change2improve/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,
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/12.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-12-0/geospatial-12-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/12.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="#widget" id="id3">Widget</a></li>
<li><a class="reference internal" href="#important-changes-in-version-11" id="id4">Important changes in version 11</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id5">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id10">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="widget"></a>
<h2><a class="toc-backref" href="#id3">Widget</a></h2>
<p>The widget can be used on geometry fields:</p>
<pre>
<code><record id="some_model_form_view" model="ir.ui.view">
<field name="name">Some form view</field>
<field name="model">some.model</field>
<field name="arch" type="xml">
<form>
...
<field name="geom1" widget="geo_edit_map" options="{'add_layer_fields': ['geom2']}"/>
<field name="geom2" invisible="1"/>
...
</form>
</field>
</record></code>
</pre>
<p>Options can contain other geometry fields to display them on the same map
as a readonly layer.</p>
<a name="important-changes-in-version-11"></a>
<h2><a class="toc-backref" href="#id4">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><record id="some_model_geo_view" model="ir.ui.view">
<field name="name">Some data view</field>
<field name="model">some.model</field>
<field name="arch" type="xml">
<geoengine>
<field name="name" select="1"/>
<field name="the_geom"/>
</geoengine>
</field>
</record></code>
</pre>
<a name="known-issues-roadmap"></a>
<h2><a class="toc-backref" href="#id5">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="#id6">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:%2012.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="#id7">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id8">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="#id9">Contributors</a></h3>
<ul class="simple">
<li>Nicolas Bessi <<a class="reference external" href="mailto:nicolas.bessi@camptocamp.com">nicolas.bessi@camptocamp.com</a>></li>
<li>Frederic Junod <<a class="reference external" href="mailto:frederic.junod@camptocamp.com">frederic.junod@camptocamp.com</a>></li>
<li>Yannick Vaucher <<a class="reference external" href="mailto:yannick.vaucher@camptocamp.com">yannick.vaucher@camptocamp.com</a>></li>
<li>Sandy Carter <<a class="reference external" href="mailto:sandy.carter@savoirfairelinux.com">sandy.carter@savoirfairelinux.com</a>></li>
<li>Laurent Mignon <<a class="reference external" href="mailto:laurent.mignon@acsone.eu">laurent.mignon@acsone.eu</a>></li>
<li>Jonathan Nemry <<a class="reference external" href="mailto:jonathan.nemry@acsone.eu">jonathan.nemry@acsone.eu</a>></li>
<li>David Lasley <<a class="reference external" href="mailto:dave@dlasley.net">dave@dlasley.net</a>></li>
<li>Daniel Reis <<a class="reference external" href="mailto:dgreis@sapo.pt">dgreis@sapo.pt</a>></li>
<li>Matthieu Dietrich <<a class="reference external" href="mailto:matthieu.dietrich@camptocamp.com">matthieu.dietrich@camptocamp.com</a>></li>
<li>Alan Ramos <<a class="reference external" href="mailto:alan.ramos@jarsa.com.mx">alan.ramos@jarsa.com.mx</a>></li>
<li>Damien Crier <<a class="reference external" href="mailto:damien.crier@camptocamp.com">damien.crier@camptocamp.com</a>></li>
<li>Cyril Gaudin <<a class="reference external" href="mailto:cyril.gaudin@camptocamp.com">cyril.gaudin@camptocamp.com</a>></li>
<li>Pierre Verkest <<a class="reference external" href="mailto:pverkest@anybox.fr">pverkest@anybox.fr</a>></li>
<li>Benjamin Willig <<a class="reference external" href="mailto:benjamin.willig@acsone.eu">benjamin.willig@acsone.eu</a>></li>
<li>Devendra Kavthekar <<a class="reference external" href="mailto:dkatodoo@gmail.com">dkatodoo@gmail.com</a>></li>
<li>Emanuel Cino <<a class="reference external" href="mailto:ecino@compassion.ch">ecino@compassion.ch</a>></li>
<li>Thomas Nowicki <<a class="reference external" href="mailto:thomas.nowicki@camptocamp.com">thomas.nowicki@camptocamp.com</a>></li>
<li>Alexandre Saunier <<a class="reference external" href="mailto:alexandre.saunier@camptocamp.com">alexandre.saunier@camptocamp.com</a>></li>
<li>Sandip Mangukiya <<a class="reference external" href="mailto:smangukiya@opensourceintegrators.com">smangukiya@opensourceintegrators.com</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id10">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/12.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>
Dependency Graph