V
V
Viktor Yurchenko2016-09-30 18:46:24
Python
Viktor Yurchenko, 2016-09-30 18:46:24

Python. There is a list of bars with coordinates, I need to find the bar closest to me. How can I do this, my coordinates are set, they do not need to be found?

Prompt in what direction to think, libraries, functions.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
Xander017, 2016-10-03
@Witosser

Haversine. Maybe it will help

D
Dimonchik, 2016-09-30
@dimonchik2013

90fbb0d3851e485e80e28f1e0da4cea0.jpeg

P
Phantomrus, 2016-10-03
@Phantomrus

nirvimel is right, it is enough to calculate according to the Pythagorean theorem and it was even discussed in Slack =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question