{"id":13426166,"url":"https://github.com/derhuerst/combine-tiles","last_synced_at":"2025-04-15T04:56:19.668Z","repository":{"id":24444075,"uuid":"101579393","full_name":"derhuerst/combine-tiles","owner":"derhuerst","description":"Combine map tiles into a single large image.","archived":false,"fork":false,"pushed_at":"2024-05-06T10:05:39.000Z","size":87,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T04:56:12.254Z","etag":null,"topics":["combine","join","map","osm","stitch","tiles"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/combine-tiles","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.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":"2017-08-27T20:47:47.000Z","updated_at":"2025-04-09T10:12:09.000Z","dependencies_parsed_at":"2024-05-06T11:28:11.938Z","dependency_job_id":"bbf25fbe-3185-462a-8672-93005aa27221","html_url":"https://github.com/derhuerst/combine-tiles","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":0.1578947368421053,"last_synced_commit":"4e2bc9152cf20379a02f09afab15532a984e9c09"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fcombine-tiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fcombine-tiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fcombine-tiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fcombine-tiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/combine-tiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249010207,"owners_count":21197797,"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":["combine","join","map","osm","stitch","tiles"],"created_at":"2024-07-31T00:01:27.872Z","updated_at":"2025-04-15T04:56:19.613Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://github.com/sponsors/derhuerst"],"categories":["JavaScript"],"sub_categories":[],"readme":"# combine-tiles\n\n**Combine map tiles into a single large image.** Uses the great [`sharp` package](https://www.npmjs.com/package/sharp) for efficiency. Similar to [abacus](https://github.com/mapbox/abaculus#abaculus) and [merge-tiles](https://github.com/stadt-bielefeld/merge-tiles#merge-tiles).\n\n[![npm version](https://img.shields.io/npm/v/combine-tiles.svg)](https://www.npmjs.com/package/combine-tiles)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/combine-tiles.svg)\n![minimum Node.js version](https://img.shields.io/node/v/combine-tiles.svg)\n[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install combine-tiles\n```\n\n\n## Usage\n\nCheck out the [`example` directory](example)!\n\n```js\nconst combineTiles = require('combine-tiles')\n\nconst size = 300\nconst tiles = [\n\t{x: 0, y: 0, file: '/path/to/0-0.png'},\n\t{x: 1, y: 0, file: '/path/to/1-0.png'},\n\t{x: 0, y: 1, file: '/path/to/0-1.png'},\n\t{x: 1, y: 1, file: '/path/to/1-1.png'}\n]\nconst dest = '/path/to/combined.png'\n\nawait combineTiles(tiles, size, size, dest)\n```\n\nYou may want to use [tilebelt](https://github.com/mapbox/tilebelt#features) to convert bounding boxes into `[x, y, zoom]` tiles or [tile-cover](https://github.com/mapbox/tile-cover#tile-cover) to generate a list of tiles in a bounding box.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `combine-tiles`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/combine-tiles/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fcombine-tiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fcombine-tiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fcombine-tiles/lists"}