pkg.soopen package index

brew / 排名 1043

使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper 安装 postgis

查看 postgis 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install postgis

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install postgis

MacPorts ports tree · databases/postgis/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add postgis

Alpine Linux edge package indexes · postgis · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install postgis

Debian stable package indexes · postgis · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install postgis

Fedora Rawhide package metadata · postgis · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S postgis

Arch Linux sync databases · postgis · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install postgresql14-postgis

openSUSE Tumbleweed package metadata · postgresql14-postgis · 来源: download.opensuse.org

概览

软件包摘要

Adds support for geographic objects to PostgreSQL

命令和别名

  • create_upgrade.pl
  • pgsql2shp
  • pgtopo_export
  • pgtopo_import
  • postgis
  • postgis_restore
  • profile_intersects.pl
  • raster2pgsql
  • shp2pgsql
  • test_estimation.pl
  • test_geography_estimation.pl
  • test_geography_joinestimation.pl
  • test_joinestimation.pl

历史

项目历史与用法

PostGIS is the spatial extension for PostgreSQL, adding geographic data types, spatial indexes, analysis functions, and import/export utilities to the relational database.

项目历史

Refractions Research created PostGIS as a spatial database technology research project. The first public pre-release appeared on May 31, 2001, initially with primitive documentation and without data loading.

PostGIS reached 1.0 in April 2005 after a long release-candidate period. That release introduced a smaller, faster on-disk representation and tighter PostgreSQL integration, marking its transition from an experimental extension into durable database infrastructure.

The project subsequently expanded beyond vector geometry to include geography, raster, topology, address standardization, and a broad spatial SQL reference while remaining governed by the PostGIS development community under OSGeo.

采用历史

PostGIS grew from a Refractions Research spatial-database project into a central component of the open-source GIS stack. It is packaged across major Unix-like systems and is commonly used behind desktop GIS, mapping servers, application APIs, and geospatial ETL pipelines.

使用方式

Database administrators enable PostGIS in a PostgreSQL database as an extension. Application and GIS users then store points, lines, polygons, geography values, and rasters; create spatial indexes; and run spatial predicates, measurements, transformations, and joins in SQL.

The package also supplies utilities such as `shp2pgsql`, `pgsql2shp`, `raster2pgsql`, and `postgis_restore` for data loading, extraction, and migration. PostGIS settings are PostgreSQL GUCs rather than a separately documented PostGIS configuration file.

为什么软件包爱好者会关心

PostGIS is a defining example of PostgreSQL's extension model: a package installation adds substantial domain-specific data types, indexes, SQL functions, upgrade machinery, and command-line loaders to an existing database platform.

Its packaging connects PostgreSQL with a native geospatial dependency stack that includes GEOS, PROJ, and GDAL. Compatibility between those components, database-extension upgrade paths, and dump/restore tooling makes PostGIS particularly significant to distribution maintainers and database operators.

时间线

  • 2001: First public PostGIS pre-release.
  • 2005: PostGIS 1.0.0 released.
  • Later development: Geography, raster, topology, and broader spatial-processing facilities join the core geometry functionality.

Related projects

  • PostgreSQL supplies the database and extension framework in which PostGIS runs.
  • GEOS provides many geometric operations, PROJ handles coordinate transformations, and GDAL participates in raster support and data conversion.
  • GDAL and OGR provide documented workflows for moving raster and vector datasets between PostGIS and other geospatial formats.

安全态势

尚未找到受保护工具覆盖

没有找到 postgis 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 12 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
create_upgrade.plcli全局可执行文件
pgsql2shpcli全局可执行文件
pgtopo_exportcli全局可执行文件
pgtopo_importcli全局可执行文件
postgiscli全局可执行文件
postgis_restorecli全局可执行文件
profile_intersects.plcli全局可执行文件
raster2pgsqlcli全局可执行文件
shp2pgsqlcli全局可执行文件
test_estimation.plcli全局可执行文件
test_geography_estimation.plcli全局可执行文件
test_geography_joinestimation.plcli全局可执行文件
test_joinestimation.plcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本3.7.0
管理器更新时间2026-10-30
本地数据OK
上游not checked
检测到的最新版本未检测到

https://postgis.net/

  • 信息Release/tag comparison is only available for GitHub repositories.https://postgis.net/none 置信度

安装元数据

软件包元数据

