Git Product home page Git Product logo

agstools's Introduction

agstools

Command-line tool for managing ArcGIS (in particular ArcGIS Server), including performing data maintenance, and service publishing automation.

Depends on arcpyext (https://github.com/DavidWhittingham/arcpyext) and agsadmin (https://github.com/DavidWhittingham/agsadmin) for functionality. agsadmin doesn't require any ArcGIS software or licence, but arcpyext does. Tested/maintained on Python 2.7.

Once installed, simply run agstools from a shell prompt (assuming the Python scripts directory is in your PATH environment variable).

Help is available on the command line tool with the -h/--help switch. The main help screen is reproduced below:

usage: agstools-script.py [-h]
                          {sddraft,imagesddraft,gpsddraft,sd,updatedata,multiupdatedata,publish,copy,start,stop,delete}
                          ...

Helper tools for performing ArcGIS Server administrative functions.

positional arguments:
  {sddraft,imagesddraft,gpsddraft,sd,updatedata,multiupdatedata,publish,copy,start,stop,delete}
    sddraft             Converts a map document (*.mxd) to an ArcGIS Server
                        service definition draft.
    imagesddraft        Creates a service definition draft for an Image
                        Service from a raster layer.
    gpsddraft           Creates a service definition draft for a Geo-
                        processing Service from a (Python) Toolbox.
    sd                  Stages an ArcGIS Server service definition draft into
                        a service definition ready for publishing (this will
                        by default delete the draft).
    updatedata          Updates the workspace (data source) of each layer in a
                        map document.
    multiupdatedata     Updates the workspace (data source) of each layer in a
                        map document, for every map document within a given
                        folder.
    publish             Publishes a service definition to an ArcGIS Server
                        instance.
    copy                Saves a copy of an ArcGIS map document, optionally in
                        a different output version.
    start               Starts a service on an ArcGIS Server instance.
    stop                Stops a service on an ArcGIS Server instance.
    delete              Deletes a service on an ArcGIS Server instance.

optional arguments:
  -h, --help            Show this help message and exit.

agstools's People

Contributors

davidwhittingham avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.