mobilitydb
MobilityDB地理空间投影数据管理分析平台
仓库
MobilityDB/MobilityDB
https://github.com/MobilityDB/MobilityDB
源码
mobilitydb-1.3.1.tar.gz
mobilitydb-1.3.1.tar.gz
概览
| 扩展包名 | 版本 | 分类 | 许可证 | 语言 |
|---|---|---|---|---|
mobilitydb | 1.3.1 | GIS | PostgreSQL | C |
| ID | 扩展名 | Bin | Lib | Load | Create | Trust | Reloc | 模式 |
|---|---|---|---|---|---|---|---|---|
| 1650 | mobilitydb | 否 | 是 | 是 | 是 | 否 | 否 | - |
| 1651 | mobilitydb_datagen | 否 | 否 | 否 | 是 | 否 | 是 | - |
| 相关扩展 | postgis h3 pgrouting postgis pg_polyline q3c pg_sphere pointcloud pg_geohash qdgc pg_eviltransform |
|---|---|
| 下游依赖 | mobilitydb_datagen |
Pigsty 1.3.1 includes the security fix; upgrading from 1.2 to 1.3 requires upstream backup/restore.
版本
| 类型 | 仓库 | 版本 | PG 大版本 | 包名 | 依赖 |
|---|---|---|---|---|---|
| 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 |
构建
您可以使用 pig build 命令构建 mobilitydb 扩展的 RPM / DEB 包:
安装
您可以直接安装 mobilitydb 扩展包的预置二进制包,首先确保 PGDG 和 PIGSTY 仓库已经添加并启用:
使用 pig 或者是 apt/yum/dnf 安装扩展:
安装
pig
dnf
apt
预加载配置:
创建扩展:
用法
来源:
mobilitydb 1.3.1 为 PostgreSQL 与 PostGIS 增加时态值和移动对象轨迹,可存储随时间变化的属性、还原指定时刻的位置,并为时空边界建立索引。该补丁修复了可能导致后端崩溃的二进制输入漏洞,1.3.0 用户应升级。
启用扩展
该发布要求 PostgreSQL 14 及以上、PostGIS 3 及以上,并新增 PostgreSQL 19 构建支持。软件包可用性另行记录。上游要求加载匹配的 PostGIS 动态库,并建议采用以下锁配额:
将 PostGIS 库加入现有预加载列表,重启 PostgreSQL,再使用获授权的管理角色在目标数据库启用两个扩展:
存储与查询轨迹
示例使用投影坐标和完整 UTC 时间戳。应用应选择合适的坐标参考系;地理坐标采用不同的距离语义。
边界框操作符可提供索引过滤。若边界重叠不足以满足业务条件,还应补充相应的精确时态或空间谓词。
类型与函数索引
tbool、tint、tfloat、ttext:随时间变化的标量值。tgeompoint、tgeogpoint:移动的几何或地理点;构建了可选类型族时,tnpoint表示路网点。tgeometry、tgeography:任意变化的空间值,支持离散或阶梯插值。tcbuffer、tpose、trgeometry:1.3 系列的可选实验性空间类型族,不应假定所有构建都包含它们。- 瞬时值、序列和序列集分别表示一个时间点、一个序列或多个互不重叠的序列。线性插值是否可用取决于类型。
valueAtTimestamp、startTimestamp、endTimestamp、duration:查看时态范围及值。atTime、atGeometry:按时间域或几何范围裁剪值。trajectory、length、speed:查看空间路径与运动情况。twAvg、tUnion:时间加权汇总与时态聚合。- GiST 与 SP-GiST 操作符类可加速其支持的时间与时空边界查询。
升级与安全边界
安装新动态库与 SQL 文件后,在每个数据库执行更新:
- 1.3.1 修复 CVE-2026-102639:畸形 WKB 时态值、集合或跨度输入可能越界读取并导致后端崩溃。仅执行 SQL 迁移不能替换有漏洞的动态库;应重新连接或重启已加载旧二进制的进程。
- 迁移会移除五个同基础类型间的
<->操作符及其set_distance函数,因为它们与btree_gist提供的操作符冲突。更新前应检查依赖对象,必要时使用对应的btree_gist操作符。 - 从 1.2 系列升级到 1.3 会改变时态值的二进制格式,必须按照上游流程备份与恢复。1.3.0 至 1.3.1 的原地 SQL 更新不能替代跨主系列迁移。
- 坐标系、插值、时间空洞、包含边界及单位都会影响结果。应按数据模型验证,不能将所有轨迹都视为连续的地理路径。
这个页面对您有帮助吗?
感谢反馈,我们会据此改进这篇文档。
哪里没有解决?(可选)