软件包键brew:postgis
版本3.7.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/postgis
主页https://postgis.net/
上游文档https://postgis.net/
许可证GPL-2.0-or-later
源码归档https://download.osgeo.org/postgis/source/postgis-3.7.0.tar.gz
最后更新2026-10-30T07:11:00Z
Pulseupdated
依赖gdal, geos, gettext, gmp, icu4c@79, json-c, libpq, libxml2, pcre2, proj, protobuf-c, sfcgal
构建依赖pkgconf, postgresql@17, postgresql@18
macOS 提供的库perl
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepostgis
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

postgis 3.5.2+dfsg-1

Geographic objects support for PostgreSQL

https://postgis.net/

sudo apt install postgis
  • Section: misc
  • Architecture: amd64
  • 6 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgis-doc 3.5.2+dfsg-1

Geographic objects support for PostgreSQL -- documentation

https://postgis.net/

sudo apt install postgis-doc
  • Section: doc
  • Architecture: all
  • Source Package: postgis
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgis-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-17-postgis-3 3.5.2+dfsg-1

Geographic objects support for PostgreSQL 17

https://postgis.net/

sudo apt install postgresql-17-postgis-3
  • Section: misc
  • Architecture: amd64
  • Source Package: postgis
  • 13 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-17-postgis-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-17-postgis-3-scripts 3.5.2+dfsg-1

Geographic objects support for PostgreSQL 17 -- SQL scripts

https://postgis.net/

sudo apt install postgresql-17-postgis-3-scripts
  • Section: misc
  • Architecture: all
  • Source Package: postgis
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-17-postgis-3-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-postgis 3.5.2+dfsg-1

Geographic objects support for PostgreSQL -- Metapackage

https://postgis.net/

sudo apt install postgresql-postgis
  • Section: metapackages
  • Architecture: amd64
  • Source Package: postgis
  • 2 依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-postgis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

postgresql-postgis-scripts 3.5.2+dfsg-1

Geographic objects support for PostgreSQL -- SQL scripts metapackage

https://postgis.net/

sudo apt install postgresql-postgis-scripts
  • Section: misc
  • Architecture: all
  • Source Package: postgis
  • 1 依赖
  • normalized package name match
  • 匹配方式:Postgis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-postgis-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

postgis 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL

https://postgis.net/

sudo apt install postgis
  • Section: universe/misc
  • Architecture: amd64
  • 6 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

postgis-doc 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL -- documentation

https://postgis.net/

sudo apt install postgis-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: postgis
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgis-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

postgresql-16-postgis-3 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL 16

https://postgis.net/

sudo apt install postgresql-16-postgis-3
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: postgis
  • 13 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgresql-16-postgis-3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

postgresql-16-postgis-3-scripts 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL 16 -- SQL scripts

https://postgis.net/

sudo apt install postgresql-16-postgis-3-scripts
  • Section: universe/misc
  • Architecture: all
  • Source Package: postgis
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgresql-16-postgis-3-scripts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

postgresql-postgis 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL -- Metapackage

https://postgis.net/

sudo apt install postgresql-postgis
  • Section: universe/metapackages
  • Architecture: amd64
  • Source Package: postgis
  • 2 依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgresql-postgis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

postgresql-postgis-scripts 3.4.2+dfsg-1ubuntu3

Geographic objects support for PostgreSQL -- SQL scripts metapackage

https://postgis.net/

sudo apt install postgresql-postgis-scripts
  • Section: universe/misc
  • Architecture: all
  • Source Package: postgis
  • 1 依赖
  • normalized package name match
  • 匹配方式:Postgis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgresql-postgis-scripts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

postgis 3.6.3-r1

spatial database extender for PostgreSQL object-relational database

https://postgis.net/

sudo apk add postgis
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: postgis
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Postgis
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: postgis from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

postgis-doc 3.6.3-r1

spatial database extender for PostgreSQL object-relational database (documentation)

https://postgis.net/

sudo apk add postgis-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: postgis
  • normalized package name match
  • 匹配方式:Postgis
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: postgis-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

postgis 3.6.4-3.fc45

Open-source vector similarity search for Postgres

https://www.postgis.net

sudo dnf install postgis
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: postgresql18-postgis
  • 15 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Postgis
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: postgis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

postgis 3.6.4-1

A spatial database extender for PostgreSQL

https://postgis.net/

sudo pacman -S postgis
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 14 依赖
  • normalized package name match
  • 匹配方式:Postgis
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: postgis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation