Forward Geocoder on AWS Marketplace Developer's Guide

Response Examples

Example Geocode Response

For explanations of each element in the XML response, see Search Response

<Response>
  <MetaInfo>
    <Timestamp>2015-09-15T06:10:48.562Z</Timestamp>
  </MetaInfo>
  <View xsi:type="ns2:SearchResultsViewType">
    <ViewId>0</ViewId>
    <Result>
      <Relevance>1.0</Relevance>
      <MatchLevel>houseNumber</MatchLevel>
      <MatchQuality>
        <City>1.0</City>
        <Street>1.0</Street>
        <HouseNumber>1.0</HouseNumber>
      </MatchQuality>
      <MatchType>pointAddress</MatchType>
      <Location>
        <LocationId>NT_Opil2LPZVRLZjlWNLJQuWB_0ITN</LocationId>
        <LocationType>address</LocationType>
        <DisplayPosition>
          <Latitude>41.8843193</Latitude>
          <Longitude>-87.6387711</Longitude>
        </DisplayPosition>
        <NavigationPosition>
          <Latitude>41.884491</Latitude>
          <Longitude>-87.6387711</Longitude>
        </NavigationPosition>
        <MapView>
          <TopLeft>
            <Latitude>41.8854435</Latitude>
            <Longitude>-87.640281</Longitude>
          </TopLeft>
          <BottomRight>
            <Latitude>41.8831952</Latitude>
            <Longitude>-87.6372611</Longitude>
          </BottomRight>
        </MapView>
        <Address>
          <Label>
            425 W Randolph St, Chicago, 
            IL 60606, United States
          </Label>
          <Country>USA</Country>
          <State>IL</State>
          <County>Cook</County>
          <City>Chicago</City>
          <District>West Loop</District>
          <Street>W Randolph St</Street>
          <HouseNumber>425</HouseNumber>
          <PostalCode>60606</PostalCode>
          <AdditionalData key="CountryName">United States</AdditionalData>
          <AdditionalData key="StateName">Illinois</AdditionalData>
          <AdditionalData key="CountyName">Cook</AdditionalData>
          <AdditionalData key="PostalCodeType">N</AdditionalData>
        </Address>
      </Location>
    </Result>
  </View>
</Response>

Example Landmark Geocode Response

For explanations of each element in the XML response, see Search Response

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ns2:Search xmlns:ns2="http://www.navteq.com/lbsp/Search-Search/4">
  <Response>
    <MetaInfo>
      <Timestamp>2015-09-15T06:31:18.202Z</Timestamp>
    </MetaInfo>
    <View xsi:type="ns2:SearchResultsViewType">
      <ViewId>0</ViewId>
      <Result>
        <Relevance>1.0</Relevance>
        <MatchLevel>landmark</MatchLevel>
        <MatchQuality>
          <Name>1.0</Name>
        </MatchQuality>
        <Location>
          <LocationId>NT_AIzytxewh0cMjfGkhX4O.B</LocationId>
          <LocationType>historicalMonument</LocationType>
          <Name>Tour Eiffel</Name>
          <DisplayPosition>
            <Latitude>48.85824</Latitude>
            <Longitude>2.2945</Longitude>
          </DisplayPosition>
          <NavigationPosition>
            <Latitude>48.85863</Latitude>
            <Longitude>2.29397</Longitude>
          </NavigationPosition>
          <MapView>
            <TopLeft>
              <Latitude>48.87173</Latitude>
              <Longitude>2.274</Longitude>
            </TopLeft>
            <BottomRight>
              <Latitude>48.84475</Latitude>
              <Longitude>2.315</Longitude>
            </BottomRight>
          </MapView>
          <Address>
            <Label>75007 Paris, France</Label>
            <Country>FRA</Country>
            <State>Île-de-France</State>
            <County>Paris</County>
            <City>Paris</City>
            <District>7e Arrondissement</District>
            <PostalCode>75007</PostalCode>
            <AdditionalData key="CountryName">France</AdditionalData>
            <AdditionalData key="StateName">Île-de-France</AdditionalData>
      <AdditionalData key="CountyName">Paris</AdditionalData>
           </Address>
        </Location>
      </Result>
    </View>
  </Response>
</ns2:Search>