# 使用 Homebrew, MacPorts, Nix 安装 imposm3

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

## 安装

```sh
sudo av install brew:imposm3
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install imposm3
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install imposm
```

  证据: MacPorts ports tree: gis/imposm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#imposm
```

  证据: nixpkgs package indexes: pkgs/by-name/im/imposm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:imposm3
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/imposm3>
- **版本:** 0.14.2
- **来源摘要:** Imports OpenStreetMap data into PostgreSQL/PostGIS databases
- **主页:** <https://imposm.org/docs/imposm3/latest/>
- **仓库:** <https://github.com/omniscale/imposm3>
- **上游文档:** <https://imposm.org/docs/imposm3/latest/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/omniscale/imposm3/archive/refs/tags/v0.14.2.tar.gz>
- **最后更新:** 2026-07-26T04:07:48+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- imposm (cli)
- imposm (别名)

## 依赖

- geos
- leveldb

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.14.2
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/omniscale/imposm3
- 检测到的最新版本: v0.14.2 (当前)
## 项目历史与用法

Imposm3 is Omniscale's OpenStreetMap importer for PostgreSQL/PostGIS. It reads OSM PBF data, maps selected features into rendering-oriented schemas, and can apply OSM diff updates after an import.

### 项目历史

The imposm3 repository was created in 2013. The official documentation describes Imposm 3 as a rewrite of Imposm 2 with better performance and support for minutely diff updates.

The rewrite kept the same broad role as earlier Imposm versions, but targeted the increasingly common OSM tile-server workflow: load large PBF extracts into PostGIS, create tables shaped for rendering, and keep them updated from upstream OSM changes.

### 采用历史

Imposm3 became part of the map-rendering and tile-service packaging ecosystem because it sits exactly between OSM planet or regional extracts and PostGIS-backed renderers. Homebrew, MacPorts, and Nix package metadata in this batch show it packaged for developer and operations workflows rather than as a library-only dependency.

### 使用方式

Users provide a mapping file, a PBF input, and a PostgreSQL/PostGIS connection. Imposm3 reads, writes, deploys production tables, and can update a database from OSM diff files, making it useful for map tiles, WMS services, and custom geospatial products.

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

For package maintainers, imposm3 is a classic geospatial CLI: it depends on a specific data culture, OSM PBF and PostGIS, and packages a batch import pipeline into a single command. Its significance is less about end-user desktop visibility and more about reproducible infrastructure for maps.

### 时间线

- 2013: Public imposm3 GitHub repository created.
- 2015: Go package documentation for imposm3 described it as a Go rewrite of the previous Python implementation.
- 2022: FreeBSD added an imposm3 port, reflecting continued package-manager interest in OSM import tooling.

### Related projects

- Imposm 2 is the predecessor named by the official Imposm3 documentation.
- osm2pgsql, PostGIS, Mapnik, OpenMapTiles-style import pipelines, and OpenStreetMap replication diffs are neighboring projects and workflows.

### 来源

- <https://api.github.com/repos/omniscale/imposm3>
- <https://formulae.brew.sh/formula/imposm3>
- <https://github.com/omniscale/imposm3>
- <https://imposm.org/docs/imposm3/latest/>
- <https://pkg.go.dev/github.com/lukasmartinelli/imposm3>
- input.json source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imposm3
- **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:** head, stable

## 其他软件包管理器记录

- MacPorts - imposm: installed executable or alias match | MacPorts ports tree: gis/imposm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - imposm: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/im/imposm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [geos](https://pkg.so/zh-hans/brew/geos/) - Runtime dependency declared by Homebrew.
- [leveldb](https://pkg.so/zh-hans/brew/leveldb/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [osm2pgsql](https://pkg.so/zh-hans/brew/osm2pgsql/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap, postgis.
- [osm2pgrouting](https://pkg.so/zh-hans/brew/osm2pgrouting/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap, postgis.
- [postgis](https://pkg.so/zh-hans/brew/postgis/) - Shares pkgdb curated category or tags: cli, data, geospatial, postgresql.
- [osmium-tool](https://pkg.so/zh-hans/brew/osmium-tool/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [martin](https://pkg.so/zh-hans/brew/martin/) - Shares pkgdb curated category or tags: cli, data, geospatial, postgis.
- [osmcoastline](https://pkg.so/zh-hans/brew/osmcoastline/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [osmosis](https://pkg.so/zh-hans/brew/osmosis/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [osmfilter](https://pkg.so/zh-hans/brew/osmfilter/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.

## Combined YAML source

View the package source record on GitHub. [combined/imposm3.yml](https://github.com/mxcl/pkgdb/blob/main/combined/imposm3.yml)


## 来源

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