{"id":18678221,"url":"https://github.com/openmaptiles/openmaptiles-skiing","last_synced_at":"2025-07-21T15:11:34.364Z","repository":{"id":73382745,"uuid":"173771623","full_name":"openmaptiles/openmaptiles-skiing","owner":"openmaptiles","description":"OpenMapTiles custom layer implementation","archived":false,"fork":false,"pushed_at":"2021-05-27T07:51:35.000Z","size":30,"stargazers_count":15,"open_issues_count":3,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-27T21:14:39.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openmaptiles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-04T15:33:16.000Z","updated_at":"2024-09-11T07:07:51.000Z","dependencies_parsed_at":"2023-06-13T11:00:09.814Z","dependency_job_id":null,"html_url":"https://github.com/openmaptiles/openmaptiles-skiing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmaptiles%2Fopenmaptiles-skiing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmaptiles%2Fopenmaptiles-skiing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmaptiles%2Fopenmaptiles-skiing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmaptiles%2Fopenmaptiles-skiing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openmaptiles","download_url":"https://codeload.github.com/openmaptiles/openmaptiles-skiing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239525511,"owners_count":19653341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T09:36:25.678Z","updated_at":"2025-02-18T18:26:10.080Z","avatar_url":"https://github.com/openmaptiles.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## OpenMapTiles - example of how to make your own layer from OSM tags\n\nSee the video from State of the Map conference on How to modify the OpenMapTiles:\n\nhttps://youtu.be/oI4GJE_v-zo?t=832\n\nOpenMapTiles is an extensible and open vector tile schema for a OpenStreetMap basemap. It is used to generate vector tiles for [openmaptiles.org](https://openmaptiles.org/) and [openmaptiles.com](https://openmaptiles.com/).\n\nWe encourage you to collaborate, reuse and adapt existing layers and add your own layers or use our approach for your own vector tile project. The repository is built on top of the [openmaptiles/tools](https://github.com/openmaptiles/openmaptiles-tools) to simplify vector tile creation.\n\n- :link: Docs https://openmaptiles.org/docs\n- :link: Schema: https://openmaptiles.org/schema\n- :link: Production package: https://openmaptiles.com/\n\nThis repository is the simple example, how to create a custom layer in [OpenMapTiles project](https://github.com/openmaptiles/openmaptiles).\n\n\n## Develop\n\nTo work on OpenMapTiles you need Docker and Python.\n\n- Install [Docker](https://docs.docker.com/engine/installation/). Minimum version is 1.12.3+.\n- Install [Docker Compose](https://docs.docker.com/compose/install/). Minimum version is 1.7.1+.\n\n### Build\n\nBuild the tileset.\n\n```bash\ngit clone git@github.com:openmaptiles/skiing.git\ncd openmaptiles\n# Build the imposm mapping, the tm2source project and collect all SQL scripts\nmake\n```\n\n### Prepare the Database\n\nNow start up the database container.\n\n```bash\ndocker-compose up -d postgres\n```\n\n[Download OpenStreetMap data extracts](http://download.geofabrik.de/) and store the PBF file in the `./data` directory.\n\n```bash\ncd data\nwget http://download.geofabrik.de/europe/albania-latest.osm.pbf\n```\n\n[Import OpenStreetMap data](https://github.com/openmaptiles/import-osm) with the mapping rules from\n`build/mapping.yaml` (which has been created by `make`).\n\n```bash\ndocker-compose run import-osm\n```\n\n### Work on Layers\n\nEach time you modify layer SQL code run `make` and `docker-compose run import-sql`.\n\n```\nmake clean\nmake\ndocker-compose run import-sql\n```\n\nNow you are ready to **generate the vector tiles**. Using environment variables\nyou can limit the bounding box and zoom levels of what you want to generate (`docker-compose.yml`).\n\n```\ndocker-compose run generate-vectortiles\n```\n\n## License\n\nAll code in this repository is under the [BSD license](./LICENSE.md) and the cartography decisions encoded in the schema and SQL are licensed under [CC-BY](./LICENSE.md).\n\nProducts 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.\n\nFor a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the\ncredit should appear in the corner of the map. For example:\n\n[© OpenMapTiles](https://openmaptiles.org/) [© OpenStreetMap contributors](https://www.openstreetmap.org/copyright)\n\nFor printed and static maps a similar attribution should be made in a textual\ndescription near the image, in the same fashion as if you cite a photograph.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmaptiles%2Fopenmaptiles-skiing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmaptiles%2Fopenmaptiles-skiing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmaptiles%2Fopenmaptiles-skiing/lists"}