ArcPy

Using ArcPy to Allow Assignment of Unique Numeric IDs for Sharing Web Layers in ArcGIS Pro

Table of Contents Introduction The Cartographic Information Model (CIM) is a map content specification for cartographic descriptions of GIS datasets and Project components in ArcGIS Pro. Essentially, it is the JSON that represents specifications for maps, scenes, layouts, layers, symbols, and styles in ArcGIS Pro. The best way to view these JSON specification is to save …

Using ArcPy to Allow Assignment of Unique Numeric IDs for Sharing Web Layers in ArcGIS Pro Read More »

Publish a Hosted Feature Service to ArcGIS Online from ArcGIS Pro using ArcPy

Table of Contents Introduction In this post we will provide the code to use ArcPy to access an APRX, select a Map, and publish the layer contents of that Map to ArcGIS Online as a Hosted Feature Service. Import the ArcPy module ArcPy is a Python site package that enables automation, analysis, and management of …

Publish a Hosted Feature Service to ArcGIS Online from ArcGIS Pro using ArcPy Read More »

Course: ArcPy for Data Management and Geoprocessing with ArcGIS Pro 3.X

Table of Contents Students Enrolled Course Duration 10 Hours + Course Category ArcPy Course Level Beginner Course Price Go to course Course Introduction ArcPy is a fantastic ally for all your daily ArcGIS Pro tasks. This course will initially focus on using ArcPy for data management. Data management is often one of the most overlooked …

Course: ArcPy for Data Management and Geoprocessing with ArcGIS Pro 3.X Read More »

Course: ArcGIS Pro Definition Query Masterclass with ArcPy and Python

Table of Contents Students Enrolled Course Duration 2 Hours + Course Category ArcPy Course Level Beginner Course Price Go to course Course Introduction Unlock the power of Definition Queries in ArcGIS Pro through this comprehensive course that dives deep into the intricacies of managing and utilizing definition queries with spatial data using ArcPy and Python …

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

Polygon to Line (Data Management) on a Basic License with ArcPy

Table of Contents Introduction The Polygon to Line (Data Management) tool is only available in ArcGIS Pro with an Advanced license. You can check out the Esri documentation for this tool here. For now, we will omit the optional identifying neighbouring information and will revisit in the future. A little about this tool; for each input …

Polygon to Line (Data Management) on a Basic License with ArcPy Read More »

Sort (Data Management) on a Basic License with ArcPy

Table of Contents Introduction The Sort (Data Management) tool has limited functionality on a Basic and Standard licence, you can only sort by one field and cannot use a spatial sort. We saw in this blog post how we can use the Export Features (Conversion) tool to sort a feature class or table by multiple fields, unfortunately …

Sort (Data Management) on a Basic License with ArcPy Read More »

Create Chainage Ticks Along a Line Using ArcPy and ArcGIS Pro

Table of Contents Introduction This became a pet project of mine back in 2017 where I first implemented using open source geospatial Python modules, osgeo and shapely. I then converted the workflow to ArcPy before Esri had brought out the Generate Points Along Lines tool. This third iteration of the workflow uses the Generate Points Along Lines tool …

Create Chainage Ticks Along a Line Using ArcPy and ArcGIS Pro Read More »

Feature Envelope to Polygon (Data Management) on a Basic Licence with ArcPy

Table of Contents Introduction Not the most fanciest of tools but another one none-the-less that you can by-pass the Advanced license requirement and create your own tool using ArcPy. The Feature Envelope To Polygon (Data Management) is only available in ArcGIS Pro with an Advanced license. You can achieve quite similar to this tool using …

Feature Envelope to Polygon (Data Management) on a Basic Licence with ArcPy Read More »

Extend the Functionality of the Table to Excel tool in ArcGIS Pro with ArcPy

Table of Contents Introduction The Table to Excel tool from the Conversion toolbox is a stalwart amongst Geoprocessing tools but it does have its limitations, namely; you cannot subset the records directly with the tool itself, you cannot subset the columns to be exported and the order that you want them in the spreadsheet, and you cannot sort the …

Extend the Functionality of the Table to Excel tool in ArcGIS Pro with ArcPy Read More »

Delete Records in ArcGIS Pro with Identical Geometries based on OID with ArcPy

Table of Contents Introduction 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 from the duplicate groups that had the …

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