Create a GIS map application that execute Python script on a selected area

444
2
10-06-2023 05:42 AM
Rakefet
New Contributor II

Hi all,

I would like to create a map application with one widget that will allow the user to select an area on the map ( by drawing a rectangle) and another widget that will launch a dialog form where the extends of the rectangle will be populated in the dialog. Executing the dialog will display the results on the map.

I already created a custom arcGIS tool that does that but I want users that do not have an access to arcGIS to be able to use the tool.

is there any example that I can get some ideas how to do so?

 

thanks

 

0 Kudos
2 Replies
BlakeTerhune
MVP Regular Contributor

I think you would first create a Python Toolbox or Script Tool with your script, then host it as a geoprocessing service. Once hosted, you can use it in your web app.

I see there is also a Web Tool in Portal that might be an option outside of a web app.

0 Kudos
Rakefet
New Contributor II

Thank you. I'll try to go this route. See how it will play out.

0 Kudos