Skip to content

Generate vector tiles from OpenStreetMap indoor data

License

Notifications You must be signed in to change notification settings

Serverraum/indoorequal

 
 

Repository files navigation

indoor=

indoor= generate vector tiles of OpenStreetMap indoor data. It implements parts of Simple Indoor Tagging.

The frontend part is located here: https://github.com/indoorequal/indoorequal.org

indoor= is build with openmaptiles-tools.

Usage

To start the initial import of the planet:

./script/import

To use another area than the planet, open .env file and update the AREA variable with the name of your area. Use make list-geofabrik to find the available names. Then run ./script/import.

To start a one-time update and invalidate the tile cache:

./script/update

To run the service in production with tiles caching:

docker-compose up -d postserve postserve-cache

To generate a mbtiles file located at data/tiles.mbtiles

make generate-dc-config
make generate-tiles

Warning: Depending of the AREA, it can takes a lot of time to generate the mbtiles.

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 indoor= schema need to visibly credit "IndoorEqual.org" and "OpenMapTiles.org" or reference "indoor=" and "OpenMapTiles" with a link to https://indoorequal.org/ and https://openmaptiles.org/. Exceptions to attribution requirement can be granted on request.

For a browsable electronic map based on indoor=, OpenMapTiles and OpenStreetMap data, the credit should appear in the corner of the map. For example:

© indoor= © 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.

About

Generate vector tiles from OpenStreetMap indoor data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 54.8%
  • Makefile 42.1%
  • Shell 2.5%
  • TSQL 0.6%