Lookup country for GPS coordinates without Internet access

后端 未结 4 898
滥情空心
滥情空心 2021-02-09 11:34

I need to find out in what country given GPS coordinates are, on a device that has no Internet access (e.g. this, but without the easy on-line solution). Having no experience wi

4条回答
  •  余生分开走
    2021-02-09 12:28

    You would need a map with the boundaries of each country. Then, given a coordinate, you would need to calculate in which boundary the point fell. Of course, the two challenges there are collecting the data and representing it, and doing the math to find where a point falls.

    Does anyone know how Yahoo does it? Could you possibly port their approach locally?

提交回复
热议问题