From the course: Learning ArcGIS Python Scripting

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

The ArcGIS API for Python library: Getting to web GIS

The ArcGIS API for Python library: Getting to web GIS - ArcGIS Pro Tutorial

From the course: Learning ArcGIS Python Scripting

The ArcGIS API for Python library: Getting to web GIS

- [Instructor] This course focuses primarily on writing Python code to manage ArcGIS Pro projects and file-based GIS data. But I wanted to make sure that I can get you started on the ArcGIS API for Python too, in case you work mostly with web GIS. To get the full details of working with the ArcGIS API for Python, check out the ArcGIS for developer site. There's a lot out there, but I just want to give you the basics to get you started. For accessing ArcGIS with Python, we import ArcPy, but for web GIS, we import ArcGIS. All ArcGIS API For Python code starts with instantiating or creating the GIS object. The GIS object represents a connection to an online GIS, either an organizational ArcGIS online account or an enterprise ArcGIS portal. The ArcGIS library has several modules, GIS mapping, widgets, geo analytics, but we're going to focus on the GIS module. To connect a web GIS, you use the GIS method of the GIS module. So let me show you how that looks in code. First, I'm going to…

Contents