A Step-by-Step Guide to Creating Your Cookbook

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

Transcript of A Step-by-Step Guide to Creating Your Cookbook

Page 1: A Step-by-Step Guide to Creating Your Cookbook

Esri UC 2014 | Technical Workshop |

Administering ArcGIS for Server with Python Jon Bodamer

Page 2: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

Esri UC 2014 | Technical Workshop |

Add File

• URL to operation in REST API

Administering ArcGIS for Server with Python

Page 6: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

Esri UC 2014 | Technical Workshop |

Submit Analysis Job

• URL to operation in REST API

Administering ArcGIS for Server with Python

Page 8: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

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

Jon Bodamer

Demo

Administering ArcGIS for Server with Python

Page 11: A Step-by-Step Guide to Creating Your Cookbook

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: A Step-by-Step Guide to Creating Your Cookbook

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