How to convert gps north and gps west to lat / long in lens c

I got these values ​​from the server:

<gps_n>34.22.123</gps_n>
<gps_w>81.59.345</gps_w>

I would like to convert these values ​​to latitude / longitude in Objective C. Could you give me a guide for this?

thanks

0
source share
2 answers

Formula for lat / long (n / w):

degrees + (minutes / 60) + (seconds / 3600)

From this page:

http://webmaster10.com/ldr/lat-long-conversion.html

+4
source

, , /. lat, lon, , lat/long , N/S E/W.

: (Degrees+(minutes/60)+(seconds/3600))   -1, S . -1 "W".

+1

Source: https://habr.com/ru/post/1609704/


All Articles