Solve a spatial problem

Open and save the map

Start by opening Map Viewer and searching for layers to use in your analysis.

  1. Sign in to your ArcGIS Enterprise portal using a named user account.
  2. Click Map on the toolbar to open Map Viewer.
  3. In Map Viewer, for Add, click the drop-down arrow and choose Browse layers.

    Browse layers

  4. In the Add layer pane, for My content, click the drop-down menu and choose ArcGIS Online. In the Search dialog box, type or copy and paste Nassella owner:Learn_ArcGIS and press Enter. For the Nassella Tussock Ranges result by Learn_ArcGIS created on December 1, 2023, click the Add button.

    Add NassellaTussockRanges layer

    Map Viewer opens to New Zealand.

  5. Once the layer is added, click the back arrow to return to the Layers pane.
  6. Zoom to the campground features clustered in the Marlborough Region, if necessary.

    Commercial campgrounds are displayed, along with the known distribution of Nassella tussock. The Nassella Tussock Range layer does not represent the density of the plant at a given location. A marked area may be heavily infested or it may have only scattered plants.

  7. On the Contents (dark) toolbar, click Save and open and choose Save as.

    Save map

    Note:

    At the bottom of each toolbar, you can click the Expand button to display the name of the button, rather than just the icon. The steps in this tutorial show the toolbars collapsed, or without their names displayed.

  8. Rename the map Nassella Tussock Range and add your name or initials at the end.

    Using your name in the title will ensure that the map title is unique in your organization.

  9. Click Save.

Explore the Analysis pane

To carry out the analysis, you'll run tools from the Analysis pane. First, you'll see how these tools are organized in Map Viewer.

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

    Analysis button on the Settings toolbar

    Note:

    If you do not see the Analysis button in Map Viewer, contact your ArcGIS administrator. You may not have the privileges required to perform analysis.

    Learn more about licensing requirements for spatial analysis.

    The Analysis pane appears. From the Home tab, you can access Tools or History. The Tools tab lists all available analysis tools, and the History tab tracks which spatial analysis tools have been run in a web map, including successful and unsuccessful runs.

  2. Click Tools.

    Click the Tools button.

    The tools are grouped into categories based on the type of analysis they perform. The Summarize data tools are displayed by default.

  3. Point to the Summarize Nearby tool.

    A pop-up message provides a description of the tool.

    Summarize nearby pop-up

    The Summarize Nearby tool calculates statistics for features within a specified distance of other features. You will use it to calculate how much Nassella tussock lies near campgrounds.

    In this section, you opened a web map and explored an analysis tool that you will use. Next, you will use the tool to summarize Nassella tussock near campgrounds.

Quantify Nassella tussock near campgrounds

You want to find out how much Nassella tussock lies near campgrounds. Why does that matter? For public education, it may be useful to provide campgrounds with a bulletin on whether Nassella tussock has been found in the area, and, if it has been found, whether or not it is widespread. For researchers, a quantitative measurement is a baseline for comparison in coming years.

  1. In the Tools pane, click the Summarize Nearby tool.

    Summarize Nearby tool

    One of the functions of Summarize Nearby is to calculate how much area from one layer falls within a distance of another layer—this is what you want to do for your analysis. The first parameter is the features that will be summarized. The second parameter determines the feature around which the distance will be calculated.

  2. In the Summarize Nearby tool, enter the following parameters:
    • For Input features, click Layer and choose Nassella Tussock Ranges - Nassella Tussock Range.
    • For Nearby layer, click Layer and choose Nassella Tussock Ranges - Commercial Campgrounds.
    • For Measurement type, ensure Line distance is selected.
    • For Measurement values, type 1.5 and for Units, choose Kilometers.
  3. Ensure Return output as bounding areas is checked.

    Bounding areas parameters

    You can also choose to calculate statistics for the input layer. In this case, you'll summarize the area of Nassella tussock that is found within 1.5 kilometers of each campground.

  4. In the Calculate statistics group, ensure Include summarized geometry of features is enabled.
  5. Change Summarized area units to Hectares.

    Calculate statistics parameters

    A hectare is a metric unit of area equal to 10,000 square meters or roughly two and a half acres.

  6. In the Result layer group, change Output name to Tussock_Near_Campgrounds followed by your name or initials.
  7. Click Run.

    When the tool completes successfully, the Tussock_Near_Campgrounds layer appears on the map.

    Result layer showing the summarized area of Nassella tussock for each campground

    The features are symbolized with graduated colors, showing campgrounds with the least Nassella tussock in beige and campgrounds with the most Nassella tussock in dark purple. In the next section, you will change the style of the symbols to make them more visible.

Update the map symbols

