0

Is there a way to upload new, custom data to an ArcGIS Portal instance from Python?

In essence, I want to programmatically execute the steps involved in adding new GeoJSON content via the web-interface, but do everything from within a python script.

The context is that I'm doing analysis in Python on one machine, generating results, and want to upload that data as a feature layer to the GIS system.

I cannot use arcpy.

asked Mar 30, 2020 at 19:47

1 Answer 1

1

Yes. Make use of the ArcGIS Python API. It works with both ArcGIS Online and ArcGIS Portal. It does not require ArcGIS Pro/ArcMap to be installed. Just Python 3.x

See this example, Automate loading data into the ArcGIS Online cloud using ArcGIS API for Python, which seems to do exactly what you want.

answered Mar 30, 2020 at 23:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.