Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tesera/esri-service-catalog
Harvests ArcGIS REST JSON metadata endpoints into single JSON file.
https://github.com/tesera/esri-service-catalog
cli esri nodejs
Last synced: 16 days ago
JSON representation
Harvests ArcGIS REST JSON metadata endpoints into single JSON file.
- Host: GitHub
- URL: https://github.com/tesera/esri-service-catalog
- Owner: tesera
- License: mit
- Created: 2016-09-23T22:23:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-03T22:20:49.000Z (almost 8 years ago)
- Last Synced: 2024-08-01T00:55:55.729Z (3 months ago)
- Topics: cli, esri, nodejs
- Language: JavaScript
- Homepage:
- Size: 918 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#ESRI Service Catalog
This tool is shipped with a module and a CLI. You can import the module directly in your project or use the CLI directly. The library will walk an ArcGIS endpoint and harvest metadata into a single JSON file.
###Install
```terminal
npm install tesera/esri-service-catalog --global
```###Usage
```terminal
$ esri-catalog --help
Usage: cli [options]Options:
-h, --help output usage information
-V, --version output the version number
--include-layers Should it harvest layer level metadata?
$ esri-catalog http://your-server.com/arcgis.rest/services > meta.json
$ cat meta.json
{
"folderServices": {
"http://your-server.com/rest/services/your-folder": [
"http://your-server.com/rest/services/your-folder-1/your-service-1/MapServer"
],
"http://your-server.com/rest/services/your-folder-2": [
"http://your-server.com/rest/services/your-folder-2/your-service-1/MapServer",
"http://your-server.com/rest/services/your-folder-2/your-service-2/MapServer"
]
},
"folders": [
"http://your-server.com/rest/services/your-folder-1",
"http://your-server.com/rest/services/your-folder-2"
],
"services": [
"http://your-server.com/rest/services/your-folder-1/your-service-1/MapServer",
"http://your-server.com/rest/services/your-folder-2/your-service-1/MapServer",
"http://your-server.com/rest/services/your-folder-2/your-service-2/MapServer"
],
"metadata": {
"http://your-server.com/rest/services/your-folder-1": {
"currentVersion": 10.4,
"folders": [],
"services": [
{
"name": "your-folder-1/your-service-1",
"type": "MapServer"
},
{
"name": "your-folder-1/your-service-2",
"type": "MapServer"
},
]
}
...
}
}
```