Prerequisites
Before installing MapToPoster, ensure you have:- Python 3.11+ installed on your system
- Git (to clone the repository)
- Internet connection (for downloading map data from OpenStreetMap)
Installation Methods
- uv (Recommended)
- pip + venv
Install with uv
uv is a fast Python package installer and resolver that automatically manages virtual environments for you.Run with uv
The first run automatically creates a virtual environment and installs all dependencies:
uv automatically creates and manages the virtual environment. No need to manually activate it!
Why uv?
- Automatic environment management: No need to manually create/activate virtual environments
- Fast dependency resolution: 10-100x faster than pip
- Deterministic installs: Lock file ensures reproducible builds
- Simple workflow: Just prefix commands with
uv run
Verify Installation
Test that everything is working correctly:Directory Structure
After installation, your project structure should look like this:Dependency Overview
MapToPoster uses the following key dependencies:osmnx 2.0.7
Fetches street networks and geographic features from OpenStreetMap
matplotlib 3.10.8
Renders high-quality poster graphics with precise control over styling
geopandas 1.1.2
Handles geographic data structures and coordinate projections
geopy 2.4.1
Geocodes city names to latitude/longitude coordinates
Troubleshooting
Python version error
Python version error
MapToPoster requires Python 3.11+. Check your version:If you have multiple Python versions, try:
GEOS library not found
GEOS library not found
On some systems, you may need to install GEOS separately:
SSL certificate errors
SSL certificate errors
If you encounter SSL errors when downloading fonts or map data:
Memory errors with large cities
Memory errors with large cities
For very large metropolitan areas or large distance values (>20km), you may need to:
- Reduce the
--distanceparameter - Close other applications to free up memory
- Use a smaller output size (
--widthand--height)
Next Steps
Now that MapToPoster is installed, you’re ready to create your first poster!Quick Start Guide
Follow the quickstart tutorial to generate your first map poster