You ran the Summarize Nearby tool to calculate the total area containing Nassella tussock plants within 1.5 kilometers of a campground. Next, you will update the symbol style and filter the results.

  1. If necessary, on the Contents toolbar, click the Layers button to open the Layers pane.
  2. Click the Tussock_Near_Campgrounds layer to select it.
  3. On the Settings toolbar, click Properties.

    Properties button

  4. In the Appearance section, for Transparency, drag the slider all the way to left to set it to 0.

    Transparency set to 0

  5. On the Settings toolbar, click the Effects button and click Drop shadow to enable it.

    Enable Drop shadow.

    All the campground summaries are symbolized, but you know from viewing the Nassella Tussock Range layer that the campgrounds don't all have Nassella tussock growing near them. You'll filter the layer to show only campgrounds with the invasive weed.

  6. On the Settings toolbar, click the Filter button and click Add expression.

    Filter pane

  7. For Expression, click the Name drop-down menu and choose Summarized Area in Hectares.

    Replace the Name field.

  8. Click the second drop-down menu and choose is greater than.

    Choose is greater than.

  9. For the box containing the numeric value, delete the existing number and type 0.

    Filter expression

    The full expression now reads Summarized Area in Hectares is greater than 0.

  10. Click Save to save the filter.

    The beige features are removed from the map. You will also turn off the Commercial Campgrounds layer.

  11. Expand the Nassella Tussock Ranges layer. For Commercial Campgrounds, click Visibility to turn off the layer.
    Visibility

    The campground locations are removed from the map.

    Map with campgrounds removed

  12. In the Layers pane, for Tussock_Near_Campgrounds, click Options and choose Show table.

    The table appears.

    Show table option

    The table appears, showing the records for the layer.

    Attribute table

    Because you set a filter on the layer, only the four campgrounds with Nassella tussock are shown.

    Note:

    If more than four records are shown in the table, it may mean the Filter pane has reopened. Click Save or close the filter pane to view the table with the filter applied.

    The Summarized area in Hectares field shows the total area of Nassella tussock within each campground range. The largest area of Nassella tussock is at the Awatere Settlers Motor Camp, where there are more than 83 hectares. The smallest area of Nassella tussock overlaps the Blenheim TOP 10 Holiday Park and has approximately 0.25 hectares. Keep in mind that the Nassella Tussock Range layer represents areas in which the plant has been found, not the actual plant density.

  13. Close the table and save the map.

Visualize analysis results

Next, you will showcase the results of the analysis using a bar chart.

  1. If necessary, in the Layers pane, click the Tussock_Near_Campgrounds layer to select it.
  2. On the Settings toolbar, click Configure charts.

    Configure charts button

  3. In the Charts pane, click Add chart and choose Bar chart.

    Add a bar chart.

    The Data pane appears where you can configure the chart.

  4. For Category, choose Name.

    The chart updates to show the campground name on the x-axis and the count of features on the y-axis. You will update the chart so it uses the summarized area of Nassella tussock on the y-axis.

  5. For Numeric fields, click Select numeric fields and choose Summarized Area in Hectares.

    Select the Summarized Area in Hectares field.

  6. Click Done.

    The bar chart updates to show the total area of Nassella tussock near each campground.

  7. In the Data pane, enable Show data labels.

    Show data labels

    The labels appear on top of each bar.

    Chart labels

  8. Click the Series tab.

    Series tab

    The Series tab includes configurations for multiple series and the chart style.

  9. Under Series, click Summarized Area in Hectare.

    Select a field for the series.

    The Series style pane appears.

  10. Enter the hex value B966BD and close the Series style pane.
  11. Click the Axes tab.

    Axes tab

    The Axes tab includes configurations for the x-axis and y-axis.

    The default character limit for the x-axis labels is 11, which is lower than the number of characters in all of the campground names. You will increase the limit so the full names are displayed.

  12. Under X-axis, for Label character limit, change the limit to 30.

    Label character limit

    The x-axis updates to display the full campground names.

    Full campground name displayed in axis label.

    You will also update the configuration for decimal places in y-axis labels.

  13. Under Y-axis, for Decimal places, type 2.

    Now less decimal places display for the numeric values. The chart is currently showing the default title and axis labels. You'll update them to something more informative.

  14. Click the General tab.

    General tab

    The General tab includes configurations for the titles and legends on the chart.

  15. For Chart title, replace the default title with Nassella Tussock Near Commercial Campgrounds.

    The chart title updates.

    Updated title

  16. Update the axis titles as follows:
    • For X-axis title, type Campground name.
    • For Y-axis title, type Range of plant in hectares.

    Updated axis titles

  17. Save the map.

In 25 minutes, you found publicly available data, calculated the total area of Nassella tussock within each campground range, and displayed the results in a bar chart. What's next?

You can find more tutorials in the tutorial gallery.

Perform a similar analysis to solve the Nassella tussock problem using the powerful geoprocessing tools in ArcGIS Pro.