{"id":28956824,"url":"https://github.com/developmentseed/morecantile","last_synced_at":"2025-10-05T03:23:48.354Z","repository":{"id":39893119,"uuid":"235887582","full_name":"developmentseed/morecantile","owner":"developmentseed","description":"Construct and use OGC TileMatrixSets (TMS)","archived":false,"fork":false,"pushed_at":"2025-09-25T19:52:36.000Z","size":1173,"stargazers_count":139,"open_issues_count":6,"forks_count":28,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-09-28T15:12:51.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developmentseed.org/morecantile/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developmentseed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-23T21:12:58.000Z","updated_at":"2025-09-25T19:51:21.000Z","dependencies_parsed_at":"2023-12-01T14:29:44.322Z","dependency_job_id":"2594ae87-471c-463c-af9e-2589ac71f629","html_url":"https://github.com/developmentseed/morecantile","commit_stats":{"total_commits":221,"total_committers":10,"mean_commits":22.1,"dds":"0.17647058823529416","last_synced_commit":"644d3b70547420222d3c34071f2eb78da0e37646"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/developmentseed/morecantile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fmorecantile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fmorecantile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fmorecantile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fmorecantile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developmentseed","download_url":"https://codeload.github.com/developmentseed/morecantile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fmorecantile/sbom","scorecard":{"id":337302,"data":{"date":"2025-08-11","repo":{"name":"github.com/developmentseed/morecantile","commit":"960096873af8a71735614dd97cc1d4c5268b5e12"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy_mkdocs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy_mkdocs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/deploy_mkdocs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy_mkdocs.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/developmentseed/morecantile/deploy_mkdocs.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:68","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:69","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:104","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:105","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:106","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:35","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:36","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/deploy_mkdocs.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/deploy_mkdocs.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/deploy_mkdocs.yml:31","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of  11 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T05:00:38.845Z","repository_id":39893119,"created_at":"2025-08-18T05:00:38.845Z","updated_at":"2025-08-18T05:00:38.845Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278403644,"owners_count":25981094,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-23T21:40:56.601Z","updated_at":"2025-10-05T03:23:48.299Z","avatar_url":"https://github.com/developmentseed.png","language":"Python","readme":"# Morecantile\n\n\u003cp align=\"center\"\u003e\n  \u003cimg height=\"500\" src=\"https://github.com/developmentseed/morecantile/assets/10407788/a1523c6d-e255-4dc6-a201-20029715858a\"/\u003e\n  \u003cp align=\"center\"\u003eConstruct and use map tile grids (a.k.a TileMatrixSet / TMS).\u003c/p\u003e\n\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/developmentseed/morecantile/actions?query=workflow%3ACI\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://github.com/developmentseed/morecantile/workflows/CI/badge.svg\" alt=\"Test\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/developmentseed/morecantile\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://codecov.io/gh/developmentseed/morecantile/branch/main/graph/badge.svg\" alt=\"Coverage\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/morecantile\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/pypi/v/morecantile?color=%2334D058\u0026label=pypi%20package\" alt=\"Package version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypistats.org/packages/morecantile\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/pypi/dm/morecantile.svg\" alt=\"Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/developmentseed/morecantile/blob/main/LICENSE\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/developmentseed/morecantile.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Documentation**: \u003ca href=\"https://developmentseed.org/morecantile/\" target=\"_blank\"\u003ehttps://developmentseed.org/morecantile/\u003c/a\u003e\n\n**Source Code**: \u003ca href=\"https://github.com/developmentseed/morecantile\" target=\"_blank\"\u003ehttps://github.com/developmentseed/morecantile\u003c/a\u003e\n\n---\n\nMorecantile is like [mercantile](https://github.com/mapbox/mercantile) (the best tool to work with Web Mercator tile indexes), but with support for other TileMatrixSet grids.\n\n**Morecantile** follows the **OGC Two Dimensional Tile Matrix Set** specification **2.0** found in [https://docs.ogc.org/is/17-083r4/17-083r4.html](https://docs.ogc.org/is/17-083r4/17-083r4.html)\n\n| Morecantile Version | OGC Specification Version | Link\n| ------------------- | ------------------------- |---------\n| \u003e=4.0               | 2.0                       | https://docs.ogc.org/is/17-083r4/17-083r4.html\n| =\u003c3.0               | 1.0                       | http://docs.opengeospatial.org/is/17-083r2/17-083r2.html\n\n\n## Install\n\n```bash\n$ python -m pip install -U pip\n$ python -m pip install morecantile\n\n# Or install from source:\n$ python -m pip install -U pip\n$ python -m pip install git+https://github.com/developmentseed/morecantile.git\n```\n\n## Usage\n\n```python\nimport morecantile\n\ntms = morecantile.tms.get(\"WebMercatorQuad\")\n\n# Get TMS bounding box\nprint(tms.xy_bbox)\n\u003e\u003e\u003e BoundingBox(\n    left=-20037508.342789244,\n    bottom=-20037508.34278919,\n    right=20037508.34278919,\n    top=20037508.342789244,\n)\n\n# Get the bounds for tile Z=4, X=10, Y=10 in the TMS's CRS (e.g epsg:3857)\nprint(tms.xy_bounds(morecantile.Tile(10, 10, 4)))\n\u003e\u003e\u003e BoundingBox(\n    left=5009377.085697308,\n    bottom=-7514065.628545959,\n    right=7514065.628545959,\n    top=-5009377.085697308,\n)\n\n# Get the bounds for tile Z=4, X=10, Y=10 in Geographic CRS (e.g epsg:4326)\nprint(tms.bounds(morecantile.Tile(10, 10, 4)))\n\u003e\u003e\u003e BoundingBox(\n    left=44.999999999999964,\n    bottom=-55.776573018667634,\n    right=67.4999999999999,\n    top=-40.97989806962009,\n)\n```\n\nMore info can be found at https://developmentseed.org/morecantile/usage/\n\n### Defaults Grids\n\n`morecantile` provides a set of default TileMatrixSets:\n\n- **CDB1GlobalGrid** \\*: CDB 1 Global Grid - EPGS:4326 (WGS84)\n- **CanadianNAD83_LCC**: Lambert conformal conic NAD83 for Canada - EPSG:3978\n- **EuropeanETRS89_LAEAQuad**: ETRS89-extended / LAEA Europe - EPGS:3035\n- **GNOSISGlobalGrid** \\*: GNOSIS Global Grid - EPGS:4326 (WGS84)\n- **LINZAntarticaMapTilegrid**: LINZ Antarctic Map Tile Grid (Ross Sea Region) - EPSG:5482\n- **NZTM2000Quad**: LINZ NZTM2000 Map Tile Grid - EPSG:2193\n- **UPSAntarcticWGS84Quad**: Universal Polar Stereographic WGS 84 Quad for Antarctic - EPSG:5042\n- **UPSArcticWGS84Quad**: Universal Polar Stereographic WGS 84 Quad for Arctic - EPSG:5041\n- **UTM31WGS84Quad**: Example of UTM grid - EPSG:32631\n- **WebMercatorQuad**: Spherical Mercator - EPGS:3857 (default grid for Web Mercator based maps)\n- **WGS1984Quad**: EPSG:4326 for the World - EPGS:4326 (WGS84)\n- **WorldCRS84Quad**: CRS84 for the World\n- **WorldMercatorWGS84Quad**: Elliptical Mercator projection - EPGS:3395\n\n\\* TileMatrixSets with variable Matrix Width (see https://docs.ogc.org/is/17-083r4/17-083r4.html#toc15)\n\nref: https://schemas.opengis.net/tms/2.0/json/examples/tilematrixset/\n\n## Implementations\n\n- [rio-tiler](https://github.com/cogeotiff/rio-tiler): Create tile from raster using Morecantile TMS.\n- [titiler](https://github.com/developmentseed/titiler): A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.\n- [tipg](https://github.com/developmentseed/tipg): OGC Features and Tiles API.\n- [planetcantile](https://github.com/AndrewAnnex/planetcantile): Tile matrix sets for other planets.\n- [supermorecado](https://github.com/developmentseed/supermorecado): Extend the functionality of morecantile with additional commands.\n\n\n## Changes\n\nSee [CHANGES.md](https://github.com/developmentseed/morecantile/blob/main/CHANGES.md).\n\n## Contribution \u0026 Development\n\nSee [CONTRIBUTING.md](https://github.com/developmentseed/morecantile/blob/main/CONTRIBUTING.md)\n\n## License\n\nSee [LICENSE](https://github.com/developmentseed/morecantile/blob/main/LICENSE)\n\n## Authors\n\nCreated by [Development Seed](\u003chttp://developmentseed.org\u003e)\n","funding_links":[],"categories":["Geospatial Library"],"sub_categories":["Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Fmorecantile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmentseed%2Fmorecantile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Fmorecantile/lists"}