{"id":19989016,"url":"https://github.com/icemap/go-map-downloader","last_synced_at":"2025-05-04T09:32:40.463Z","repository":{"id":57639707,"uuid":"429784891","full_name":"Icemap/go-map-downloader","owner":"Icemap","description":"a map downloader for golang. It supports multiple map type: google satellite/google image/google terrain/amap satellite/amap cover/amap image","archived":false,"fork":false,"pushed_at":"2023-03-27T09:39:18.000Z","size":6278,"stargazers_count":39,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T11:59:57.238Z","etag":null,"topics":["downloader","golang","map"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Icemap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-11-19T12:10:43.000Z","updated_at":"2024-06-16T16:24:24.000Z","dependencies_parsed_at":"2024-06-20T11:11:22.932Z","dependency_job_id":"48248a84-2efa-4f9e-9e3e-bd80474accb3","html_url":"https://github.com/Icemap/go-map-downloader","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/Icemap%2Fgo-map-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Fgo-map-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Fgo-map-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Fgo-map-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icemap","download_url":"https://codeload.github.com/Icemap/go-map-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224391419,"owners_count":17303609,"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":["downloader","golang","map"],"created_at":"2024-11-13T04:45:06.518Z","updated_at":"2024-11-13T04:45:07.352Z","avatar_url":"https://github.com/Icemap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-map-downloader\n\n![build_badge](https://github.com/Icemap/go-map-downloader/workflows/Go/badge.svg)\n\nEnglish | [中文](README_ch.md)\n\nMap downloader for golang. It supports multiple map type:\n\n- google satellite\n- google image\n- google terrain\n- amap satellite\n- amap cover\n- amap image\n\n## Feature\n\n- Download map tile picture\n- Combine tile to a big map\n\n## Install\n\n### Gitpod (recommended)\n\n[![gitpod_badge](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Icemap/go-map-downloader)\n\nYou can open this project on Gitpod by clicking above. Gitpod is a complete cloud development environment that you can use as a remote VSCode. This allows you to not need to configure your local environment.\n\nBecause the compile command is already run, you can use the binary directly: `bin/go-map-downloader` . Try running:\n\n```bash\n./bin/go-map-downloader -l 139.278433 -t 35.968355 -r 140.506452 -b 35.427143 -min 11 -max 11 -type GoogleSatellite -p bin/save\n```\n\nThe results:\n\n![gitpod_result](./pic/gitpod.png)\n\n### Local installation\n\n```bash\ngo get -u github.com/Icemap/go-map-downloader\n```\n\n## Example\n\n### google satellite\n\n```bash\n./go-map-downloader -l 139.278433 -t 35.968355 -r 140.506452 -b 35.427143 -min 11 -max 11 -type GoogleSatellite\n```\n\n![google satellite](pic/google_satellite_level_11.jpg)\n\n\u003e **Note:**\n\u003e\n\u003e You can use the `google-label` parameter to control if hide labels in Google type maps.  \n\u003e\n\u003e ```\n\u003e ./go-map-downloader -l 139.278433 -t 35.968355 -r 140.506452 -b 35.427143 -min 11 -max 11 -type GoogleSatellite -google-label=false\n\u003e ```\n\u003e\n\u003e Please notice that the parameter `google-label` will affect Google type only.\n\n### amap image\n\n```bash\n./go-map-downloader -l 139.278433 -t 35.968355 -r 140.506452 -b 35.427143 -min 11 -max 11 -type AMapImage\n```\n\n![amap_image](pic/amap_image_level_11.jpg)\n\n### help\n\n```\n./go-map-downloader -h\nUsage of ./go-map-downloader:\n  -b float\n        bottom latitude\n  -c    combine same level map together (default true)\n  -g int\n        goroutine nums (default 50)\n  -google-label\n        only effect when the map type is GoogleSatellite / GoogleImage / GoogleTerrain (default true)\n  -l float\n        left longitude\n  -max int\n        map max level (default 3)\n  -min int\n        map min level (default 1)\n  -p string\n        map save path (default \"/tmp\")\n  -q int\n        query file per second number (default 500)\n  -r float\n        right longitude\n  -retry int\n        max retry num (default 3)\n  -t float\n        top latitude\n  -type string\n        map type (GoogleSatellite/GoogleImage/GoogleTerrain/AMapSatellite/AMapCover/AMapImage) (default \"GoogleSatellite\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Fgo-map-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficemap%2Fgo-map-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Fgo-map-downloader/lists"}