---
title: Extract lat/lon from GeoPoint
description: Extract latitude and longitude values from a GeoPoint column.
category: Data Transformation
tags: [geolocation, latitude, longitude, geopoint, coordinates]
---

# Extract lat/lon from GeoPoint

## Description

The **Extract Lat/Lon from Geo Point** activity parses geographic coordinate values from a column containing geo point strings — typically in the format `(latitude, longitude)` — and separates them into two new columns: one for latitude and another for longitude.

> **Use case**:  
> Useful when working with address datasets, location-tracked records, or mapping systems that store coordinates in a single field. This activity allows for easier geospatial filtering, distance calculations, or visualization on maps.

---

## Input

| Type | Description                                                       |
| ---- | ----------------------------------------------------------------- |
| Data | A dataset containing a GeoPoint column in the format `(lat, lon)` |

---

## Output

| Type             | Description                                                 |
| ---------------- | ----------------------------------------------------------- |
| Transformed Data | Same dataset with additional Latitude and Longitude columns |

---

## Configuration Fields

| Field Name           | Required | Description                                                          |
| -------------------- | -------- | -------------------------------------------------------------------- |
| **GeoPoint column**  | Yes      | The name of the column containing the `(latitude, longitude)` string |
| **Latitude column**  | Yes      | The name of the column where latitude values will be stored          |
| **Longitude column** | Yes      | The name of the column where longitude values will be stored         |

---

## Sample Input

| ID  | Location             |
| --- | -------------------- |
| 1   | (12.9716, 77.5946)   |
| 2   | (40.7128, -74.0060)  |
| 3   | (34.0522, -118.2437) |

---

## Sample Configuration

| Field            | Value     |
| ---------------- | --------- |
| GeoPoint column  | Location  |
| Latitude column  | Latitude  |
| Longitude column | Longitude |

<!-- ![alt text](extract-lat-lon-from-geo-point-img.png) -->

---

## Sample Output

| ID  | Location             | Latitude | Longitude |
| --- | -------------------- | -------- | --------- |
| 1   | (12.9716, 77.5946)   | 12.9716  | 77.5946   |
| 2   | (40.7128, -74.0060)  | 40.7128  | -74.0060  |
| 3   | (34.0522, -118.2437) | 34.0522  | -118.2437 |

---
