Data TransformationGeospatialIntermediate

Compute Distance Between Geospatial Points

Infoveave Data Automation — Geospatial

Every customer address row gets a distance-from-warehouse column in one step — no PostGIS, no Haversine formula in a query, just configure the reference point and run.

Proximity is one of the most common filtering, ranking, and routing criteria in logistics, retail, and field operations analytics. Knowing how far each customer, asset, or event is from a reference location — a warehouse, a service center, a store — lets teams segment customers by delivery zone, route service visits efficiently, build catchment analysis, and trigger proximity-based alerts. Computing that distance column typically requires either GIS software, a PostGIS query with Haversine or ST_Distance functions, or a Python script with the geopy or shapely library. Compute Distance Between Geospatial Points adds the distance column directly in the data workflow, reading each row's coordinates and computing distance from the configured reference so the result is immediately available for filtering, ranking, and reporting.

Input:Tabular dataset with latitude and longitude columns or a geospatial column containing point coordinates to measure distance from a fixed reference, object, or paired geopoint columnOutput:Tabular dataset with a new distance column containing the calculated distance between each row's location and the configured reference point, object, or paired column

What Compute Distance Between Geospatial Points does

Calculate the distance between geospatial locations in a dataset against a fixed reference point, a static geospatial object, or another geopoint column in Infoveave. Measure customer proximity, delivery distances, and logistics coverage without GIS software or PostGIS queries.

When to use Compute Distance Between Geospatial Points

  • You are building a logistics or delivery optimization pipeline where each order or customer record needs a distance-from-hub column to assign delivery zones, estimate delivery costs, or filter orders within a service radius
  • You are performing retail catchment analysis where each customer transaction record needs a distance from the nearest store calculated and stored as a column for segmenting loyal vs passing customers
  • You are analyzing field service or maintenance records where each asset or service event needs to be tagged with its distance from the regional service center to support routing, escalation, and coverage reporting
  • You need to compute the distance between two geopoint columns in the same row — such as pickup location and drop-off location for ride-share or delivery records — to add a trip distance column to the dataset

When to avoid it

  • You need to create a GeoPoint column from raw latitude and longitude values before computing distance — use Create GeoPoint from Latitude/Longitude first
  • You need to draw a buffer or coverage area around a point rather than compute a scalar distance — use Create Area Around Geopoint for area-based geofencing
  • You already have distance values and need to filter rows based on a distance threshold — use Filter on Numerical Range on the distance column after computing it

Where it fits in your Infoveave automation

Compute Distance Between Geospatial Points is one step inside a multi-step Infoveave workflow. Chain it with other activities — no code, no manual hand-offs.

ConnectLoad customer addresses, asset locations, transaction records, or any dataset with geographic coordinates that need distance measurement
Create GeoPoint (if needed)If latitude and longitude are in separate columns, use Create GeoPoint from Latitude/Longitude to combine them before computing distance
You are hereCompute DistanceConfigure the compare type, reference coordinates, and distance column name to add a distance value to each row
Filter by DistanceApply Filter on Numerical Range to the distance column to keep only rows within a specific proximity threshold
Segment and ReportUse the distance column as a grouping dimension — near, mid, far zones — for catchment analysis, routing, and coverage reporting

Build this workflow visually in Infoveave Data Automation — drag, connect, and schedule with no infrastructure setup.

Infoveave — Workflow Builder
● SavedSchedule: Daily 06:00
Data SourceConnectLoad customer addresses, a…Create GeoPoint (if needed)If latitude and longitude …YOU ARE HERECompute DistanceConfigure the compare type…Filter by DistanceApply Filter on Numerical …Segment and ReportUse the distance column as…Dashboard

How teams use Compute Distance Between Geospatial Points

Real scenarios where this transformation saves hours of manual work.

Retail

Tag Each Customer Transaction with Distance from Nearest Store

A retail analytics team processes customer transaction records where each record includes the customer's home address as a latitude/longitude pair. The team needs to know how far each customer traveled to visit a store for catchment area mapping and loyalty segmentation. Compute Distance Between Geospatial Points is configured with the customer's lat/lon columns and a fixed reference geopoint for each store. The distance column labels customers as local (under 5 km), regional (5-20 km), or distant (over 20 km) in a subsequent classification step.

Manufacturing

Calculate Distance Between Manufacturing Plants and Distribution Centers

A supply chain team maintains a dataset of production lots where each lot includes the originating plant geopoint and the assigned distribution center geopoint in separate columns. Compute Distance Between Geospatial Points is configured with the Another Geospatial Column comparison type, computing the distance between the two geopoint columns for each row. The resulting distance column is used to compute freight cost estimates and evaluate plant-to-center routing efficiency.

Finance

Measure ATM Distance from Branch to Optimize Coverage Planning

A bank's network planning team maintains an ATM dataset where each ATM record includes its GPS coordinates. The team needs to compute each ATM's distance from its nearest branch to identify coverage gaps and redundant ATM placements. Compute Distance Between Geospatial Points uses the ATM lat/lon columns and a fixed reference point for each branch (run in a loop per branch) to add a distance column that feeds the coverage optimization model.

See Compute Distance Between Geospatial Points in action

Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.

Compare Type:Fixed Geo Point
Latitude Column:Latitude
Longitude Column:Longitude
Latitude Value For FixedGeopoint:12.9716 (Bangalore)
Longitude Value For FixedGeopoint:77.5946 (Bangalore)
Distance Column Name:DistanceFromBangalore

Input Data

IDLatitudeLongitude
128.704177.1025
234.0522-118.2437
348.85662.3522
451.5074-0.1278
540.7128-74.0060

Output Data

IDLatitudeLongitudeDistanceFromBangalore
128.704177.10251756.4
234.0522-118.243714572.1
348.85662.35228023.5
451.5074-0.12788276.3
540.7128-74.006013386.7

Configuration

Key fields to configure in the Infoveave workflow builder. Full reference available in the documentation.

Compare Type

Choose how the distance reference is defined. Fixed Geo Point computes distance between each row and a fixed latitude/longitude you specify — use this for distance from a single known location like a warehouse or store. Fixed Geospatial Object computes distance between each row and a stored geospatial shape. Another Geospatial Column computes distance between two geopoint columns in the same row — use this for trip distance between a pickup and a drop-off point.

Distance Column Name

Name the output column that will store the computed distance values. Distance is returned in kilometers by default. The column can be used immediately for filtering, ranking, and zone assignment in downstream steps.

Frequently asked questions

Everything you need to know about Compute Distance Between Geospatial Points in Infoveave.

Also in Geospatial — and what runs before & after

Transformations in the same family as Compute Distance Between Geospatial Points, often chained together in the same Infoveave workflow.

Part of Infoveave Data Automation

80+ transformations. Zero manual steps.

Compute Distance Between Geospatial Points is one of over 80 transformation activities available inside Infoveave workflows. Chain transformations together — no code, no exports, no waiting for IT.

Ready to see Infoveave in action?

Book a Demo
ISO 27001ISO 27017ISO 27701GDPRHIPAACCPAAICPACSR LogoCapterra Reviews — Infoveave

© 2026 Noesys Software Pvt Ltd

Infoveave® is a product of Noesys

All Rights Reserved