Geocoder API Developer's Guide

Find Address within a Geospatial Area

Additional context in form of geospatial area information can replace precise address information in the input. This is especially important for queries without city, district or postal code information. Geospatial context can be added to a request in three ways:
  • mapview: Matches from within the set map view plus an extended area are ranked highest. Relevant global results are also returned.
  • bbox: The bbox search is currently similar to mapview but it is not extended.
  • prox: Position plus radius. Search is similar to mapview. Matches from inside set area are ranked higher. Relevant global results are also returned.

Addressline-only Example

Providing additional context is especially important for queries without city, district or postal code information. The following example is a search for Market St and a map view over San Francisco:

https://geocoder.cit.api.here.com/6.2/geocode.xml
?searchtext=Market+St
&mapview=37.7983366,-122.4006509;37.7904096,-122.3916387
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&gen=9

Depending on the map view center and size the results will be different. The results are sorted by distance from the map view center.

<Distance>191.8</Distance>
...
<DisplayPosition>
  <Latitude>37.7927742</Latitude>
  <Longitude>-122.396965</Longitude>
</DisplayPosition>
...
<Label>Market St, San Francisco, CA 94111, United States</Label>
...
<Distance>719.7</Distance>
...
<DisplayPosition>
  <Latitude>37.7893333</Latitude>
  <Longitude>-122.4012833</Longitude>
</DisplayPosition>
...
<Label>Market St, San Francisco, CA 94104, United States</Label>

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.