4.1.2.5 Verifying the Result of Reverse Geocoding

Once the reverse geocoding task completes with status DONE, then you can use the following request to view a row of data from the dataset table. This is to verify that the table contains additional address-related columns populated by the reverse geocoding operation performed by Spatial Studio in the backend.

HTTP GET Request

curl -k "https://localhost:4040/spatialstudio/oauth/v1/datasets/rows/5c3b3a6d98eab545a0f9bd66e3d07886?limit=1" \
 --header "Authorization: Bearer <MY_TOKEN>"

The JSON response contains a single table row with the added columns.

Response

{
  ...
  "items": [
    {
      "COUNTRY": "US",
      "HOUSE_NUMBER": "2403",
      "LAT": 35.53222623,
      "LON": -101.5576172,
      "MUNICIPALITY": "Carson",
      "NAME": "Amarillo Warehouse",
      "POSTAL_CODE": "79068",
      "REGION": "TX",
      "SETTLEMENT": "Panhandle",
      "STREET": "County Road D"
    }
  ],
  ...
}