Reverse Service: Response - geo_addressing_sdk - 5.0

Geo Addressing SDK Developer Guide

Product type
Software
Portfolio
Locate
Product family
Geo Addressing
Product
Geo Addressing SDK
Version
5.0
Language
English
Product name
Geo Addressing SDK
Title
Geo Addressing SDK Developer Guide
Copyright
2023
First publish date
2007
Last updated
2024-10-17
Published on
2024-10-17T16:12:58.390251

Within the Addressing REST API, a request to the Reverse Service returns a list of results.

Response Structure

Within the Addressing REST API, a request to the Address Geocode Service returns a list of results. Not every field will be returned with a result.

Table 1.
Field Type Description
errorMessage String Error message: The error message returned from the service with an error code.
status Status Status of the response.
results <Result array> List of results based on the specified criteria.

Addressing API: Reverse Example

In the Sample application, do the following:

  1. Navigate to Addressing v1 > Reverse.
  2. Enter 0 as both the Latitude and Longitude.
  3. Click Submit and review the Response.
    {
      "responses": [
        {
          "status": "OK",
          "results": [
            {
              "score": 0,
              "address": {
                "formattedAddress": "3 impasse des Romarins, 13113 Lamanon, France",
                "formattedStreetAddress": "3 impasse des Romarins",
                "formattedLocationAddress": "13113 Lamanon",
                "addressNumber": "3",
                "country": {
                  "name": "France",
                  "isoAlpha2Code": "FR",
                  "isoAlpha3Code": "FRA",
                  "isoNumericCode": "250"
                },
                "admin1": {
                  "longName": "Provence-Alpes-Côte d'Azur",
                  "shortName": "Provence-Alpes-Côte d'Azur"
                },
                "admin2": {
                  "longName": "Bouches-du-Rhône",
                  "shortName": "Bouches-du-Rhône"
                },
                "city": {
                  "longName": "Lamanon",
                  "shortName": "Lamanon"
                },
                "postalCode": "13113",
                "street": "des Romarins"
              },
              "addressLines": [
                "3 impasse des Romarins",
                "13113 Lamanon",
                "France"
              ],
              "location": {
                "explanation": {
                  "type": "ADDRESS_POINT"
                },
                "feature": {
                  "type": "Feature",
                  "properties": {
                    "crsName": "epsg:4326"
                  },
                  "geometry": {
                    "type": "Point",
                    "coordinates": [
                      0.00005,
                      0.00039
                    ]
                  }
                }
              },
              "explanation": {
                "addressMatch": {},
                "source": {
                  "label": "ggs"
                }
              },
              "customFields": {
                "MAIN_ADDRESS": "des Romarins",
                "LANGUAGE": "fr",
                "SEGMENT_ID": "e0c25a7497cc47bba075dedf834dc575",
                "REVERSE_GEOCODE_DISTANCE": "43.721000000000004",
                "REVERSE_GEOCODE_DISTANCE_UNIT": "METERS",
                "RESULT_CODE": "RS8A",
                "PRECISION_CODE": "RS8A",
                "PRE_THOROUGHFARE_TYPE": "impasse",
                "THOROUGHFARE_TYPE": "impasse",
                "STREETDATATYPE": "15"
              },
              "parsed": [
                {}
              ]
            }
          ]
        }
      ]
    }