DenisCarriere / geocoder

:earth_asia: Python Geocoder
http://geocoder.readthedocs.org
MIT License
1.63k stars 287 forks source link

Getting same osm_id value for different coordinates #411

Open Rajjat opened 4 years ago

Rajjat commented 4 years ago

I am using geocoder python api for getting osm_id from coordinates. I found these two issues in the geocoder:- 1) wrong mapping from coordinates to osm_id. These two points are far away (63 km on google map)but still map to same osm_id. while confeirming with the nomanitium, osm_id value was different. g = geocoder.osm([49.981443180674994,8.335279680626169],url=url, method='reverse') g.osm_id output:- 1645653251 g1 = geocoder.osm([50.46680722931387,8.108962510055488],url=url, method='reverse') g1.osm_id output:1645653251