Administering ArcGIS for Server with Python

12
Administering ArcGIS for Server with Python Jon Bodamer

description

Administering ArcGIS for Server with Python. Jon Bodamer. ArcGIS Online Example. Publish your own web services Create and share items on ArcGIS Online or your own portal Configure and automate parts of the ArcGIS system, such as ArcGIS for Server, Portal for ArcGIS, and ArcGIS Online. - PowerPoint PPT Presentation

Transcript of Administering ArcGIS for Server with Python

Page 1: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Administering ArcGIS for Server with PythonJon Bodamer

Page 2: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

• Publish your own web services

• Create and share items on ArcGIS Online or your own portal

• Configure and automate parts of the ArcGIS system, such as ArcGIS for Server, Portal for ArcGIS, and ArcGIS Online

ArcGIS Online Example

Administering ArcGIS for Server with Python

Page 3: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

REST API

• Through REST API

• Get token

• HTTP- Make request

- Get response

- Parse response (json)

- Python dicts

Administering ArcGIS for Server with Python

Page 4: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Tasks

• Add or publish item- Shapefile

- Service Definition

- CSV

• Check if item exists

• Delete item

• Get contents

Administering ArcGIS for Server with Python

Page 5: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Add File

• URL to operation in REST API

Administering ArcGIS for Server with Python

Page 6: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Analysis Tools

• Run analysis tools through REST API

• Submit job- Token required

- Analysis Service URL required

• Check job status

• Get results

Administering ArcGIS for Server with Python

Page 7: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Submit Analysis Job

• URL to operation in REST API

Administering ArcGIS for Server with Python

Page 8: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Roles

• Publisher- Create content

- Publish features

- Perform analysis

• Administrator- All publisher privileges

- Manage content owned by members

• Custom

Administering ArcGIS for Server with Python

Page 9: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Resources

• Scripting ArcGIS Server administration

http://bit.ly/server_administration

• The ArcGIS REST API

http://bit.ly/arcgis_rest_api

• Programmatically accessing analysis services

http://bit.ly/analysis_services

Administering ArcGIS for Server with Python

Page 10: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Jon Bodamer

Demo

Administering ArcGIS for Server with Python

Page 11: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop |

Thank you…

• Please fill out the session survey:

Offering ID: 1734

Online – www.esri.com/ucsessionsurveys

Administering ArcGIS for Server with Python

Page 12: Administering ArcGIS for Server with Python

Esri UC 2014 | Technical Workshop | Administering ArcGIS for Server with Python