1

我对 iPhone 或任何其他平台上的地理编码完全陌生,我想知道。默认 iPhone MapKit 是正向还是反向地理编码?以及什么是正向和反向是什么意思?

iPhone中是否有解释这两者的文档?一些例子也很好:)

多谢你们!

4

5 回答 5

2

Forward - 人类可读的坐标地址。

反向- 可读地址的坐标。

请查看SVGeocder。它通过 Google API 支持正向和反向地理编码。

iOS SDK 有一个MKReverseGeocoder类来支持反向地理编码,但我觉得它不是很准确。

于 2011-08-17T07:28:51.177 回答
1

地理编码正在获取地址(或类似地址)并将其转换为纬度/经度坐标。

反向地理编码正在获取一组坐标并将它们转换为地址。

于 2011-08-17T03:47:11.170 回答
1

地理编码就像您有一个地址并且您想获取该地址的纬度和经度。

反向地理编码是,如果您有纬度和经度,并且您想找到该纬度和经度所在的城市或国家/地区代码或区域。

于 2011-08-17T07:29:38.747 回答
0

A geocoder object uses a network service to convert between latitude and longitude values and a user-friendly placemark, which is a collection of data such as the street, city, state, and country information.

  • Reverse geocoding is the process of converting a latitude and longitude into a placemark.
  • Forward geocoding is the process of converting place name information into a latitude and longitude value.

Reverse geocoding is supported in all versions of iOS but forward geocoding is supported only in iOS 5.0 and later.

于 2012-08-01T14:54:58.863 回答
0

您可以在 Apple 的位置感知编程指南中阅读有关地理编码的信息。http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/UsingGeocoders/UsingGeocoders.html#//apple_ref/doc/uid/TP40009497-CH4-SW5

iOS 支持反向地理编码,但不支持正向地理编码。您可以自己实施前向地理编码。如何在 iPhone 上进行地理编码(不是反向地理编码)?

于 2011-08-17T04:09:44.047 回答