transitopia/planetiler-openmaptiles
Planetiler profile to build the vector base map data for Transitopia
Planetiler Transitopia Base Map Profile
This profile for Planetiler is used to create the base map (the background map) used for
Transitopia. It is a slightly modified version of the
OpenMapTiles Planetiler Profile.
How to run
After installing Java 21+:
# Build the project (use mvnw.cmd on windows):
./mvnw clean package
# Force re-downloading of the newest data:
rm data/sources/british_columbia.osm.pbf
# Then run:
java -jar target/planetiler-*-with-deps.jar --force --download --area=british-columbia --exclude-layers=housenumber,mountain_peak,poi,building --output=data/transitopia-base-bc.pmtilesSee Planetiler README.md for more description of the
available options.
Differences from OpenMapTiles
In addition to the upstream differences between planetiler-openmaptiles and openmaptiles:
- The
parklayer includesleisure=parkareas (e.g. municipal parks) and excludesboundary=aboriginal_landsand manyboundary=protected_areathat aren't parks (e.g. heritage neighborhoods)- For example, in the Transitopia version: Queen Elizabeth Park in Vancouver is considered a park, and the Abbott Street Conservation Area and Sen̓áḵw lands are not.
Customizing
See the upstream documentation about how to customize the map.
License
All code in this repository is under the BSD license and the cartography decisions encoded in the schema
and SQL are licensed under CC-BY.
Products or services using maps derived from OpenMapTiles schema need to visibly credit "OpenMapTiles.org" or
reference "OpenMapTiles" with a link to https://openmaptiles.org/. Exceptions to attribution requirement can be granted
on request.
For a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the
credit should appear in the corner of the map. For example:
© OpenMapTiles © OpenStreetMap contributors
For printed and static maps a similar attribution should be made in a textual
description near the image, in the same fashion as if you cite a photograph.