Select to view content in your preferred language

Question About Neighborhood parameter of FocalStatistic Tools Vs Geoprocessing Services

321
1
04-16-2026 10:21 PM
WoraminSat
Emerging Contributor

I would like a suggestion about Neighborhood parameterof Focal Statistics Tools.

In the left image, this is the tool in ArcGIS Pro. Neighborhood parameter act as dynamic parameter when changing type (Rectanagle , Circle , etc.) 

But in the right image, this is from geoprocessing services. Neighborhood parameter act as string parameter and very hard to input.

The question are

1. Can we change parameter type of geoprocessing services to be the same as tool in ArcGIS Pro?

2. Is there any document that can give an example how user can input Neighborhood?

 

Thanks

Woramin S.

0 Kudos
1 Reply
Robert_LeClair
Esri Esteemed Contributor

Here's what I learned from studying the internals:

"Those dropdowns are part of ArcGIS Pro’s tool UI, not part of what a geoprocessing service can describe to clients.

When you publish Focal Statistics to ArcGIS Server/Enterprise as a web tool, the service exposes parameters through the REST “GP” interface using supported server-side parameter data types. During publishing, some Pro parameter types (or composite/specialized UI controls) may be converted to simpler types (often a string), and the service metadata does not include Pro’s neighborhood “chooser” definitions—so the Server “Geoprocessing Service Directory” (and many clients) can only show a basic input box, not Pro-style dropdowns/widgets.

Esri notes this generally as: some parameter data types are not supported in geoprocessing services and can be dropped or become GPString after publishing; you can verify what your parameter became by checking the task’s REST endpoint (“Task Information”).
Input and output parameters—ArcGIS Pro

If you want dropdown behavior for the service, you typically implement it in the client UI (web app or custom Pro add-in) and pass the correctly formatted neighborhood value to the service."

Hope this helps!

0 Kudos