ژئوکدینگ معکوس


توسعه‌دهندگان منطقه اقتصادی اروپا (EEA)

ژئوکدینگ معکوس به تبدیل مختصات جغرافیایی یک مکان به یک آدرس خیابان قابل خواندن توسط انسان اشاره دارد. کیت توسعه نرم‌افزار Maps برای iOS شامل کلاسی به نام کلاس GMSGeocoder است که شامل تابع عضو reverseGeocodeCoordinate است که می‌توانید برای انجام تبدیل از آن استفاده کنید. این متد مختصات مکان را در نمونه‌ای از یک شیء CLLocationCoordinate2D دریافت می‌کند و یک آدرس خیابان قابل خواندن توسط انسان را در نمونه‌ای از کلاس GMSAddress برمی‌گرداند.

تأثیر ترجیحات زبانی

این ژئوکودر برای ارائه آدرس‌های خیابان قابل خواندن توسط انسان بهینه شده است. برای دستیابی به این هدف، آدرس‌های خیابان را به زبان محلی برمی‌گرداند و آنها را به متنی که توسط کاربر (در صورت لزوم) قابل خواندن باشد، تبدیل می‌کند. سایر آدرس‌ها به زبان دلخواه برگردانده می‌شوند.

  • Address components are returned in the same language, which is chosen from the first component.

  • If a name is not available in the preferred language, then the geocoder uses the closest match.

ضمانت‌های مربوط به اجزای آدرس

Google makes no guarantee regarding address components. Address structure changes from country to country, and even within countries.

  • You can expect address components to contain only what is relevant for postal addresses, and little more.

  • In particular, locality is neither guaranteed to be always present, nor is it supposed to always represent the city .

For an example of address components in action, see Place Autocomplete Address Form .

مرتب‌سازی نتایج

Results aren't sorted by distance, and the order is subject to change.

  • یک سفارش خاص تضمین شده نیست.

  • There is no guarantee about what the first result will be.

ژئوکدینگ معکوس یک تخمین است

The geocoder attempts to find the closest addressable location within a particular tolerance.

If the geocoder can't find a match, then it returns no results.

For more information, see Geocoding Addresses Best Practices and also the Geocoding FAQ .