Glen Bambrick

The ItemProperties Class with the ArcGIS API for Python for ArcGIS Online or Portal

Table of Contents Introduction The ArcGIS API for Python as of version 2.1.0.3 added Dataclasses for adding and updating items. These were ItemProperties, CreateServiceParameter, SpatialFilter, and ViewLayerDefParameter. In this post we will assess the ItemProperties class. The item_properties dictionary The usual way to use item properties is to create a dictionary of key-value pairs. add() …

The ItemProperties Class with the ArcGIS API for Python for ArcGIS Online or Portal 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 »

Sorting Records in ArcGIS Pro Using Multiple Fields with a Basic License

Table of Contents Introduction The most common approach to creating a Feature Class or Table sorted by a particular field(s) is using the Sort tool in the Data Management toolbox. If you read the documentation for this tool you can see a note that sorting by multiple fields is only available with an Advanced license. If you only had access to a Basic or Standard license there was a struggle to …

Sorting Records in ArcGIS Pro Using Multiple Fields with a Basic License 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 »

Discuss the Differences Between Geographical Information Systems and Geographical Information Science

Table of Contents Introduction I was digging through some material from my MSc in Geocomputation from Maynooth University and came across this exam question. The MSc was fantastic. We had access to the brains of Chris Brunsdon the late Martin Charlton, two of the three people (Stewart Fotheringham, another stalwart in geospatial statistics was the …

Discuss the Differences Between Geographical Information Systems and Geographical Information Science Read More »

Ungroup ArcGIS Online WebMap Layers from a Group Layer using the ArcGIS API for Python

Table of Contents Introduction The ArcGIS API for Python is a powerful Python library that allows users to interact with and automate tasks in ArcGIS Online (or Portal). The API is excellent for programmatically creating, maintaining, and updating webmaps and feature layers in ArcGIS Online. In this post we will focus on updating a webmap …

Ungroup ArcGIS Online WebMap Layers from a Group Layer using the ArcGIS API for Python Read More »