Skip to content
Snippets Groups Projects
Commit fc6a17d7 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[update] readme

parent 433f691d
Branches
No related tags found
No related merge requests found
Partner geolocalize
===================
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
Contacts geolocation API to convert partner addresses into GPS coordinates.
Configure
---------
You can configure in General Settings the default provider of the geolocation API service.
===================================
Franch API Gouv Partner Geolocalize
===================================
A method `_call_<service>` should be implemented in object `base.geocoder` that accepts an address string as parameter and return (latitude, longitude) tuple for this to work.
If no default provider is set, the first one will be used by default.
Description
===========
An optional method `_geo_query_address_<service>` which takes address fields as parameters can be defined to encode the query string for the provider.
\ No newline at end of file
This module adds French Data Gouv API in geolocation list.
Usage
=====
In *Configuration > General Settings*, select **Adresse Data Gouv** option.
Credits
=======
Contributors
------------
* Benjamin Rivier <benjamin@le-filament.com>
Maintainer
----------
.. image:: https://le-filament.com/images/logo-lefilament.png
:alt: Le Filament
:target: https://le-filament.com
This module is maintained by Le Filament
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment