Estimate access to bus stops

Before you can perform an analysis, you need to create a map and add data to it. You'll start by adding data from the City of Cape Town to a map.

Open a blank map

First, you'll open a blank web map in Map Viewer.

  1. Sign in to your ArcGIS organizational account.
    Note:

    If you don't have an organizational account, see options for software access.

  2. On the ribbon, click Map.

    The Map tab

    A map opens with the Topographic basemap.

    A blank map

Add data to the map

Next, you'll search for and add data to your map. First, you'll add a layer representing the bus stops in Cape Town.

  1. If necessary, on the Contents (dark) toolbar, click Layers. In the Layers pane, click Add.

    Click the Add button.

    The Add layer pane appears.

    The Add layer pane

  2. From the My content drop-down menu, choose Living Atlas.

    Choose Living Atlas.

    To find curated data from around the world, ArcGIS Living Atlas of the World is a repository of data that's available for you to add to your maps. You'll search for data pertaining to bus stops and Cape Town's population.

  3. In the search box, type MyCiti Bus Stops.

    Search for MyCiti Bus Stops.

    The City of Cape Town's dataset for bus stops, Integrated rapid transit (IRT) system MyCiTi Bus Stops, appears.

  4. For the Integrated rapid transit (IRT) system MyCiTi Bus Stops feature layer, click the Add button.

    Click the Add button.

    The layer is added to the map.

    Map with bus stops

    Now, you'll add a dataset representing the local administrative boundaries. It contains a population count for the city that you'll need during analysis later.

  5. In the search box, clear the previous search and type South Africa Municipality Boundaries.
  6. Find the South Africa Municipality Boundaries layer and click Add.

    Click the Add button.

    The South Africa Municipality Boundaries layer is added to the map.

    The municipal boundaries on the map

    Now that you've added all the necessary data to your map for analysis, you'll turn off the boundaries layer until you need it later for analysis.

  7. In the Add layer pane, click the Back button.

    Click the Back button.

  8. In the Layers pane, point to the South Africa Municipality Boundaries layer and click the Visibility button to turn it off.

    Turn off the South Africa Municipality Boundaries layer.

    Next, you'll rename the Integrated rapid transit (IRT) system MyCiTi Bus Stops layer.

  9. For the Integrated rapid transit (IRT) system MyCiTi Bus Stops layer, click the Options button. Choose Rename.

    Choose Rename.

  10. For Title, type Bus Stops. Click OK.

    Change the Title to Bus Stops.

    Next, you'll save your map.

  11. On the Contents (dark) toolbar, click Save and open. Choose Save as.

    Click Save as.

    The Save map window appears. You'll give your map a name.

  12. In the Save map window, for Title, type Access to Public Transit.

    The Title parameter

  13. Click Save.

    The map is saved as an item in your ArcGIS account.

Buffer the bus stops

Now that you have the bus stop locations on your map, you're almost ready to better understand the population within 2 kilometers of those bus stops. However, you need a polygon layer that represents the 2 kilometer area. To create this area, you'll use the Create Buffers tool.

Note:

Sustainable Development Goal 11.2.1 does not specifically define a distance for "convenient access." Therefore, a distance of 2 kilometers has been chosen for this example workflow. This value may vary based on a study area's context, such as terrain.

Additionally, the Create Buffers tool does not take into account potential barriers, such as rivers or highways. For a more robust access workflow, see Spatial approaches to determine accessibility.

  1. On the Settings (light) toolbar, click Analysis.

    Click the Analysis button.

    The Analysis pane appears.

  2. Click Tools.

    Choose Tools.

    A list of analysis tool categories appears.

  3. Expand Use proximity and click Create Buffers.

    Click Create Buffers.

    The Create Buffers pane appears. You'll use this tool to create a 2-kilometer buffer around each bus stop.

  4. In the Input features section, for Input layer, click Layer.

    The Input layer parameter

    The Select layer window appears, showing a list of layers that are in the map. You'll choose the layer for your bus stops.

  5. In the Select layer window, click the Bus Stops layer.

    Choose Bus Stops.

    The Input layer parameter is updated with the layer you chose. There are 955 bus stops in this dataset.

    The updated Input features section

    Next, you'll set the distance for the buffers. You'll use a distance of 2 kilometers.

  6. In the Buffer settings section, for Distance values, type 2. Click Add.

    The Distance values parameter

    Next, you'll set the unit of measurement.

  7. For Units, choose Kilometers.

    The Units parameter

    Now, you'll set the Overlap policy. Since many of the bus stops are close to each other, their 2-kilometer buffers will overlap. To remove the overlap in the buffers, you'll have the tool dissolve the boundaries of the individual bus stop buffers.

  8. For Overlap policy, choose Dissolve.

    The Overlap policy parameter

  9. In the Result layer section, for Output name, type Bus Stop Buffer.

    The Output name parameter

    Before running the tool, you'll calculate the number of credits that this tool will use. The number of credits used varies by tool and the number of input features.

    Note:

    To learn more about credits, see Credits by capability.

  10. Click Estimate credits.

    Click Estimate credits.

    The tool will consume 0.955, or less than 1, credits.

  11. Click Run.
    Note:

    The tool may take a minute or two to complete.

    The result layer, Bus Stop Buffer, is added to the map.

    A map with the Bus Stop Buffer layer

