Answer the question
In order to leave comments, you need to log in
How to find nearest gps coordinates?
I request the coordinates of points in the city:
foreach ($data as $Full)
{echo $Full['GPS'];};
55.0461612.60.1068595
55.058817.60.107156
55.1352482.60.1488734
55.150504.60.151353
55.041317.60.111684
52.1352482.62.1484734
57.1505.61.151334
51334.6.61.5133.6.61A
echo $geo[lat];
echo $geo[lon];
55.0472483
and
60.096523
Answer the question
In order to leave comments, you need to log in
If the shortest geographically, then consider the distance along the arc of the great circle .
And if for a person, then there are a lot of factors. For example, the geographically closest point is 200 meters across the river, but the bridge is 10 kilometers away. Or to one point an hour on foot, and to a further 15 minutes by bus.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question