mobilitydb
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
mobilitydb | 1.3.1 | GIS | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 1650 | mobilitydb | No | Yes | Yes | Yes | No | No | - |
| 1651 | mobilitydb_datagen | No | No | No | Yes | No | Yes | - |
| Related | postgis h3 pgrouting postgis pg_polyline q3c pg_sphere pointcloud pg_geohash qdgc pg_eviltransform |
|---|---|
| Depended By | mobilitydb_datagen |
Pigsty 1.3.1 includes the security fix; upgrading from 1.2 to 1.3 requires upstream backup/restore.
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.3.1 | 1817161514 | mobilitydb | postgis |
| RPM | PIGSTY | 1.3.1 | 1817161514 | mobilitydb_$v | postgis36_$v |
| DEB | PIGSTY | 1.3.1 | 1817161514 | postgresql-$v-mobilitydb | postgresql-$v-postgis-3 |
| OS / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.3.1 el8.x86_64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el8.x86_64.rpm
| PIGSTY 1.3.1 el8.x86_64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el8.x86_64.rpm
| PIGSTY 1.3.1 el8.x86_64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el8.x86_64.rpm
| PIGSTY 1.3.1 el8.x86_64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el8.x86_64.rpm
| PIGSTY 1.3.1 el8.x86_64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el8.x86_64.rpm
|
| el8.aarch64 | PIGSTY 1.3.1 el8.aarch64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el8.aarch64.rpm
| PIGSTY 1.3.1 el8.aarch64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el8.aarch64.rpm
| PIGSTY 1.3.1 el8.aarch64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el8.aarch64.rpm
| PIGSTY 1.3.1 el8.aarch64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el8.aarch64.rpm
| PIGSTY 1.3.1 el8.aarch64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el8.aarch64.rpm
|
| el9.x86_64 | PIGSTY 1.3.1 el9.x86_64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el9.x86_64.rpm
| PIGSTY 1.3.1 el9.x86_64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el9.x86_64.rpm
| PIGSTY 1.3.1 el9.x86_64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el9.x86_64.rpm
| PIGSTY 1.3.1 el9.x86_64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el9.x86_64.rpm
| PIGSTY 1.3.1 el9.x86_64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el9.x86_64.rpm
|
| el9.aarch64 | PIGSTY 1.3.1 el9.aarch64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el9.aarch64.rpm
| PIGSTY 1.3.1 el9.aarch64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el9.aarch64.rpm
| PIGSTY 1.3.1 el9.aarch64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el9.aarch64.rpm
| PIGSTY 1.3.1 el9.aarch64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el9.aarch64.rpm
| PIGSTY 1.3.1 el9.aarch64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el9.aarch64.rpm
|
| el10.x86_64 | PIGSTY 1.3.1 el10.x86_64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el10.x86_64.rpm
| PIGSTY 1.3.1 el10.x86_64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el10.x86_64.rpm
| PIGSTY 1.3.1 el10.x86_64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el10.x86_64.rpm
| PIGSTY 1.3.1 el10.x86_64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el10.x86_64.rpm
| PIGSTY 1.3.1 el10.x86_64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el10.x86_64.rpm
|
| el10.aarch64 | PIGSTY 1.3.1 el10.aarch64.pg18 : mobilitydb_18 mobilitydb_18-1.3.1-1PGSTY.el10.aarch64.rpm
| PIGSTY 1.3.1 el10.aarch64.pg17 : mobilitydb_17 mobilitydb_17-1.3.1-1PGSTY.el10.aarch64.rpm
| PIGSTY 1.3.1 el10.aarch64.pg16 : mobilitydb_16 mobilitydb_16-1.3.1-1PGSTY.el10.aarch64.rpm
| PIGSTY 1.3.1 el10.aarch64.pg15 : mobilitydb_15 mobilitydb_15-1.3.1-1PGSTY.el10.aarch64.rpm
| PIGSTY 1.3.1 el10.aarch64.pg14 : mobilitydb_14 mobilitydb_14-1.3.1-1PGSTY.el10.aarch64.rpm
|
| d12.x86_64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| d12.aarch64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| d13.x86_64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| d13.aarch64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| u22.x86_64 | PIGSTY 1.3.1 u22.x86_64.pg18 : postgresql-18-mobilitydb postgresql-18-mobilitydb_1.3.1-1PGSTY~jammy_amd64.deb
| PIGSTY 1.3.1 u22.x86_64.pg17 : postgresql-17-mobilitydb postgresql-17-mobilitydb_1.3.1-1PGSTY~jammy_amd64.deb
postgresql-17-mobilitydb_1.2.0-2.pgdg22.04+1_amd64.deb
| PIGSTY 1.3.1 u22.x86_64.pg16 : postgresql-16-mobilitydb postgresql-16-mobilitydb_1.3.1-1PGSTY~jammy_amd64.deb
postgresql-16-mobilitydb_1.2.0-2.pgdg22.04+1_amd64.deb
| PIGSTY 1.3.1 u22.x86_64.pg15 : postgresql-15-mobilitydb postgresql-15-mobilitydb_1.3.1-1PGSTY~jammy_amd64.deb
postgresql-15-mobilitydb_1.2.0-2.pgdg22.04+1_amd64.deb
| PIGSTY 1.3.1 u22.x86_64.pg14 : postgresql-14-mobilitydb postgresql-14-mobilitydb_1.3.1-1PGSTY~jammy_amd64.deb
postgresql-14-mobilitydb_1.2.0-2.pgdg22.04+1_amd64.deb
|
| u22.aarch64 | PIGSTY 1.3.1 u22.aarch64.pg18 : postgresql-18-mobilitydb postgresql-18-mobilitydb_1.3.1-1PGSTY~jammy_arm64.deb
| PIGSTY 1.3.1 u22.aarch64.pg17 : postgresql-17-mobilitydb postgresql-17-mobilitydb_1.3.1-1PGSTY~jammy_arm64.deb
postgresql-17-mobilitydb_1.2.0-2.pgdg22.04+1_arm64.deb
| PIGSTY 1.3.1 u22.aarch64.pg16 : postgresql-16-mobilitydb postgresql-16-mobilitydb_1.3.1-1PGSTY~jammy_arm64.deb
postgresql-16-mobilitydb_1.2.0-2.pgdg22.04+1_arm64.deb
| PIGSTY 1.3.1 u22.aarch64.pg15 : postgresql-15-mobilitydb postgresql-15-mobilitydb_1.3.1-1PGSTY~jammy_arm64.deb
postgresql-15-mobilitydb_1.2.0-2.pgdg22.04+1_arm64.deb
| PIGSTY 1.3.1 u22.aarch64.pg14 : postgresql-14-mobilitydb postgresql-14-mobilitydb_1.3.1-1PGSTY~jammy_arm64.deb
postgresql-14-mobilitydb_1.2.0-2.pgdg22.04+1_arm64.deb
|
| u24.x86_64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| u24.aarch64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| u26.x86_64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
| u26.aarch64 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 | PIGSTY 1.3.1 |
Build
You can build the RPM / DEB packages for mobilitydb using pig build:
Install
You can install mobilitydb directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Preload:
Create Extension:
Usage
Sources:
- MobilityDB v1.3.1 README
- Extension control file
- Version 1.3 migration manual
- Temporal spatial API
- Version 1.3.1 release and upgrade
- 1.3.0 to 1.3.1 SQL migration
mobilitydb 1.3.1 extends PostgreSQL and PostGIS with temporal values and moving-object trajectories. It supports storing changing attributes, reconstructing positions at a timestamp, and indexing space-time bounds. This patch fixes a backend-crashing binary-input vulnerability; installations on 1.3.0 should upgrade.
Enable the Extension
The release requires PostgreSQL 14 or later and PostGIS 3 or later; it also adds PostgreSQL 19 build support. Package availability is tracked separately. Upstream requires loading the matching PostGIS library and recommends this lock allocation:
Append the PostGIS library to the existing preload list, restart PostgreSQL, and enable both extensions in the target database with an authorized administrative role:
Store and Query a Trajectory
The example uses projected coordinates and complete UTC timestamps. Choose the coordinate reference system appropriate for the application; geographic coordinates require different distance semantics.
The bounding-box operator supplies an indexable filter. Apply the appropriate exact temporal or spatial predicate afterward when bounding overlap is insufficient.
Type and Function Index
tbool,tint,tfloat, andttext: time-varying scalar values.tgeompointandtgeogpoint: moving geometry or geography points;tnpointrepresents a network point when that optional family is built.tgeometryandtgeography: arbitrary changing spatial values with discrete or step interpolation.tcbuffer,tpose, andtrgeometry: optional experimental spatial families in the 1.3 line; do not assume every build contains them.- Instant, sequence, and sequence-set representations describe one timestamp, one sequence, or multiple non-overlapping sequences. Linear interpolation is type-dependent.
valueAtTimestamp,startTimestamp,endTimestamp, andduration: inspect temporal extent and values.atTimeandatGeometry: restrict values to a time domain or geometry.trajectory,length, andspeed: inspect the spatial path and motion.twAvgandtUnion: time-weighted summaries and temporal aggregation.- GiST and SP-GiST operator classes accelerate supported temporal and space-time bounding queries.
Upgrade and Safety Boundaries
Install the new library and SQL files, then update each database:
- Version 1.3.1 fixes CVE-2026-102639: malformed WKB temporal, set, or span input could read beyond the input buffer and crash a backend. The SQL migration alone does not replace the vulnerable library; reconnect or restart processes that loaded the older binary.
- The migration removes five same-base-type
<->operators and theirset_distancefunctions because they conflict with operators supplied bybtree_gist. Review dependent objects before updating and use the appropriatebtree_gistoperators where needed. - Upgrading from the 1.2 line to 1.3 changes the temporal binary format and requires the upstream backup-and-restore procedure. An in-place 1.3.0-to-1.3.1 SQL update does not replace that major-line migration.
- Coordinate systems, interpolation, gaps, inclusive bounds, and units affect results. Validate them against the data model rather than treating every trajectory as a continuous geographical line.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)