OpenSourcePolitics / decidim

Fork of Decidim
http://www.decidim.org
GNU Affero General Public License v3.0
20 stars 4 forks source link

Address not found on here.com #139

Closed juliesimon closed 6 years ago

juliesimon commented 6 years ago

From CD44: "sur la localisation des rencontres : nous avons fait faire une contribution sur openstreetmap pour avoir une adresse pour le port de pêche de la Turballe hier (== il y a une semaine), mais notre atelier n’est toujours pas bien localisé : https://cerise.osp.cat/processes/porturballe/f/78/meetings/42 (il est rue du port à la place) : est-ce que le service qui sert pour la localisation possède un cache qui met du temps à intégrer les nouvelles adresses ?"

==> L'adresse apparait bien sur open street map mais n'est pas trouvée sur decidim

moustachu commented 6 years ago

Actual

Informations

Requirements

Options (not exclusive)

  1. Change to :nominatim (OSM) only
    • but we need to double check to cache settings to make sure API calls are limited (to prevent IP ban)
  2. Set multiple geocoding services to be executed in sequence in case of failure
    • will not prevent miss placed results
  3. Set multiple geocoding services and add the ability to select it with the address input
    • if we go this way, users might ask to have direct access to check the results with a map preview (could be a external link to service map like openstreetmap.com)
  4. Add the Latitude and Longitude fields aside the address field to bypass geocoding

Notes : it seems that "port de pêche de la Turballe" is also miss placed in https://adresse.data.gouv.fr/api/ (to be double check). So :ban_data_gouv_fr cannot be used as a standalone service (it needs to have a fallback service like in option 2 & 3)

--> Need definition @juliesimon @virgile-dev

juliesimon commented 6 years ago

The idea is to:

1/ Change here.com to Open Street Map

2/ Add the possibility to add a place with latitude & longitude --> TO BE DESIGNED

@moustachu @virgile-dev @armandfardeau are you ok for 1/ ? And 2/ can be Armand's mission for the summer after we validate the specs.

armandfardeau commented 6 years ago

@juliesimon How do you want to function? Should we vote on each proposal?

juliesimon commented 6 years ago

@armandfardeau 1/ and 2/ are not really choices but more like steps.

We all agreed on the fact that we need to change our geocoding service (at least that's what I understood from our meeting yesterday) so 1/ is mandatory, but please feel free to comment if you think we should do otherwise !

2/ is something that we'll do but it needs some design first

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Feel free to notify @u-hamani.