geospatial - Closest Landmark to a Coordinate -


i have app displays maps. add feature user can tap location , have it display information nearest landmark.

by landmark, mean have set of predefined objects related app latitude/longitude coordinates.

the app able convert x/y screen coordinates latitude/longitude.

the app calculates distance between 2 latitude/longitude coordinates.

therefore, could, through brute force, run through list of landmarks , find closest.

however, knowing problem many applications have face, ask if there better technique find closest "landmark" latitude/longitude brute force? kind of transform?


Comments