Posts

Utility Network Tracing with the ArcGIS Maps SDK for JavaScript and Python

This post explains the utility network concepts you need before writing trace code, then runs traces three ways: the ArcGIS Maps SDK for JavaScript 5.2 ( UtilityNetwork.trace() and the REST trace() function), the ArcGIS API for Python 2.4.4 ( UtilityNetworkManager ), and arcpy ( arcpy.un.Trace ). The TypeScript type-checks against @arcgis/core@5.2.9 , and the Python method signatures match the published packages and documentation. Core concepts A trace fails or returns nonsense when one of these concepts is misread, so it pays to get them straight first. Domain network. One commodity, such as electric distribution, gas or water. A utility network has one or more domain networks plus a structure network that holds poles, vaults and other supporting features. Each domain network has its own device, junction, line and subnetline classes. Each feature has an asset group and an asset type, which the rules refer to. Tier. A level in the network hierarchy inside a domain network, for...

Upgrading the ArcGIS Maps SDK for JavaScript from 4.33 to 5.2

This post walks through upgrading an ArcGIS Maps SDK for JavaScript application from 4.33 to 5.2.9, the current release, covering what was removed, what is only deprecated, and the code change for each. The TypeScript before snippets type-check against @arcgis/core@4.33 and the after snippets against @arcgis/core@5.2.9 with @arcgis/map-components@5.2.9 . Which versions you are crossing The releases between your code and the target are 4.33 (June 2025), 4.34 (October 2025), 5.0 (February 2026), 5.1 (June 2026) and 5.2 (November 2026). Since 5.0 the SDK uses semantic versioning: breaking changes only land in major releases, and minor releases add features and deprecations. The release notes for 5.1 and 5.2 have no breaking-changes section. Apart from a few beta APIs, your real work is in 4.34 and 5.0. Plan for the next step too. The 5.2 notes call it the last release with widgets and with the popup and default UI on MapView , SceneView and LinkChartView . Version 6.0 (Q1 2027) remo...

GeoAI in Action Across GIS Platforms: ArcGIS, Open-Source Python, Earth Engine and QGIS

This post runs one kind of job, getting buildings and land cover out of imagery, on four platforms: ArcGIS Pro with the ArcGIS API for Python, open-source Python (TorchGeo and segment-geospatial), Google Earth Engine, and QGIS. You get code for each, an honest note on what each one is good at, a sourced list of the AI assistants these platforms ship today, and a comparison table. The pipeline is the same everywhere GeoAI pipeline: imagery to features, by platform 1. Imagery orthophoto, satellite 2. Model pretrained or trained 3. Inference class raster / masks 4. Features vectorise and clean Stage ArcGIS Pro own imagery, Living Atlas Living Atlas .dlpk, arcgis.learn arcpy.ia / arcpy.geoai GeoAI post- processing TorchGeo own GeoTIFF, benchmark sets U-Net + pretrained weights Lightning task (PyTorch) rasterio, then GDAL or QGIS samgeo (SAM 3) own GeoTIFF SAM 3, text prompt generate_masks raster_to_vector Earth Engine Earth Engine cat...

Linear Referencing in ArcGIS with Python: Routes, Measures, Events and the LRS REST API

This post covers linear referencing in ArcGIS from a developer's side: the concepts you need (routes, measures, calibration points, events, time and networks), Python that calls the LRS REST operations with requests , and ArcPy that builds routes and places events. It also says which parts need the paid extension and which are in every ArcGIS Pro license. First, the product names Older articles and forum posts mention ArcGIS Roads and Highways and ArcGIS Pipeline Referencing. These were two industry versions of one engine, ArcGIS Location Referencing. The ArcGIS Pro 3.8 "What's new" page says the two were merged into one extension named ArcGIS Linear Referencing . At 3.8 the Location Referencing tab on the ribbon became the Linear Referencing tab, and the tools in the Location Referencing toolbox moved into the Linear Referencing toolbox. For scripts, that move changes the namespace. Before 3.8 the extension tools were called as arcpy.locref.AppendEvents , arcpy...

Exploring 3D Volumes with VoxelLayer in the ArcGIS Maps SDK for JavaScript 5.2

In this post we load a voxel scene layer with the ArcGIS Maps SDK for JavaScript 5.2, list its variables, switch the displayed variable, cut into the volume with slices and dynamic sections, draw an isosurface, and read voxel values through popups and hit tests. The problem Volumetric data (ocean temperature and salinity, geological subsurface models, atmospheric measurements, space-time cubes) does not fit into features. Every cell of a 3D grid has a value, often for several variables at once. The questions people ask are about the inside of the volume: where salinity crosses a threshold, what lies under a construction site, how a layer of clay runs between two boreholes. The VoxelLayer class has been in the SDK since 4.22 and is built for exactly this. The code below targets @arcgis/core 5.2.9 with the <arcgis-scene> component, and it type-checks under strict TypeScript. Requirements before you start Local scene. The VoxelLayer reference says the layer is visualize...