MapProxy (an open-source Python geospatial proxy and tile caching server released under the Apache Software License 2.0) accelerates, caches, and transforms map data from existing GIS services for desktop and web mapping clients. Acting as a bridge between backend map servers—such as WMS, WMTS, TMS, MapServer, Mapnik, or ArcGIS REST sources—and frontend applications, MapProxy caches tiles on disk, MBTiles/SQLite, S3, or Redis, reprojects spatial reference systems on the fly, and serves standard OGC WMS, WMTS, TMS, and OGC API Maps/Tiles endpoints cleanly.
1. In-Depth Review: Why GIS & Web Mapping Teams Use MapProxy
- Accelerates Slow Map Services via Smart Tile Caching: Caches tiles from upstream WMS or map sources and stores identical tiles (such as blank or ocean tiles) efficiently across filesystem, MBTiles/SQLite, S3, or Redis backends.
- Reprojects, Merges & Clips Layers Dynamically: Transforms coordinate reference systems (SRS), combines multiple layers, adds transparency or watermarks, and restricts source data to polygon boundaries.
- Supports Standard OGC & Tile Protocols: Serves OGC WMS, WMTS, OSGeo TMS, and OGC API Maps/Tiles alongside a built-in OpenLayers demo client for quick verification.
2. Key Features & Capabilities
- Multi-Backend Tile Caching: Store cached map tiles on local filesystems, MBTiles/SQLite databases, S3 object storage, Redis, or other supported cache backends.
- Upstream Source & Protocol Compatibility: Connect to WMS (1.0.0–1.3.0), WMTS, TMS, MapServer/Mapnik, ArcGIS REST services, and OGC API map/tile sources.
- On-the-Fly Reprojection & Layer Composition: Reproject layers to target SRS/grids, merge multiple sources, and apply polygon masks or watermarks.
- Cache Seeding & Export Tools (`mapproxy-seed`): Pre-generate tiles for priority regions or zoom ranges using polygon geometries (Shapefile, GeoJSON, PostGIS, or WKT) and export tile caches.
- Access Control & Security Hooks: Restrict layer or service access by user permissions or geographic polygon extents.
- Free & Open-Source (Apache 2.0): Free to deploy and customize across Linux, Windows, and Docker environments.
- Official Links: Free Trial, Free / Education & Pricing
Always download MapProxy packages, Docker images, and documentation directly from official MapProxy and OSGeo portals:
- Official MapProxy Website: https://mapproxy.org/
- Official MapProxy Documentation: https://mapproxy.github.io/mapproxy/latest/
- Official MapProxy GitHub Repository & Releases: https://github.com/mapproxy/mapproxy
- Official MapProxy PyPI Package Page: https://pypi.org/project/MapProxy/
4. Step-by-Step Installation Guide
- Verify Python, PROJ & Image Dependencies: Confirm your Linux, Windows, or Docker host has a supported Python runtime (Python 3.12+ / 3.14+), PROJ libraries, and Pillow/YAML dependencies installed.
- Install MapProxy via `pip` or Docker: Run `pip install MapProxy` inside a Python virtual environment (or use the official MapProxy Docker images/compose setup from https://github.com/mapproxy/mapproxy).
- Generate a Base Configuration & YAML File: Run `mapproxy-util create -t base-config ./myproxy` to create a starter `mapproxy.yaml` configuration and seed file.
- Start the Dev Server & Open the Demo Client: Launch `mapproxy-util serve-develop ./mapproxy.yaml` and open the local demo page in your browser to test WMS/WMTS/TMS layers.

5. How to Use MapProxy: Beginner Workflow
- Define Upstream Sources in `mapproxy.yaml`: Edit `mapproxy.yaml` to register your existing WMS, WMTS, TMS, or OGC API source URLs and layer names.
- Configure Grids & Tile Caches: Define target spatial reference grids (such as `EPSG:3857` or `EPSG:4326`) and configure a cache backend (filesystem or MBTiles) for fast repeated tile delivery.
- Expose Layers via Services & Demo Page: Publish your cached and composed layers under `services` (WMS, WMTS, TMS, OGC API) and inspect them in the built-in OpenLayers demo client.
- Pre-Seed Priority Areas with `mapproxy-seed`: Run `mapproxy-seed` with a `seed.yaml` config (optionally filtered by a Shapefile/GeoJSON/PostGIS coverage polygon) to pre-build tiles before heavy user traffic.
- Deploy Behind Production WSGI / Nginx or Docker: Serve `mapproxy.yaml` through a production WSGI/web server or container stack for reliable web GIS and QGIS/ArcGIS consumption.
6. Frequently Asked Questions (FAQ)
- Is MapProxy free to use for commercial and government GIS projects?Yes. MapProxy is released under the permissive Apache Software License 2.0 and is free to download, deploy, and modify.
- What does MapProxy do alongside GeoServer or MapServer?GeoServer or MapServer renders maps from raw spatial data, while MapProxy sits in front to cache tiles, speed up repeated requests, reproject/combine sources, and serve fast cached tiles to clients.
- Can I pre-generate tiles for a specific province or project boundary?Yes. Using `mapproxy-seed` and a coverage geometry (such as a Shapefile, GeoJSON, or PostGIS polygon), you can pre-seed tiles only inside your area of interest to save disk space and processing time.