petewarden/osm2pgsql
A fork of the importer for OpenStreetMap format files in PostGIS
⚡ Executive Summary & Quick Facts
Authoritative Sourceosm2pgsql is osm2pgsql is an open-source project written in C: A fork of the importer for OpenStreetMap format files in PostGIS..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of December 2026), petewarden/osm2pgsql has accumulated 4 GitHub stars and 8 forks. It is written in C, licensed under GPL-2.0, and ranks #51,647 globally. It is actively maintained with the latest commit recorded on Apr 24, 2013.”
| Repository | petewarden/osm2pgsql ↗ |
|---|---|
| Primary Category | developer tools |
| Language & Stack | C |
| Software License | GPL-2.0 |
| Community Traction | ★ 4 stars · ⑂ 8 forks · #51,647 globally |
| Maintenance | ● Active (Last commit: Apr 24, 2013) · 1 open issues |
| Target Audience | Developers and engineering teams building with C, seeking reliable, tested, and actively maintained tooling for production workloads. |
🛡️ Repository Maintenance & Health Audit (2026)
Health Score: 58/100 · Grade DNote: osm2pgsql displays slower maintenance activity. Continuous telemetry recorded the last code commit on Apr 24, 2013 (4972 days ago). Supported by 4 stars and 8 community forks, this repository holds a calculated health index of 58/100, reflecting dormant (4972 days since last push) and healthy issue cadence.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_badge) [](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_badge) [](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_badge) [](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_badge) [](https://githubrepo.cloud/repo/petewarden/osm2pgsql?utm_source=readme_badge)
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#1,691
MOST-STARRED C
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
osm2pgsql gained 10 stars in the last 30 days, about 1 a day, and now has 4. It is about 16 years old and has averaged roughly 0 stars a year. It ranks #1,691 among C repositories and #51,647 across all languages on GitHubRepo.
Trending Record
21
DAYS ON TRENDING
#100
BEST RANK
Mar 14, 2011
FIRST APPEARANCE
Active
STATUS TODAY
osm2pgsql has maintained a continuous presence across global trending indexes, peaking at #100. Below is the 30-day activity profile:
💡 Overview
osm2pgsql is an open-source project written in C: A fork of the importer for OpenStreetMap format files in PostGIS.
Engineered for speed, consistency, and developer ease, it solves common hurdles in C. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in C for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/petewarden/osm2pgsql.git
cd osm2pgsql
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
C99 or C11 compiler with CMake / make
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
osm2pgsql coordinates its core functionality through a modular C pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed osm2pgsql into C backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open GPL-2.0 license.
🚀 Getting Started
Install osm2pgsql using your package manager: `git clone https://github.com/petewarden/osm2pgsql.git`
Initialize your project workspace or configuration file for osm2pgsql.
Import osm2pgsql into your codebase or invoke it directly from your terminal.
Execute your test suite or run `osm2pgsql --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with C, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
petewarden/osm2pgsql is currently ranked #51,647 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #49,812 | jkorz/ezimport | Ruby | ★ 5 | Compare ↗ |
| #49,812 | aaronbot3000/velociryder | Arduino | ★ 5 | Compare ↗ |
| #49,812 | rykov/pools | Ruby | ★ 5 | Compare ↗ |
| #49,812 | ccai40359-wq/multiagents-workflow | JavaScript | ★ 5 | Compare ↗ |
| #49,812 | indada/repopilot | TypeScript | ★ 5 | Compare ↗ |
| #51,647 | petewarden/osm2pgsql This Project | C | ★ 4 | |
| #51,647 | adelcambre/textilizefu | Ruby | ★ 4 | Compare ↗ |
| #51,647 | francois/fogbugz-svnhook | — | ★ 4 | Compare ↗ |
| #51,647 | anaisbetts/yikes | C | ★ 4 | Compare ↗ |
| #51,647 | sudachen/python-tool-legacy | C | ★ 4 | Compare ↗ |
| #51,647 | crafterm/piccr | Ruby | ★ 4 | Compare ↗ |
Frequently Asked Questions
What does osm2pgsql do? +
A fork of the importer for OpenStreetMap format files in PostGIS
Is osm2pgsql actively maintained in 2026? +
Note: osm2pgsql exhibits slower recent commit activity. The latest code push was recorded on Apr 24, 2013 (4972 days ago). It holds a calculated Maintenance Health Score of 58/100 (D rating) with 4 stars and 1 open issues.
What language is osm2pgsql written in? +
The primary language is C. Topics include: software.
How many stars does osm2pgsql have? +
osm2pgsql has 4 stars and 8 forks on GitHub.
How does osm2pgsql rank among GitHub repositories? +
With 4 stars, petewarden/osm2pgsql is ranked #51,647 globally across all repositories tracked on GitHubRepo and #1,691 among C projects.
What license is osm2pgsql distributed under? +
The repository reports a GPL-2.0 license. Always verify the repository LICENSE file for legal terms.