Skip to content

Commit

Permalink
Merge pull request #5 from bdon/readme
Browse files Browse the repository at this point in the history
README
  • Loading branch information
bdon authored Jul 10, 2024
2 parents 6e3c541 + 009b39f commit 165c458
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@
# Overture Tiles

Create tilesets from [Overture Maps](http://overturemaps.org) data for visualization.
Create tilesets from [Overture Maps](http://overturemaps.org) data.

## How to Use
These tilesets display an "X-ray" visualization of Overture data, for inspecting the breadth of Overture data and attributes. **They are not designed to be a production-ready cartographic basemap.**

Each Overture **theme** has an associated [PMTiles](https://github.com/protomaps/PMTiles) file.

* S3: `s3://example-bucket/RELEASE/THEME.pmtiles`
* HTTP: `https://example-bucket.s3.amazonaws.com/RELEASE/THEME.pmtiles`

Each **theme** has an associated PMTiles file, which you can link to from other applications.
* `THEME`: one of `base`, `buildings`, `divisions`, `places`, `transportation`
* `RELEASE`: The Overture release name, not including minor version. For example, theme `buildings` in **data** release `2024-06-13-beta.0` will have tiles object name `2024-06-13-beta/buildings.pmtiles`.

## How to Use

To extract only a part of the tileset, use the [`pmtiles` CLI.](https://github.com/protomaps/go-pmtiles)

## Building Tilesets

### On AWS

Included is a [AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html) configuration for automating tileset creation using [AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/Batch_GetStarted.html).

### Other Environments

#### Requirements

* a [Java Runtime Environment](), version 22+, to build the `base`, `buildings` and `transportation` themes.
* the [felt/tippecanoe](https://github.com/felt/tippecanoe) tool and the [DuckDB CLI](https://duckdb.org/docs/installation/) for other themes. See installation
* the [aws CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) for downloading Overture data.

#### Scripts

You can build the tilesets from raw data, modifying the `profiles/` and `scripts/`.

1. Copy the Overture Parquet dataset to your local machine to `overture` dir:
[Use these docs](https://github.com/OvertureMaps/data/blob/main/README.md#how-to-access-overture-maps-data). You don't need Microsoft Synapse or AWS Athena.
2. Install DuckDB and [felt/tippecanoe](https://github.com/felt/tippecanoe)
3. Run [places.sh places.pmtiles](scripts/2024-05-16-beta.0/places.sh) replacing `read_parquet(...)` with the path to your Overture copy. This streams GeoParquet into tippecanoe without any intermediate file.

0 comments on commit 165c458

Please sign in to comment.