HERE iOS SDK Developer's Guide

NMAGeocodeResult

Class Summary

class NMAGeocodeResult

Derived from: NSObject

Represents the result of a geocode request.

Include: NMAKit.framework/headers/NMAGeocodeResult.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAGeocodeResult

[For complete information, see the section Class Details]

See also:

NMAGeocodeRequest

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAPlaceLocation location

The location data of the geocode result.

[readable, assign] NSDictionary *  matchQuality

Details about the quality of the result.

[readable, assign] float  relevance

The relevance of the result location to the original search parameters.

Class Details

Represents the result of a geocode request.

The data of a geocode result is represented by an instance of NMAPlaceLocation, accessed through the location property. The quality of the result can be assessed in a broad sense with the relevance property, or in more detail using the matchQuality dictionary.

See also:

NMAGeocodeRequest

Public Property Details

[readable, assign] NMAPlaceLocationlocation

The location data of the geocode result.

[readable, assign] NSDictionary * matchQuality

Details about the quality of the result.

Additional information about the accuracy of the result is available in the matchQuality dictionary. It contains one or more NSNumber values representing how well each individual search parameter was matched. The values will be in the range [0, 1] with a value of 1 indicating a perfect match.

The possible keys are "State", "County", "City", "District", "Street", "SecondaryStreet", "HouseNumber", and "PostalCode".

Note:

The "SecondaryStreet" key will be present if an intersection was specified in the geocode request. For example, if the request contained "1st St at 2nd Ave", the "Street" key would access the match value for "1st St" and the "SecondaryStreet" key would access the match value for "2nd Ave".

[readable, assign] float relevance

The relevance of the result location to the original search parameters.

The relevance of a result provides a measure of how accurate or reliable it is. The valid range is [0, 1], with a value of 1 representing a perfect match. If relevancy data is unavailable (such as for an offline search), this property will have the value NMAGeocodeResultInvalidRelevance.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.