Python script as a Geoprocessing service

515
1
01-15-2019 05:52 AM
GrantHaynes
Occasional Contributor

Hi everyone,

I have a python toolbox tool I want to use as a geoprocessing service, its a pretty simple script, it goes through a folder of rasters and extracts values at each one according to x and ys provided by the client. I want the extracted values returned to the client, but I'm a little lost on what needs to be done on the script side to achieve that. Is arcGIS Server smart enough to take any output and convert it into a javascript object to be returned to the client? Do I need a specific output type for the server to convert it into a javascript object?

0 Kudos
1 Reply
SimonSuo1
Esri Contributor

Check out about what inputs and outputs data types are supported. If you are using Pro to author the tool, see Input and output parameters—ArcGIS Pro | ArcGIS Desktop , for ArcMap, see Overview of geoprocessing task settings—Documentation | ArcGIS Enterprise  take a look at the table of content to the left for supported data types.

0 Kudos