Actions74
- ai Actions
- array Actions
- audiovideo Actions
- carbone Actions
- charts Actions
- code Actions
- data Actions
- datetime Actions
- events Actions
- files Actions
- geo Actions
- hellospaces Actions
- images Actions
- Get Metadata of an Image
- Scale an Image
- Overlay an Image on another Image
- Scale an Image to Fit Given Dimensions
- Resize an Image
- Mask an Image with Another Image
- Mask an Image with a Circle Mask
- Crops an image by the given x, y, width and height paramters.
- Convert Texts to an Image
- Convert HTML String or URL to an Image
- Generates a QRCode with given text and color.
- Get EXIF from Image
- Remove EXIF from Image
- Modify Image EXIF
- playground Actions
- spreadsheet Actions
- stripe Actions
- youtube Actions
geo → Convert Geocode
AI-generatedOverview
The Convert Geocode operation in the "geo" resource of this n8n node allows you to convert geolocation data between different formats: Decimal, Degrees Minutes Seconds (DMS), and Exif. This is useful when working with geographic coordinates from various sources (e.g., GPS devices, image metadata, or manual entry) that use different representations. Common scenarios include:
- Converting latitude/longitude from decimal to DMS for mapping applications.
- Parsing Exif geotags from images and converting them to standard coordinate formats.
- Standardizing location data for further processing or integration with other systems.
Practical examples:
- Extracting GPS coordinates from a photo's Exif data and converting them to decimal format for use in a mapping API.
- Taking manually entered DMS coordinates and converting them to decimal for database storage.
Properties
| Name | Meaning |
|---|---|
| Decimal Input Mode | Choose how to provide decimal coordinates: - Expression: Enter as a JSON object. - Manual: Use a form with separate fields for latitude, longitude, or a full string. |
| Decimal | Your geocode in decimal format. Required if using decimal input. Can be provided as: - JSON object (Expression mode) - Collection with fields: • Latitude • Longitude • Full string (Manual mode) |
| Degrees Minutes Seconds Input Mode | Choose how to provide DMS coordinates: - Expression: Enter as a JSON object. - Manual: Use a form with vertical/horizontal values or a full string. |
| Degrees Minutes Seconds | Your geocode in DMS format. Required if using DMS input. Can be provided as: - JSON object (Expression mode) - Collection with fields: • Vertical • Horizontal • Full string (Manual mode) |
| Degrees Minutes Seconds Input Mode | Choose how to provide Exif coordinates: - Expression: Enter as a JSON object. - Manual: Use a form with Android/iOS Exif data. |
| Degrees Minutes Seconds (Exif) | Your geocode in Exif format. Required if using Exif input. Can be provided as: - JSON object (Expression mode) - Collection with fields: • Android Exif Data • iOS Exif Data (Manual mode) |
Note: Only one of Decimal, DMS, or Exif needs to be provided per conversion.
Output
- The output will be a
jsonobject containing the converted geocode data. - The structure of the output depends on the input and the API response, but typically includes standardized latitude and longitude in decimal format, and may include the original and converted formats.
- No binary data is produced by this operation.
Example output:
{
"latitude": 40.7128,
"longitude": -74.0060,
"inputFormat": "dms",
"outputFormat": "decimal"
}
Dependencies
- External Service: Requires access to the 1001fx API.
- API Key: You must configure the
1001fxApicredential in n8n. - Environment: Internet access is required for API calls.
Troubleshooting
Common issues:
- Missing or invalid input: If none of Decimal, DMS, or Exif data is provided, the node will fail.
- Malformed input: Incorrectly formatted JSON or missing required fields (e.g., latitude/longitude) can cause errors.
- API errors: If the 1001fx API returns an error (e.g., due to invalid credentials or rate limits), the node will throw an error message.
Error messages and resolutions:
"error": "Invalid geocode format": Check that your input matches the expected structure for the selected mode."error": "Authentication failed": Ensure your 1001fx API credentials are correctly set up in n8n."error": "Network error": Verify internet connectivity and that the 1001fx API is reachable.