Skip to main content

Coordinates to Address

Converts geographic coordinates (latitude and longitude) to a human-readable address using Google Maps API.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Latitude - The latitude coordinate as a decimal number.
  • Longitude - The longitude coordinate as a decimal number.

Options

  • Credentials - Google Maps API key credential used to authenticate with the service.

Output

  • Result - The reverse geocoding result containing the address information corresponding to the coordinates.

How It Works

The Coordinates to Address node converts geographic coordinates into a human-readable address using Google Maps Reverse Geocoding API. When executed, the node:

  1. Validates the provided latitude and longitude inputs
  2. Retrieves the Google Maps API key from credentials
  3. Creates a Reverse Geocoding request with the provided coordinates
  4. Sends the request to Google Maps Reverse Geocoding API
  5. Returns the reverse geocoding result which includes:
    • Formatted address
    • Address components (street, city, state, etc.)
    • Place ID
    • Address types and categories

Requirements

  • A valid Google Maps API key with Geocoding API enabled
  • Valid latitude and longitude coordinates

Error Handling

The node will return specific errors in the following cases:

  • Invalid or missing latitude input
  • Invalid or missing longitude input
  • Invalid or missing Google Maps API credentials
  • Google Maps API service errors
  • Network connectivity issues

Usage Notes

  • Latitude and longitude should be provided as decimal numbers
  • The API key must have Geocoding API permissions enabled
  • The result contains multiple address components that can be parsed as needed
  • Multiple results may be returned for a single coordinate pair
  • The node returns structured data that can be used with other map-related nodes
  • Coordinates should be in decimal degrees format (e.g., 41.0082, 28.9784)