{"id":21472353,"url":"https://github.com/ungarj/tilematrix","last_synced_at":"2026-03-09T13:37:55.784Z","repository":{"id":3545340,"uuid":"41432393","full_name":"ungarj/tilematrix","owner":"ungarj","description":"helps handling tile pyramids","archived":false,"fork":false,"pushed_at":"2024-11-11T08:16:53.000Z","size":4894,"stargazers_count":21,"open_issues_count":18,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-02T10:45:40.507Z","etag":null,"topics":["geospatial","mercator-projection","pyramid","tile","tilesets","web-mapping","wgs84"],"latest_commit_sha":null,"homepage":"","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/ungarj.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"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}},"created_at":"2015-08-26T15:06:39.000Z","updated_at":"2024-11-11T08:16:57.000Z","dependencies_parsed_at":"2024-11-11T09:20:58.941Z","dependency_job_id":"46be4f50-c73a-4e29-a70a-37ba4fd14f5c","html_url":"https://github.com/ungarj/tilematrix","commit_stats":{"total_commits":221,"total_committers":4,"mean_commits":55.25,"dds":0.5158371040723981,"last_synced_commit":"0b46c869f4b9abe4d2fba7459edae2baf04995ed"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/ungarj/tilematrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungarj%2Ftilematrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungarj%2Ftilematrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungarj%2Ftilematrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungarj%2Ftilematrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ungarj","download_url":"https://codeload.github.com/ungarj/tilematrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungarj%2Ftilematrix/sbom","scorecard":{"id":535268,"data":{"date":"2025-08-11","repo":{"name":"github.com/ungarj/tilematrix","commit":"275b4d79ca5c4c7d3423a0c6e403735beb081cd8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 2/14 approved changesets -- score normalized to 1","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.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/python-package.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ungarj/tilematrix/python-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ungarj/tilematrix/python-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ungarj/tilematrix/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ungarj/tilematrix/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:34","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:35","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:24","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 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":"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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 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-20T06:46:58.095Z","repository_id":3545340,"created_at":"2025-08-20T06:46:58.095Z","updated_at":"2025-08-20T06:46:58.095Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["geospatial","mercator-projection","pyramid","tile","tilesets","web-mapping","wgs84"],"created_at":"2024-11-23T09:48:51.206Z","updated_at":"2026-03-09T13:37:55.757Z","avatar_url":"https://github.com/ungarj.png","language":"Python","readme":"==========\nTilematrix\n==========\n\nTilematrix handles geographic web tiles and tile pyramids.\n\n.. image:: https://badge.fury.io/py/tilematrix.svg\n    :target: https://badge.fury.io/py/tilematrix\n\n.. image:: https://travis-ci.org/ungarj/tilematrix.svg?branch=master\n    :target: https://travis-ci.org/ungarj/tilematrix\n\n.. image:: https://coveralls.io/repos/github/ungarj/tilematrix/badge.svg?branch=master\n    :target: https://coveralls.io/github/ungarj/tilematrix?branch=master\n\n.. image:: https://anaconda.org/conda-forge/tilematrix/badges/version.svg\n    :target: https://anaconda.org/conda-forge/tilematrix    \n\n.. image:: https://img.shields.io/pypi/pyversions/mapchete.svg\n\n\nThe module is designed to translate between tile indices (zoom, row, column = ZYX) and\nmap coordinates (e.g. latitute, longitude).\n\nTilematrix supports **metatiling** and **tile buffers**. Furthermore it makes\nheavy use of shapely_ and it can also generate ``Affine`` objects per tile which\nfacilitates working with rasterio_ for tile based data reading and writing.\n\nIt is very similar to mercantile_ but besides of supporting spherical mercator\ntile pyramids, it also supports geodetic (WGS84) tile pyramids.\n\n.. _shapely: http://toblerity.org/shapely/\n.. _rasterio: https://github.com/mapbox/rasterio\n.. _mercantile: https://github.com/mapbox/mercantile\n\n------------\nInstallation\n------------\n\nUse ``conda`` to install the latest stable version:\n\n.. code-block:: shell\n\n    conda install -c conda-forge -y tilematrix\n\nUse ``pip`` to install the latest stable version:\n\n.. code-block:: shell\n\n    pip install tilematrix\n\nManually install the latest development version\n\n.. code-block:: shell\n\n    pip install -r requirements.txt\n    python setup.py install\n\n\n-------------\nDocumentation\n-------------\n\n* `API documentation \u003cdoc/tilematrix.md\u003e`_\n* `examples \u003cdoc/examples.md\u003e`_\n\nCLI\n---\n\nThis package ships with a command line tool ``tmx`` which provides the following\nsubcommands:\n\n* ``bounds``: Print bounds of given Tile.\n* ``bbox``: Print bounding box geometry of given Tile.\n* ``tile``: Print Tile covering given point.\n* ``tiles``: Print Tiles covering given bounds.\n\nGeometry outputs can either be formatted as ``WKT`` or ``GeoJSON``. For example\nthe following command will print a valid ``GeoJSON`` representing all tiles\nfor zoom level 1 of the ``geodetic`` WMTS grid:\n\n.. code-block:: shell\n\n    $ tmx -f GeoJSON tiles -- 1 -180 -90 180 90\n    {\n      \"type\": \"FeatureCollection\",\n      \"features\": [\n        {\"geometry\": {\"coordinates\": [[[-90.0, 0.0], [-90.0, 90.0], [-180.0, 90.0], [-180.0, 0.0], [-90.0, 0.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 0, \"row\": 0, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[0.0, 0.0], [0.0, 90.0], [-90.0, 90.0], [-90.0, 0.0], [0.0, 0.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 1, \"row\": 0, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[90.0, 0.0], [90.0, 90.0], [0.0, 90.0], [0.0, 0.0], [90.0, 0.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 2, \"row\": 0, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[180.0, 0.0], [180.0, 90.0], [90.0, 90.0], [90.0, 0.0], [180.0, 0.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 3, \"row\": 0, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[-90.0, -90.0], [-90.0, 0.0], [-180.0, 0.0], [-180.0, -90.0], [-90.0, -90.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 0, \"row\": 1, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[0.0, -90.0], [0.0, 0.0], [-90.0, 0.0], [-90.0, -90.0], [0.0, -90.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 1, \"row\": 1, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[90.0, -90.0], [90.0, 0.0], [0.0, 0.0], [0.0, -90.0], [90.0, -90.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 2, \"row\": 1, \"zoom\": 1}, \"type\": \"Feature\"},\n        {\"geometry\": {\"coordinates\": [[[180.0, -90.0], [180.0, 0.0], [90.0, 0.0], [90.0, -90.0], [180.0, -90.0]]], \"type\": \"Polygon\"}, \"properties\": {\"col\": 3, \"row\": 1, \"zoom\": 1}, \"type\": \"Feature\"}\n      ]\n    }\n\n\n\nPrint ``WKT`` representation of tile ``4 15 23``:\n\n.. code-block:: shell\n\n    $ tmx bbox 4 15 23\n    POLYGON ((90 -90, 90 -78.75, 78.75 -78.75, 78.75 -90, 90 -90))\n\n\nAlso, tiles can have buffers around called ``pixelbuffer``:\n\n.. code-block:: shell\n\n    $ tmx --pixelbuffer 10 bbox 4 15 23\n    POLYGON ((90.439453125 -90, 90.439453125 -78.310546875, 78.310546875 -78.310546875, 78.310546875 -90, 90.439453125 -90))\n\n\nPrint ``GeoJSON`` representation of tile ``4 15 23`` on a ``mercator`` tile\npyramid:\n\n.. code-block:: shell\n\n    $ tmx -output_format GeoJSON -grid mercator bbox 4 15 15\n    {\"type\": \"Polygon\", \"coordinates\": [[[20037508.342789203, -20037508.3427892], [20037508.342789203, -17532819.799940553], [17532819.799940553, -17532819.799940553], [17532819.799940553, -20037508.3427892], [20037508.342789203, -20037508.3427892]]]}\n\n----------------\nConda Publishing\n----------------\n\nUse bot pull requests generated with every release at tilematrix-feedstock_  repository for releasing new versions on ``conda-forge``.\n\n\n-------\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2015-2022 `EOX IT Services`_\n\n.. _`EOX IT Services`: https://eox.at/\n\n.. _`tilematrix-feedstock`: https://github.com/conda-forge/tilematrix-feedstock\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungarj%2Ftilematrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fungarj%2Ftilematrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungarj%2Ftilematrix/lists"}