Introduction to ArcGIS Pro (Part 6): Running analyses

It’s time to do what we have been waiting for (well I have at least!). In this part, we are going to run our analyses and find out which offices fit our requirements. If you cannot remember from back part one, they were the following:

  1. An office actually exists at the location, e.g. there is an empty office building.
  2. The office is located in the central district of Amsterdam.
  3.  The office has stations close by (250 meters) so it is easy for employees to get to work.
  4. The office has a park close by (250 meters) so that employees have the ability to enjoy their lunch outside.

How to run our analyses

We will do our analyses in a specific order.

  1. First, we will create buffers with a certain distance around parks and stations so that we can see which areas lie within these buffers (e.g. in a certain range of parks and stations).
  2. We can then intersect (find which areas lie within both buffers) these buffers to see which areas are located within the range of both stations and parks.
  3. Third, we need to remove those areas that do not lie within the central district of Amsterdam.
  4. Finally, we need to find out which offices are located in the final areas.

That should do the trick. Let us go through this together. It is not as hard as it might sound! If you are confused, I will explain things while going through this task.

Creating Buffers

It is time to create our two buffers.

Buffering Stations

  1. On the ribbon open the Analysis tab. Click on Buffer in the Tools group. Alternatively, you can click Tools to open the Geoprocessing Pane where you can search for buffer.
  2. The buffer tool will open in the geoprocessing pane. Now, we want to select which features are being used as input. In this case, this is our stations layers. For input features select TRAMMETRO_STATIONS.
  3. Let the output features class be as ArcGIS Pro suggests.
  4. Now we need to input how great the buffer distance is. As discussed before, this is 1000 meters in case of stations since we do not like walking too much to our tram or metro. So, for distance write 250 and Meters as the linear unit. Leave the rest of the fields as is. The fields should look like this:

    Filled in fields of buffer tool

    Filled in fields of buffer tool

  5. Press Run.
  6. The resulting layer should automatically be added to your map.

    Buffer results for stations

    Buffer results for stations

Buffering Parks

  1. Let’s do the same for parks. Your buffer tool is probably still open. If not, reopen it using the instruction from before. As input feature, select PARKS.
  2. Make sure the output feature class is set to PARKS_Buffer. You probably do not want to change the directory though.
  3. Press Run, and another layer gets added to your map. It should look like this:

    Park buffer results

    Park buffer results

Intersecting our buffer layers

That is it for our buffers. Now we need to use the intersect tool. This is because we are only interested in areas which lie both within 250 meters of parks, and 250 meters of stations. That is why we want to combine our previous buffer layers and intersect them so we get one remaining layer which only shows areas fulfilling both conditions. The process of doing this will feels very familiar.

  1. For input features, select both buffer layers from the previous steps. Unless you renamed them these are called PARKS_Buffer, and TRAMMETRO_STATIONS_Buffer. 
  2. Change the output feature class name to Buffer_Intercept. Make sure you only change the file name, but not the local database it is saved in.
  3. Leave the rest as is. Your intersect tool pane should look like this:

    Intersect tool inputs

    Intersect tool inputs

  4. Press Run.
  5. The result should look similar to below.

    Intersect tool result

    Intersect tool result

We are getting close now. All we need to do limit our results to the central district, followed by finding which offices are located within these resulting areas.

Clipping our intersect layer

We have found areas that are both close to parks and stations. But we are only interested in those areas that are located within the central district. Luckily, we have used definition queries before on our district layer so that it only shows us the central district. We can use this layer to clip our intersect layer.

  1. Open the Clip tool pane, found on the Analysis tab.
  2. Set the input features equal to Buffer_Intercept.
  3. Set the clip features equal to DISTRICTS. 
  4. You can keep the output feature class as default. Buffer_Intercept_Clip is alright since it is just an intermediate result. XY Tolerance as fine as is.
  5. Press Run. The result will look similar to this:

    Intersect results clipped to central district

    Intersect results clipped to central district

Select layer by location

All that is left is selecting those offices that are within the suitable areas. We can do this in different ways, but here we will use the Select layer by location tool. We will simply use it to see which office points are located within the Buffer_Intercept_Clip layer from before. Let’s get started.

  1. On the Analysis tab, click Tools.
  2. Insert select layer by location in the text field, and press Enter to search for the tool. Select it in the results.
  3. As input feature layer select EMPTY_BUILDINGS.
  4. For relationship select Within.
  5. Finally, select Buffer_intercept_Clip as selecting features.
  6. Make sure that the selection type is set to New selection. In contrast to the previous tools, the result of running this tool is a selection of features in the EMPTY_BUILDINGS layer, instead of a new layer.
  7. Press Run.

    Select layer by location inputs

    Select layer by location inputs

  8. In the bottom right you can see that 4 features are selected. If you open the EMPTY_OFFICES attribute table (right click layer, select Attribute table) you can see these four. In addition, you can see the four markers being select on the map. We would like to save these final four offices as a new layer.Right-click the EMPTY_OFFICES layer, hover over selection, and press Make layer from selection. 

    Make layer from selection option

    Make layer from selection option

  9. This has created a new layer that is automatically added to the map (EMPTY_BUILDINGS selection). Turn off any buffer layers, and the old EMPTY_OFFICES layer so that your map is less cluttered. If you open the EMPTY_BUILDINGS selection’s attribute table you can see the four chosen offices listed.

    The final four offices meeting our requirements

    The final four offices meeting our requirements

Conclusion

And that’s it! We found four offices meeting our requirements. We went from a dataset with all sorts of buildings, filtered out 166 offices, and then finally found 4 offices that we are interested in with the help of several analyses. Great job! I hope you learned a lot while doing this, and let me know what you liked and what you did not like.

Final project file

Please follow and like me:

1 Comment

  1. Hello ,

    I saw your tweet about animals and thought I will check your website. I like it!

    I love pets. I have two beautiful thai cats called Tammy(female) and Yommo(male). Yommo is 1 year older than Tommy. He acts like a bigger brother for her. 🙂
    I have even created an Instagram account for them ( https://www.instagram.com/tayo_home/ ) and probably soon they will have more followers than me (kinda funny).

    I have subscribed to your newsletter. 🙂

    Keep up the good work on your blog.

    Regards
    Wiki

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2018 Jasper Alblas

Theme by Anders NorénUp ↑