macOS
brew install postgislocal Homebrew formula metadata
sudo port install postgisMacPorts ports tree · databases/postgis/Portfile · 来源: api.github.com
安装
brew install postgislocal Homebrew formula metadata
sudo port install postgisMacPorts ports tree · databases/postgis/Portfile · 来源: api.github.com
sudo apk add postgisAlpine Linux edge package indexes · postgis · 来源: dl-cdn.alpinelinux.org
sudo apt install postgisDebian stable package indexes · postgis · 来源: deb.debian.org
sudo dnf install postgisFedora Rawhide package metadata · postgis · 来源: dl.fedoraproject.org
sudo pacman -S postgisArch Linux sync databases · postgis · 来源: geo.mirror.pkgbuild.com
sudo zypper install postgresql14-postgisopenSUSE Tumbleweed package metadata · postgresql14-postgis · 来源: download.opensuse.org
概览
Adds support for geographic objects to PostgreSQL
历史
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.
安全态势
没有找到 postgis 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
create_upgrade.pl | cli | 全局可执行文件 | |
pgsql2shp | cli | 全局可执行文件 | |
pgtopo_export | cli | 全局可执行文件 | |
pgtopo_import | cli | 全局可执行文件 | |
postgis | cli | 全局可执行文件 | |
postgis_restore | cli | 全局可执行文件 | |
profile_intersects.pl | cli | 全局可执行文件 | |
raster2pgsql | cli | 全局可执行文件 | |
shp2pgsql | cli | 全局可执行文件 | |
test_estimation.pl | cli | 全局可执行文件 | |
test_geography_estimation.pl | cli | 全局可执行文件 | |
test_geography_joinestimation.pl | cli | 全局可执行文件 | |
test_joinestimation.pl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgis |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
postgis 3.5.2+dfsg-1
Geographic objects support for PostgreSQL
sudo apt install postgispostgis-doc 3.5.2+dfsg-1
Geographic objects support for PostgreSQL -- documentation
sudo apt install postgis-docpostgresql-17-postgis-3 3.5.2+dfsg-1
Geographic objects support for PostgreSQL 17
sudo apt install postgresql-17-postgis-3postgresql-17-postgis-3-scripts 3.5.2+dfsg-1
Geographic objects support for PostgreSQL 17 -- SQL scripts
sudo apt install postgresql-17-postgis-3-scriptspostgresql-postgis 3.5.2+dfsg-1
Geographic objects support for PostgreSQL -- Metapackage
sudo apt install postgresql-postgispostgresql-postgis-scripts 3.5.2+dfsg-1
Geographic objects support for PostgreSQL -- SQL scripts metapackage
sudo apt install postgresql-postgis-scriptspostgis 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL
sudo apt install postgispostgis-doc 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL -- documentation
sudo apt install postgis-docpostgresql-16-postgis-3 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL 16
sudo apt install postgresql-16-postgis-3postgresql-16-postgis-3-scripts 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL 16 -- SQL scripts
sudo apt install postgresql-16-postgis-3-scriptspostgresql-postgis 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL -- Metapackage
sudo apt install postgresql-postgispostgresql-postgis-scripts 3.4.2+dfsg-1ubuntu3
Geographic objects support for PostgreSQL -- SQL scripts metapackage
sudo apt install postgresql-postgis-scriptspostgis 3.6.3-r1
spatial database extender for PostgreSQL object-relational database
sudo apk add postgispostgis-doc 3.6.3-r1
spatial database extender for PostgreSQL object-relational database (documentation)
sudo apk add postgis-docpostgis 3.6.4-3.fc45
Open-source vector similarity search for Postgres
sudo dnf install postgispostgis 3.6.4-1
A spatial database extender for PostgreSQL
sudo pacman -S postgis来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.