OpenGeoMove
OpenGeoMove is a Python library for scalable geospatial analysis of urban mobility data. It combines lazy, file-backed tabular operations with mobility analysis, GPS visualization, and traffic analysis zone (TAZ) workflows.
The project is currently alpha software. Public interfaces may change between early releases.
Features
- Open Parquet, CSV, TSV, and JSON files as a common
Datasetbacked by DuckDB. - Keep large inputs file-backed and push compatible filters, projections, and aggregations into DuckDB before materializing results.
- Inspect schemas, missing values, descriptive summaries, cardinality, and
duplicates through
Datasetmethods. - Compose read-only filters for device IDs, accuracy, timestamps, daily ping counts, and polygons.
- Detect stops, form trips, and classify recurring home and work locations.
- Plot bounded samples of GPS pings, with optional XYZ basemap tiles.
- Create, compare, classify, and visualize traffic analysis zones using population, road, building, and land-use evidence.
Installation
OpenGeoMove requires Python 3.10 or newer. Install it with:
python -m pip install opengeomove
To install the current checkout instead:
git clone https://github.com/geoailabs/opengeomove.git
cd opengeomove
python -m pip install .
Quick start
import opengeomove as ogm
dataset = ogm.open("pings.parquet")
print(dataset.columns)
print(dataset.dtypes)
print(dataset.head())
filtered = dataset.apply(
ogm.processing.HorizontalAccuracyFilter(
50,
accuracy_col="horizontal_accuracy_m",
),
ogm.processing.TimeRangeFilter(
"2026-01-01",
"2026-02-01",
"observed_at",
timezone="Asia/Kolkata",
),
)
print(filtered.missing_summary())
ogm.open() does not copy the complete source into Python memory. Metadata is
computed and cached on first access by default; pass eager_metadata=True to
compute it while opening the file. An exact row count can still require a full
source scan, especially for text formats.
Mobility analysis
Mobility thresholds are supplied by the caller rather than being inferred from a city or dataset:
thresholds = ogm.MobilityThresholds(
max_distance_m=100,
min_stop_duration_s=300,
max_time_gap_s=1_800,
trip_max_time_gap_s=7_200,
)
stops = filtered.cluster_stops(
device_id_col="device_id",
timestamp_col="observed_at",
lat_col="latitude",
lon_col="longitude",
thresholds=thresholds,
source_timezone="UTC",
)
trips = stops.form_trips(thresholds=thresholds)
Traffic analysis zones
TAZ operations are available under ogm.taz. They accept GeoPandas/Shapely
spatial inputs and return a validated TAZFrame, rather than the tabular
DuckDB-backed Dataset:
zones = ogm.taz.create_taz(
study_area,
config=ogm.taz.TAZConfig(method="hex_grid", min_area_km2=0.5),
)
figure = ogm.taz.plot_taz(zones)
figure.show()
Automatic road- and building-aware TAZ generation can download external OSM and Google Open Buildings data when explicitly configured. Those workflows may also write caches, diagnostics, and final outputs beneath their configured output directory. Ordinary dataset loading and analysis remain read-only with respect to source files.
Supported input formats
The common ogm.open() interface currently supports local Parquet, CSV, TSV,
and JSON files. Spatial vector and raster inputs used by TAZ workflows have
separate, explicit readers; they are not loaded through ogm.open().
Timestamp comparisons are normalized to UTC. Naive source timestamps default
to UTC unless source_timezone is supplied, while naive filter bounds use the
caller's timezone argument. Daily ping-count groups use UTC calendar days.
License
OpenGeoMove is licensed under the Apache License 2.0.
Metadata
Release files for opengeomove 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opengeomove-0.1.0.tar.gz | 108.7 kB | With provenance | Details for opengeomove-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opengeomove-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for opengeomove-0.1.0-py3-none-any.whl |
Total release size: 215.8 kB
Release files / opengeomove-0.1.0.tar.gz
| Download URL | opengeomove-0.1.0.tar.gz |
|---|---|
| Size | 108.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6282c8b2f6428c2c810a962717567514fdccac58592c0b22505de40890e551b0
|
|
BLAKE2b-256 checksum How to use checksums |
13cc43e42a4c616f92543e6798aa323d1d95755069f7a93f5561caa4480d4f8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.
Transparency logRelease files / opengeomove-0.1.0-py3-none-any.whl
| Download URL | opengeomove-0.1.0-py3-none-any.whl |
|---|---|
| Size | 107.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dc704d01939794ad327526ceeadb307fab6519e58b0569c1a1776e7efff2f56
|
|
BLAKE2b-256 checksum How to use checksums |
8a6e40bf928a18c5b26b4b485ffa99b6dc122ddf8cf2620f5bf4683bdd42114a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.
Transparency logSecurity for opengeomove 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for opengeomove-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.