{"id":21007936,"url":"https://github.com/caged/tile-stitch","last_synced_at":"2025-12-29T07:06:58.376Z","repository":{"id":66029603,"uuid":"68468819","full_name":"caged/tile-stitch","owner":"caged","description":"stitch together image tiles for large-format prints","archived":false,"fork":false,"pushed_at":"2024-01-26T13:56:19.000Z","size":713,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T10:48:24.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/caged.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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}},"created_at":"2016-09-17T17:59:05.000Z","updated_at":"2023-11-30T16:40:34.000Z","dependencies_parsed_at":"2024-11-19T09:10:54.795Z","dependency_job_id":"05d285bc-52f6-4493-9438-57df6d288691","html_url":"https://github.com/caged/tile-stitch","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/caged%2Ftile-stitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Ftile-stitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Ftile-stitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Ftile-stitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caged","download_url":"https://codeload.github.com/caged/tile-stitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428436,"owners_count":20289317,"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-19T09:10:52.457Z","updated_at":"2025-12-29T07:06:53.343Z","avatar_url":"https://github.com/caged.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](/preview.jpg)\n\nThis project was born out of a desire to print large areas of satellite photos of Portland, OR that are only available via smaller 256x256px tiles.  It allows you to fetch and merge tiles from [Portland's ArcGIS server](https://www.portlandmaps.com/arcgis/rest/services/Public).  Though I've only tested in with Portland's ArcGIS server, it _might_ work with other tile servers with a few updates.\n\nTested on OSX 10.11.6 with Python 3.5.2. First install the requirements.\n\n```\nscript/bootstrap\n```\n\nOpen up the server to pull up a debug grid view.  Each grid contains a tile signature as z,x,y.  \n\n```\nscript/server\nopen http://localhost:8000/html/select.html\n```\n\nNow download tiles at zoom level 19 starting at the grid point `[83513, 187554]` and going to `[83566, 187555]`.  Tiles are stored and cached in the `tiles` directory in the z/x/y.jpg format.  You can run `script/fetch --help` for more info, but quickly:\n\n* `--layer` - You can find a list of available on the ArcGIS server, but I've only tested with the satellite photo layers.\n* `--route` - Generally this is the layer name found in the MapServer URL.  For instance, the route name for [this url](https://www.portlandmaps.com/arcgis/rest/services/Public/Aerial_Photos_Summer_1998/MapServer) is \"Aerial_Photos_Summer_1998.\"\n\n```\n./script/fetch -z 19 \\\n  -x0 83513 \\\n  -y0 187554 \\\n  -x1 83566 \\\n  -y1 187555 \\\n  --route Aerial_Photos_Summer_1996 \\\n  --layer Public_Aerial_Photos_Summer_2015\n```\n\nNow we can merge the set of tiles we just downloaded into one large image.  You can find more info by running `script/merge --help`, but quickly:\n\n* `-o` - The directory to store the output images.\n* `-d` - One or more input directories to read from.  Sometimes it's useful to merge a bunch of layers in one go.\n\n```\n./script/merge -o ./out \\\n  -z 19 \\\n  -x0 83513 \\\n  -y0 187554 \\\n  -x1 83566 \\\n  -y1 187555 \\\n  -d tiles/Aerial_Photos_Summer_2015\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Ftile-stitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaged%2Ftile-stitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Ftile-stitch/lists"}