Enrich the buffered area

Now that you know the area within 2 kilometers of the bus stops, you need to determine the total population within this area. To do this, you'll use the Enrich tool.

Note:

To learn more about the Enrich tool, read about Esri demographics.

  1. In the Create Buffers pane, click the Back button.
  2. In the Tools pane, expand Enrich data and click Enrich Layer.

    Choose Enrich Layer.

    First, you'll choose the layer that you want to enrich.

  3. In the Features to enrich section, under Input features, click Layer.
  4. In the Select layer window, choose Bus Stop Buffer.

    Next, you'll pick the variable for population.

  5. In the Enrichment data section, under Enrichment variables, click Variable.

    Click the Variable button.

    The Data Browser window appears.

    The Data Browser window

    You can search for variables of interest. You'll add a variable for the total population.

  6. Click Population.

    Choose Population.

  7. Under Choose a Popular Variable, check the box next to 2023 Total Population.

    Select the 2023 Total Population variable.

  8. Click Select.
    Note:

    For this tutorial, you only selected the 2023 Total Population variable. However, there are hundreds of additional variables that you can choose when using the Enrich Layer tool. If you select additional variables, this consumes additional credits.

    Next, you'll give your output layer a name.

  9. In the Enrich Layer pane, in the Result layer section, for Output name, type Bus Access Population.

    The Output name parameter

    Before you run the tool, you'll estimate the number of credits that will be used.

  10. Click Estimate credits.

    The tool will use 0.01 credits.

  11. Click Run.
    Note:

    The tool may take a minute or two to complete.

    When the tool finishes, the Bus Access Population layer is added to the map.

    The map with the Bus Access Population layer

    Although this layer looks similar to the buffer layer you created, the Bus Access Population layer has an estimate of the population living within its boundaries.

Calculate the percentage of the population near bus stops

You're now ready to calculate the percentage of the population that lives within 2 kilometers of a bus stop. You'll divide the population calculated using the Enrich Layer tool by the total population of the city and multiply it by 100.

  1. In the Layers pane, turn off the Bus Stop Buffer and Bus Stops layers.

    The only layer visible in the map is the Bus Access Population layer.

  2. In the map, click the Bus Access Population layer.

    The pop-up window appears.

    The Bus Access Population layer's pop-up window

    The value for the 2023 Total Population, calculated by the Enrich Layer tool, is 1,445,727. Next, you'll find the population for Cape Town.

  3. In the Layers pane, turn off the Bus Access Population layer. Turn on the South Africa Municipality Boundaries layer.
  4. In the map, click inside the City of Cape Town polygon.

    Click the City of Cape Town polygon.

    The pop-up window appears.

    The City of Cape Town layer's pop-up window

    The total population for the city is 4,601,583.

    Note:

    To learn more about the municipalities' dataset, read about South Africa regional data.

    Ideally, when performing calculations, you want the population data to be from the same year. However, this is not always possible. In this case, the enriched population data is from 2023 and Cape Town's population count is from 2021.

    Now that you know the population count for the areas close to bus stops and for the entire city, these numbers can be divided to determine the percentage of the population living close to bus stops.

  5. Using a calculator, divide 1,445,727 by 4,601,583. Then, multiply it by 100.

    The percentage of the population living within 2 kilometers of a bus stop is 31.4 percent. Conversely, this means that 68.6 percent of the population lives more than 2 kilometers from the nearest bus stop. Knowing this information helps urban planners better understand how much of the local population can or cannot access bus stops as a means of public transportation. These calculations can help guide future planning efforts.

    Finally, you'll save your map.

  6. On the Contents (dark) toolbar, click Save and open. Choose Save.

    Save your map.

In this tutorial, you analyzed geographic data to better understand bus stop distribution for Cape Town and for SDG 11.2.1. You added bus stop locations to a map and created a 2-kilometer buffer around those locations. Finally, you estimated the percentage of the population that lives close to a bus stop using the Enrich Layer tool.

To continue learning about SDG 11.2.1 and the bus stops in Cape Town, see the tutorial Analyze bus stop distribution.

You can find more tutorials in the tutorial gallery.