Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. OpenStreetMap
  3. overpass-wrapper

overpass-wrapper

v0.7.2

A Python wrapper for querying OpenStreetMap data via the Overpass API.

GitHubGitHub
400 stars93 forks0 contributors

What is overpass-wrapper?

Overpass API Python Wrapper is a Python library that provides bindings for the OpenStreetMap Overpass API. It enables developers to programmatically query and retrieve geographic data from OpenStreetMap, such as points of interest, roads, and boundaries. The wrapper simplifies API interactions by handling request formatting and response parsing.

Target Audience

Python developers and data scientists working with OpenStreetMap data for mapping, geospatial analysis, or location-based applications.

Value Proposition

It offers a straightforward, Pythonic interface to the Overpass API, reducing the complexity of raw HTTP requests and XML/JSON parsing. Developers choose it for its ease of use and focus on core Overpass functionality without unnecessary dependencies.

Overview

Python bindings for the OpenStreetMap Overpass API

Use Cases

Best For

  • Extracting OpenStreetMap data for custom mapping projects
  • Building geospatial analysis pipelines in Python
  • Automating OSM data queries for research or applications
  • Integrating OpenStreetMap features into Python-based web services
  • Learning Overpass API syntax through Python examples
  • Prototyping location-aware tools with real-world map data

Not Ideal For

  • Applications requiring real-time, high-frequency queries to OpenStreetMap with strict latency requirements
  • Projects already integrated with comprehensive geospatial libraries like OSMnx or GeoPandas that offer built-in Overpass support
  • Developers needing to execute complex, multi-step Overpass queries with intermediate data processing and caching

Pros & Cons

Pros

Simple Query Interface

Executes Overpass QL queries directly from Python code with minimal setup, as highlighted in the key features, reducing boilerplate for basic interactions.

Flexible Response Handling

Parses API responses into Python objects for easy data manipulation, simplifying the extraction and use of geographic data like nodes and ways.

Built-in Error Management

Includes handling of API errors and rate limiting, improving reliability without requiring developers to implement additional error-checking code.

Lightweight and Focused

Emphasizes simplicity and stays close to the Overpass API, minimizing dependencies and keeping the wrapper straightforward for core functionality.

Cons

Minimal Documentation

The README is sparse, providing little guidance beyond basic usage, which can hinder onboarding and require reliance on external Overpass API documentation.

External API Dependency

Relies entirely on the Overpass API, making it vulnerable to service changes, downtime, or rate limits that could disrupt applications without built-in fallbacks.

Limited Feature Set

Lacks advanced functionalities like asynchronous support, caching, or integration with other geospatial tools, often necessitating supplementary code for complex use cases.

Frequently Asked Questions

Quick Stats

Stars400
Forks93
Contributors0
Open Issues18
Last commit4 months ago
CreatedSince 2014

Tags

#python-library#geospatial#geographic-data#overpass-api#openstreetmap#mapping#api-wrapper

Built With

P
Python

Included in

OpenStreetMap911
Auto-fetched 1 day ago

Related Projects

osmnxosmnx

Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.

Stars5,683
Forks867
Last commit11 days ago
prettymappprettymapp

🖼️ Create beautiful maps from OpenStreetMap data in a streamlit webapp

Stars2,768
Forks446
Last commit5 months ago
QuackOSMQuackOSM

QuackOSM: an open-source Python and CLI tool for reading OpenStreetMap PBF files using DuckDB

Stars365
Forks18
Last commit2 days ago
osmapiosmapi

Python wrapper for the OpenStreetMap API

Stars228
Forks44
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub