Open tuxayo opened 7 years ago
I'd suggest putting your addresses into a CSV, then using http://adresse.data.gouv.fr/csv/ to geocode them, then to upload the CSV in uMap.
My test queries where terribly geocoded (even the second one which is actually an address)but one should test with more addresses before being able to judge the quality of the geocoding.
Anyway the result was directly importable in umap so it should definitely a usable alternative.
edit: I'm dumb and did a big typo, that's why the geocoding of the second query failed.
(even the second one which is actually an address)
Is molidère
its actual name or is it a typo?
Is molidère its actual name or is it a typo?
Damn it, it's a typo!
Which explains adresse.data.gouv.fr geocoding failure and shows Photon very good tolerance.
I'd suggest putting your addresses into a CSV, then using http://adresse.data.gouv.fr/csv/ to geocode them, then to upload the CSV in uMap.
Could be fine for beginners to provide a geocoder 😄
See tools used in Data Visualization for All online book.
One possible implementation could be with Photon which would not only limit this type of import to addresses due to it's flexibility.
Manual proof of concept:
input data
Corresponding queries
http://photon.komoot.de/api/?q=IUT,%20Avenue%20Gaston%20Berger,%20aix http://photon.komoot.de/api/?q=9,%20rue%20molid%C3%A8re,%20marseille
Merged GeoJSON
simplest approach: when the query returns multiple results under the key
features
, take the first and add it to thefeatures
of the result.Resulting map
https://framacarte.org/en/map/untitled-map_4521#