This repository contains the source code for the OpenStreetMap US Tileservice.
This repo contains several loosely related components:
cloudflare/
- Cloudflare Worker code that serves tile requests at tiles.openstreetmap.usrenderer/
- Planetiler configs and other scripts for creating vector tiles from OSM dataterrain/
- Scripts for generating hillshade raster tiles and contour vector tiles from DEM datawebsite/
- tiles.openstreetmap.us static websitestatic/
- tile.ourmap.us static website
For most users, the easiest way to use OpenStreetMap US tiles is through our hosted service at https://tiles.openstreetmap.us/
. See the website documentation for usage examples and API documentation. All usage must comply with our usage policy.
Anyone can access the OSM US-generated tilesets without restrictions by setting up their own custom server using our requester-pays S3 bucket.
Alternately, you can use the components in this repository to generate and serve your own tiles.
- Use the renderer scripts to generate PMTiles from OSM data
- Deploy your own copy of the Cloudflare Worker code, or adapt it for another edge computing platform like AWS Lambda.
See individual directory READMEs for detailed setup instructions.
The code in this repository is dedicated to the public domain via the CC0 license. You may use it for any purpose, without restriction. See LICENSE for details.