How to get E6 format of Longitude Latitude for Google Maps on Android

后端 未结 2 1336
悲&欢浪女
悲&欢浪女 2020-12-28 19:20

how do i find out the SPECIFIC E6 values of longitude latitude of a location. For example, i googled for long-lat of Asuncion, the capital city of Paraguay.

2条回答
  •  清歌不尽
    2020-12-28 19:38

    I'm not sure of a programmatic approach to converting a DMS Coordinate to Microdegrees, but there is a manual conversion process which I came across at:

    http://en.wikipedia.org/wiki/Geographic_coordinate_conversion#Conversion_from_DMS_to_Decimal_Degree

    Also, take a look at this SO question:

    Android GeoPoint with lat/long values

    If you're manually trying to get GPS coordinates and want values that Android can handle, you can always go to Google Maps and Right-Click on a point on the map and select "What's Here". It will give you the lat/long of that position, though there are many ways of getting these.

提交回复
热议问题