thampiman/reverse-geocoder

Euclidean distance used with geodetic coordinates to find nearest neighbours in K-D tree

thampiman opened this issue · 0 comments

The geodetic coordinates (lat,lon,alt) are used in the K-D tree and the nearest neighbour is found using the Euclidean distance function. See https://news.ycombinator.com/item?id=9281998 on why this is a bad idea for nearest neighbour search.