获取邮政编码 + 4 从纬度/经度
有谁知道使用iPhone定位服务(纬度/经度)来确定用户的邮政编码+4的最佳方法? MKReverseGeocoder有能力拉回zip+4吗?
谢谢!
-托尼
Does anyone know the best way to use the iPhone location services (lat/long) to determine the zip code+4 of the user? Does MKReverseGeocoder have the ability to pull back zip+4?
Thanks!
-tony
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我最喜欢去的地方是 geonames.org 。
My favorite place to go for anything having to do with geocoding is geonames.org.
您可以使用免费的反向地理编码服务来为您执行此操作。
Google 有这样的服务:http://code.google.com/ apis/maps/documentation/services.html#ReverseGeocoding
另外,此 Google 网上论坛帖子列出了其他反向地理编码服务:http://groups.google.com/group/Google-Maps-API/web/resources-non-google-地理编码器?pli=1
You may be able to use a free Reverse Geocoding service to do this for you.
Google has such a service: http://code.google.com/apis/maps/documentation/services.html#ReverseGeocoding
Alternately, this Google Groups post has a listing of other Reverse Geocoding services: http://groups.google.com/group/Google-Maps-API/web/resources-non-google-geocoders?pli=1
苹果的文档说,MKReverseGeocoder 的 MKPlacemark 只返回五位邮政编码。您可能必须使用其他答案中所述的外部反向地理编码器才能获得额外的四位数字。
Apple's documentation says that the MKPlacemark that MKReverseGeocoder only returns a five-digit zip code. You may have to use an outside reverse geocoder as described in the other answers to get the extra four digits.