Download presentation
Presentation is loading. Please wait.
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 Script or model is scanned Data identified
The Publishing Process Script or model is scanned Data identified If in the datastore, Data identified If NOT in the datastore Package Workspace is created (data is copied to this location
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 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?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.