To continue getting familiar with ArcGIS Pro, in
this article we will discuss how the Model Builder
is introduced in the new interface.
We will consider an example quite
simple: With the INSEE (200m) statistical rectangles data, we will
create
buffer zones around a site every 500m.
Basic data is presented as follows:
The star indicates the site location,
the squares correspond to the population Insee ( downloadable
on the INSEE website ) data.
Where can you find Model Builder?
You will find the Model Builder button
in the ANALYSIS tab of the ribbon :
The
ribbon changes to show Model Builder’s control buttons and a new view is added
: Model
From here , you will
work quite similarly as you have, already, done with ArcMap.
How to create the model
In the geoprocessing window ,
click-move the chosen
tool , towards the Model view.
To add a data source , as always
you will click and drag the data source of the legend window
to
the model window.
What changes: how to
connect the model elements
Compared to the ArcMap Model Builder , where you
have
a Selection tool and a Connection tool, here you
have
a single SELECT button.
If
you click and release on an item, you select it.
If
you click and move the mouse to
another item, you connect them.
How to add an iterator
To add the iterator that will allow
us to calculate the different buffer sizes , click the
Iterators button on the ribbon . Select the
FOR iterator .
Double
click to open the FOR setting window:
Once filled and closed , the
iterator depicts a colour , so it is ready for use .
By clicking and dragging VALUE to
the
Buffer tool , the login window opens . Select “Distance”
to indicate that it is this parameter
that
will be provided by the For Loop.
The model is almost
ready. It remains to modify the output name of the Buffer
command file so that each iteration produces
a separated file.
We use the online replacement variable: In the output
file name we add VALUE surrounded by characters ‘%’.
When running the model , this chain
is
replaced
by
the current value of VALUE.
How to execute the
model
To run the model just click on the RUN button
tape. A tracking window
opens
:
How to save the
model
This is easier than when
using ArcMap. Each
ArcGis
Pro project has a default toolbox vacuum.
If
you click SAVE in the ribbon , your model
is
saved
directly
in
this
toolbox.
If
you want to save in
a
specific Toolkit , click SAVE AS
Point to the desired box.
Lastly, we click on the MAP
view and load the layers produced by the model: