Skip to content

Workflow for the automation of mapping results and exporting in ArcGIS Pro using Notebooks.

Notifications You must be signed in to change notification settings

AlbertGallegoJimenez/map-exporting-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

map-exporting-automation

Overview

This repository contains the necessary files and the description of the methodology followed for the automatization of mapping and exporting in ArcGIS Pro by using Notebooks.

So what framework has been used?

On the one hand, ArcGIS Pro software has been used to build the map template, while the code that automates the process of mapping and exporting in image files has been developed in the form of Jupyter Notebook. This is an easy and simple process as the ArcGIS Pro software integrates the use of Python codes in the form of notebooks in a very friendly way.

Contents of the repository

This repository is organized in two folders:

  • data folder where the code is stored in a notebook (.ipynb), as well as the other files used in this task.
  • images folder where the images of this readme file are stored.

Workflow description

First, let's make sure we have all the necessary files we're going to use:

The ArcGIS project is where the files are going to be uploaded. The Shapefile (using another spatial file also works, such as a File GDB) contains the data, distributed in fields, that we want to map. The Symbology file is an ArcGIS-specific file that contains instructions on how you want to represent the data (colours, labels, etc.) and is dependent on the geometry of the file. And finally, the Jupyter Notebook is where the code is written.

Then, we prepare the project with the map frame (in this case I also use another map frame, called "BaseMap" which is going to appear in the extent as a location map), the layout, and the notebook. In the table of contents you also need to have uploaded the layer (the shapefile) where the symbology file is to be applied.

If we look in detail the attribute table, we can see the fields we are going to map.

We have to bear in mind, which items of the layout extent are static and which are dynamic (those that are going to be updated on each loop).

Finally, we run the notebook (see here) and we get those kind of maps.

About

Workflow for the automation of mapping results and exporting in ArcGIS Pro using Notebooks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published