Skip to content

biomap/gishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIShell Command Line Tools

---THIS IS A PROOF OF CONCEPT ONLY--

ArcGIS Online Python API command shell

To Use:

  1. open a terminal
  2. install fresh virtualenv
  3. run pip install -r requirements.txt
  4. save a copy of test-config.conf.blank renaming it to test-config.conf and filling in the values
  5. run \path\to\venv\bin\python3 command.py

This will open a subterminal inside of terminal.

You will need to use login to do anything ATM. From there search (sorta) works as well as user.

Super rough but wanted to see what I could do with this terminal and the API. The idea being that cmdline tools require you to login each time you issue a cmd. This holds the GIS object open (creates a session) and you can interactively work with the API from there.

What might be interesting is if this app could store some additional parms such save path, working directory and some metadata about the local files. This way files layers on the AGOL/Geoserver instance can be read straight from the server. detect when it was lasted modified and compare that to the local files. If a newer version is detected the old file is archived and a new file is created in whatever format is desired. If the layer has not been modified it simply skips it.

Online data could then be backed up locally in the desired format or even to a local database server.

Releases

No releases published

Packages

No packages published

Languages