1 / 28

Best Practice for Geoprocessing Service

Best Practice for Geoprocessing Service. Nathan Smith Harvey Jing. Overview. What is a Geoprocessing Service Input Process Demo 1: Common Geoprocessing Troubleshooting Output Demo 2: Output Model Parameter Question Time. Geoprocessing Service. What is a Geoprocessing Service?.

cterry
Download Presentation

Best Practice for Geoprocessing Service

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Best Practice for Geoprocessing Service Nathan Smith Harvey Jing

  2. Overview • What is a Geoprocessing Service • Input • Process • Demo 1: Common Geoprocessing Troubleshooting • Output • Demo 2: Output Model Parameter • Question Time

  3. Geoprocessing Service • What is a Geoprocessing Service?

  4. Input • Input data type

  5. Input • Input mode • - Constant value • - Choice list • - User defined value

  6. Input mode

  7. Input mode Constant value

  8. Input mode Choice list

  9. Input mode User defined value

  10. Input mode REST

  11. Process • ArcMap and ArcGIS for Server have to be the same version • - Documentation says if you're publishing a geoprocessing service, the ArcGIS for Desktop and ArcGIS for Server versions must match. • - The task won’t show up if the version doesn’t match

  12. Process The Publishing Process • Script or model is scanned • Data identified • If NOT in the datastore • Package Workspace is created (data is copied to this location • If in the datastore, • Data identified

  13. Process Message Level of GP service - None - Error - Warning - Info

  14. Process Message Level - None

  15. Process Message Level - Info

  16. Process • Execution mode • - Synchronous (less than five seconds) • - Asynchronous

  17. Process Execution mode • Synchronous

  18. Process Execution mode • Asynchronous

  19. Process • Search error code in resource center

  20. Process • Search error code in resource center

  21. Demo Best Practices - Troubleshooting

  22. Output Like input, there are different data types for output parameters http://server.arcgis.com/en/server/10.3/publish-services/linux/output-task-parameters.htm

  23. Output Output must be a model parameter Demo

  24. Output

  25. Output

  26. Output Exceeded transfer limit

  27. Output Set your output to be in scratchGDB or scratchFolder In a python script, use os.path.join(arcpy.env.scratchGDB, “points”) scratchGDB is created in …\arcgisserver\directories\arcgisjobs\<name>_gpserver\<jobid>\scratch

  28. Questions?

More Related