{"action":"created","issue":{"url":"https://api.github.com/repos/etalab/addok/issues/58","labels_url":"https://api.github.com/repos/etalab/addok/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/etalab/addok/issues/58/comments","events_url":"https://api.github.com/repos/etalab/addok/issues/58/events","html_url":"https://github.com/etalab/addok/issues/58","id":70606371,"number":58,"title":"Batch reverse geocoder","user":{"login":"CharlesNepote","id":562352,"avatar_url":"https://avatars.githubusercontent.com/u/562352?v=3","gravatar_id":"","url":"https://api.github.com/users/CharlesNepote","html_url":"https://github.com/CharlesNepote","followers_url":"https://api.github.com/users/CharlesNepote/followers","following_url":"https://api.github.com/users/CharlesNepote/following{/other_user}","gists_url":"https://api.github.com/users/CharlesNepote/gists{/gist_id}","starred_url":"https://api.github.com/users/CharlesNepote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharlesNepote/subscriptions","organizations_url":"https://api.github.com/users/CharlesNepote/orgs","repos_url":"https://api.github.com/users/CharlesNepote/repos","events_url":"https://api.github.com/users/CharlesNepote/events{/privacy}","received_events_url":"https://api.github.com/users/CharlesNepote/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-24T06:58:00Z","updated_at":"2015-05-08T15:29:03Z","closed_at":"2015-05-08T14:15:05Z","body":"Reverse geocoding is only possible one item at a time.\r\nCould it be possible to do reverse geocoding from a CSV file?\r\n\r\nSuggestions:\r\n* /csv/ in the API should be renamed /geocodeFromCSV/\r\n* create a /reverseFromCSV/ in the API\r\n* add possibility to do reverse geocoding with command line such as:\r\n  * $ addok reverseFromCSV  path/to/file.csv\r\n\r\nExamples of use cases:\r\n* find all city names of POIs (example: POIs exported from OSM)\r\n* provide a delimitation of a polygon with real addresses\r\n\r\nHere is a very concrete need for me (last command is a dream):\r\n\r\n    $ wget http://download.geofabrik.de/europe/france/provence-alpes-cote-d-azur-latest.osm.pbf # télécharge le fichier OSM de la Région PACA\r\n    $ ./osmconvert32 provence-alpes-cote-d-azur-latest.osm.pbf -o=provence-alpes-cote-d-azur-latest.o5m # conversion du dit fichier dans un format lisible pour osmfilter\r\n    $ ./osmfilter32 provence-alpes-cote-d-azur-latest.o5m --keep=\"amenity=pharmacy\" > PACA-pharmacies.o5m # filtrage proprement dit pour ne retenir que les pharmacies\r\n    $ ./osmconvert32 PACA-pharmacies.o5m --all-to-nodes --csv=\"@id @lon @lat amenity shop name\" --csv-headline > PACA-pharmacies.csv # conversion du fichier filtré en CSV\r\n    $ addok reverseFromCSV  PACA-pharmacies.csv > PACA-pharmacies-with-city-names.csv\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/etalab/addok/issues/comments/100273220","html_url":"https://github.com/etalab/addok/issues/58#issuecomment-100273220","issue_url":"https://api.github.com/repos/etalab/addok/issues/58","id":100273220,"user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T15:29:03Z","updated_at":"2015-05-08T15:29:03Z","body":"Doc added in http://adresse.data.gouv.fr/api/ too."}}