opengisch / QField

A simplified touch optimized interface for QGIS
http://www.qfield.org
GNU General Public License v2.0
836 stars 227 forks source link

Feature request: geocoding & address search (France) #1771

Open MMR100 opened 3 years ago

MMR100 commented 3 years ago

In the continuity of the recent added feature allowing geocoding and address search in Finland (#1695), it would be great if French Qfield users could search location using BAN API (BAN = Base Adresse Nationale which is a database managed by the French Government) Here is the API page: https://geo.api.gouv.fr/adresse (in French only sorry) A QGIS plugin named gBAN is adding these API results in the search bar: https://github.com/jeremyk6/gban

It could be activated only for French users in the same way it is done for Finnish geocoding.

m-kuhn commented 3 years ago

Nice idea, that would be a very welcome addition

label-actions[bot] commented 3 years ago

This has been accepted as an enhancement request. Good job :+1: Enhancement requests are very valuable to make QField better. They sometimes attract others and just happen magically. More often however they need someone to jump in and make them come true.

mdouchin commented 3 years ago

BTW there is another plugin which adds "BAN" search capability in QGIS locator: https://github.com/Oslandia/french_locator_filter/

@m-kuhn Is there a recommended way of adding a new search API inside QField ? I could perhaps contribute here

m-kuhn commented 3 years ago

The best way is to have a look at how the Finland case has been implemented (see https://github.com/opengisch/QField/blob/master/src/core/peliasgeocoder.cpp), any contributions will be welcome