{"id":14065038,"url":"https://github.com/telnet23/arcgis-dl","last_synced_at":"2025-07-29T19:34:07.256Z","repository":{"id":63077479,"uuid":"340907158","full_name":"telnet23/arcgis-dl","owner":"telnet23","description":"Recursively download all layers from an ArcGIS Server REST API","archived":false,"fork":false,"pushed_at":"2022-01-30T18:35:53.000Z","size":19,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-13T07:08:01.716Z","etag":null,"topics":["arcgis","arcgis-rest-api","arcgis-server","esri","geojson","geopackage","geospatial","geospatial-data","gis","python","spatial-data"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/telnet23.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}},"created_at":"2021-02-21T13:24:25.000Z","updated_at":"2023-12-12T20:07:38.000Z","dependencies_parsed_at":"2022-11-12T11:46:15.478Z","dependency_job_id":null,"html_url":"https://github.com/telnet23/arcgis-dl","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/telnet23%2Farcgis-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telnet23%2Farcgis-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telnet23%2Farcgis-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telnet23%2Farcgis-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telnet23","download_url":"https://codeload.github.com/telnet23/arcgis-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228046038,"owners_count":17861084,"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":["arcgis","arcgis-rest-api","arcgis-server","esri","geojson","geopackage","geospatial","geospatial-data","gis","python","spatial-data"],"created_at":"2024-08-13T07:04:15.236Z","updated_at":"2024-12-04T04:30:40.352Z","avatar_url":"https://github.com/telnet23.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# arcgis-dl\n\nRecursively download all layers from an ArcGIS Server REST API.\n\n## Command-Line Examples\n\nDownload all layers under a site:\n```\narcgis-dl https://example.com/ExampleSite/rest/services\n```\nDownload all layers under a folder:\n```\narcgis-dl https://example.com/ExampleSite/rest/services/ExampleFolder\n```\nDownload all layers under a service:\n```\narcgis-dl https://example.com/ExampleSite/rest/services/ExampleFolder/ExampleService\n```\n```\narcgis-dl https://example.com/ExampleSite/rest/services/ExampleFolder/ExampleService/ExampleType\n```\nDownload a specific layer:\n```\narcgis-dl https://example.com/ExampleSite/rest/services/ExampleFolder/ExampleService/ExampleType/0\n```\n\n## Command-Line Usage\n\n```\nusage: arcgis-dl [-h] [-c CACHE_DIR] [-l LAYER_DIR] [-f {geojson,json}] [-t LAYER_TYPE] [-k TOKEN] url [url ...]\n\npositional arguments:\n  url                   site url, folder url, service url, or layer url. requires at least one url.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -c CACHE_DIR, --cache-dir CACHE_DIR\n                        directory to write cache of raw content. default: None\n  -l LAYER_DIR, --layer-dir LAYER_DIR\n                        directory to write layers. default: layers\n  -f {geojson,json}, --layer-format {geojson,json}\n                        preferred format of layers to download. default: GeoJSON\n  -t LAYER_TYPE, --layer-type LAYER_TYPE\n                        type(s) of layers to download. default: Feature Layer, Table\n  -k TOKEN, --token TOKEN\n                        authentication token\n```\n\n## Formats\n\nLayers can be downloaded from the server in GeoJSON format or Esri JSON format. Third-party utilities, such as [`ogr2ogr`](https://gdal.org/programs/ogr2ogr.html), may be used to convert layers to other formats, such as GeoPackage or Esri Shapefile:\n\n```\nogr2ogr -f GPKG example.gpkg layers/example/**.geojson\n```\n```\nogr2ogr -f 'Esri Shapefile' example layers/example/**.geojson\n```\n\n## Considerations\n\nLayers may be protected under copyright. Be aware of any copyright notices or licenses associated with the layers that you plan to download.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelnet23%2Farcgis-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelnet23%2Farcgis-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelnet23%2Farcgis-dl/lists"}