data management

Add/Update Feature Layer Filter in ArcGIS Online with the ArcGIS API For Python

We are going to look at how we update/apply a filter for a layer in a WebMap in ArcGIS Online using the ArcGIS API for Python. The commented codeblock below will achieve this. from arcgis.gis import GIS from arcgis.mapping import WebMap ## access AGOL agol = GIS(“home”) ## access the WebMap Item wm_item = agol.content.get(“WebMap_Item_ID”) …

Add/Update Feature Layer Filter in ArcGIS Online with the ArcGIS API For Python Read More »

Export ArcGIS Online Layer to Feature Class Without Attachments using the ArcGIS API for Python

Today’s blog post is inspired by a question posed on Esri Communities. The question asks how to export hosted feature layers using only the ArcGIS API for Python, and specifically states not to use ArcPy. The usual method to extract data from ArcGIS Online is to export an item (a feature service) to a file …

Export ArcGIS Online Layer to Feature Class Without Attachments using the ArcGIS API for Python Read More »

Retrieving Domain Information from ArcGIS Online with the ArcGIS API for Python

The ArcGIS API for Python has a query_domains() method for a Feature Layer Collection object. A Feature Layer Collection object represents a Feature Service. In previous versions of the documentation it stated that this method was only available for Portal (Enterprise), but this has since been removed (in 2.2.0.1). Calling the query_domains() method on a …

Retrieving Domain Information from ArcGIS Online with the ArcGIS API for Python Read More »

Delete Identical Geometries based on OID with ArcPy & ArcGIS Pro

Why create this workflow… Every week I put time towards answering questions on three main platforms; GIS StackExchange, Esri Communities, and Reddit. I go under the alias Clubdebambos on each of them. This week I helped g3odood on Reddit who was looking to remove duplicate records based on geometry, but needed to keep the records …

Delete Identical Geometries based on OID with ArcPy & ArcGIS Pro Read More »

Add Table from Hosted Service to Another and Create Relationship in ArcGIS Online using the ArcGIS API for Python

Data can often be provided as a Shapefile with an accompanying file containing the attribute information, or surplus attributes to compliment those in the Shapefile, such as a CSV for example. This is the case for Census Data in Ireland, provided by the Central Statistics Office (CSO), results are available in CSV format and can be related to various boundary types in …

Add Table from Hosted Service to Another and Create Relationship in ArcGIS Online using the ArcGIS API for Python Read More »

Extracting from an ArcGIS Online Feature Service to a File Geodatabase

In this blog post we will assess the options for extracting layers and tables from an ArcGIS Online Feature Service to Feature Classes and Tables in a File Geodatabase. We will use ArcPy, the ArcGIS API for Python, and a combination of both. If you are interested in learning ArcPy, then check out this course! …

Extracting from an ArcGIS Online Feature Service to a File Geodatabase Read More »

ArcGIS Pro Definition Query Masterclass with ArcPy & Python: Udemy Course

Unleash the full potential of Definition Queries as you dive deep into their intricacies! Gain a profound understanding of Definition Queries and their pivotal role in data visualization and analysis within ArcGIS Pro. Explore their benefits in creating efficient maps and managing data seamlessly. Our course, ArcGIS Pro Definition Query Masterclass with ArcPy & Python, …

ArcGIS Pro Definition Query Masterclass with ArcPy & Python: Udemy Course Read More »

Using the Search Cursor Spatial Filter Parameter with ArcPy

ArcGIS Pro 3.2 added three new parameters to the Search Cursor (and Update Cursor) with ArcPy. These parameters are named spatial_filter, spatial_relationship, and search_order. Here, we will discuss the first two. The search_order parameter can only be used with an enterprise geodatabase. Check out the documentation here. As of ArcGIS Pro 3.2, the latest syntax …

Using the Search Cursor Spatial Filter Parameter with ArcPy Read More »

ArcPy for Data Management and Geoprocessing with ArcGIS Pro: Udemy Course

Unlock the Power of ArcPy: Elevate Your GIS Skills with Data Management and Geoprocessing in ArcGIS Pro! Are you ready to take your GIS skills to the next level? Dive into the world of ArcPy with our comprehensive course, “ArcPy for Data Management and Geoprocessing with ArcGIS Pro.” This isn’t just another course—it’s your ticket …

ArcPy for Data Management and Geoprocessing with ArcGIS Pro: Udemy Course Read More »