Geocoder API Developer's Guide

Find Street Intersections

Street intersections can be searched for using either freeform or qualified input. Either combine both street names in the single street field or as separate street names in fields street0 and street1. If two street names are provided in one text either within searchtext or street then separate the two names with one of and, at, & or @.

Intersection Search Example

The following requests show the three ways to search for street intersections.

https://geocoder.cit.api.here.com/6.2/geocode.xml
?searchtext=Pine+St+@+Market+St+San+Francisco
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&gen=9
https://geocoder.cit.api.here.com/6.2/geocode.xml
?city=San+Francisco
&street=Pine+St+@+Market+St
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&gen=9
https://geocoder.cit.api.here.com/6.2/geocode.xml
?city=San+Francisco
&street0=Pine+St
&street1=Market+St
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&gen=9

The response for each of the requests is identical.

<MatchLevel>intersection</MatchLevel>
...
<DisplayPosition>
  <Latitude>37.7924881</Latitude>
  <Longitude>-122.3973389</Longitude>
</DisplayPosition>
...
<Address>
  <Label>
    Pine St & Market St, San Francisco, CA 94105, United States
  </Label>
  <Country>USA</Country>
  <State>CA</State>
  <County>San Francisco</County>
  <City>San Francisco</City>
  <District>South Beach</District>
  <Street>Pine St & Market St</Street>
  <PostalCode>94105</PostalCode>
  <AdditionalData key="CountryName">United States</AdditionalData>
  <AdditionalData key="StateName">California</AdditionalData>
</Address>

Note that for intersection matches the chosen gen makes a difference. If gen>=1 the MatchLevel is intersection. If gen=0 the MatchLevel is street.

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.