Interpolate values

Open, save, and explore a map of Thailand

In this section, you'll open a map, save a copy, and explore the layers you'll use to predict air quality in Thailand.

  1. Open the Interpolate air quality values map.

    A map with three layers and a basemap, centered on Thailand, appears.

    Map of current air quality in Thailand

    Note:

    The Recent Conditions in Air Quality (World) and Recent Conditions in Air Quality (Thailand) layers are updated regularly. This means the maps you see that include these layers will look different from the images in this tutorial. The layers you see will reflect the most recent data.

    Next, you'll sign into your ArcGIS Online account.

  2. On the ribbon, click Sign In and sign in to your ArcGIS account.
    Note:

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

    Next, you'll save a copy of the map.

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

    Choose Save as.

  4. In the Save map window, click Save.

    Save map window filled in

    Now, you'll investigate the data to be used for interpolation. The item details page contains information about the layer's data source.

  5. On the Contents (dark) toolbar, click Layers. Select the Recent Conditions in Air Quality (World) layer.

    Select Recent Conditions in Air Quality (World).

    When a layer is selected, a blue bar appears next to its name.

    The Properties pane appears.

    Properties pane

  6. In the Properties pane, expand Information. Under Source Layer, click OpenAQ Recent Conditions in Air Quality / Recent Conditions in Air Quality (World).

    Click Recent Conditions in Air Quality / Recent Conditions in Air Quality (World).

    A web browser tab opens with details about the OpenAQ Recent Conditions in Air Quality (World) layer.

    Item details

  7. Click OpenAQ Recent Conditions in Air Quality.

    Click Recent Conditions in Air Quality.

    The Recent Conditions in Air Quality page provides information about how this data is collected and how frequently it is updated. For analysis purposes, it is important to know that some air quality readings from this table can be up to 30 days old.

  8. Close the browser tab for the OpenAQ Recent Conditions in Air Quality (World) layer.

    Next, you'll look at the data for air quality globally by using a bookmark. Bookmarks allow you to move to specific saved extents of a map.

  9. On the Contents (dark) toolbar, click Bookmarks. Choose World.

    Bookmarks

    The map extent changes to show the world.

    Look at the map and note in which countries air quality data points appear. Do most countries have data points or only some countries? For the countries that have data points, are they distributed evenly? Why would this matter if you plan to use interpolation?

  10. From the navigation tools, choose Default map view.

    Default map view

    The map extent changes to center on Thailand again.

    Next, you'll explore the legend to better understand the air quality symbology.

  11. On the Contents (dark) toolbar, click Legend.

    Legend

    Review the legend to understand the symbols on the map. If a point has a darker color and a larger symbol, this indicates that there are more air pollutants recorded and poorer air quality at that location. If a point has a lighter color and a smaller symbol, this means that there are fewer air pollutants and better air quality.

    While you could use all of the data points in the Recent Conditions in Air Quality (World) layer to predict the air quality in Thailand, you'll use a filtered dataset to focus on only the points in Thailand.

  12. On the Contents (dark) toolbar, click Layers. Turn off Visibility for the Recent Conditions in Air Quality (World) layer and turn on Visibility for the Recent Conditions Air Quality (Thailand) layer.

    Layers pane

    Now, you'll only see the air quality monitoring stations in Thailand.

    Air quality monitoring stations in Thailand

  13. For the Recent Conditions Air Quality (Thailand) layer, click the Options button and choose Rename.

    Rename option

  14. For Title, type Air Quality (Thailand) and click OK.

    Renamed layer

    Next, you'll review the air quality data for Thailand that'll be used for analysis.

  15. For the Air Quality (Thailand) layer, click Options and choose Show table.

    Show table option

    The attribute table appears.

    Air Quality (Thailand) attribute table

    The Value - mass concentration attribute is the air quality reading that was recorded at each point on the map. Higher values indicate that there are more pollutants in the air; this could potentially be harmful to human health over time. You'll use these readings at known locations to estimate the air quality at other locations on the map that do not have an air quality monitoring station.

    Note:

    The number of records, or rows, in this table may vary depending on the availability of data from the air quality monitoring stations.

  16. Close the Air Quality (Thailand) attribute table.

    Close the attribute table.

Interpolate air pollution patterns

Now, you'll create a continuous air quality layer for Thailand.

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

    Tools

  2. Expand Analyze Patterns. Choose Interpolate Points.

    Expand Analyze patterns

    Next, you'll chose the layer to use for interpolation. It'll be the Air Quality (Thailand) layer.

  3. Under Input layers, for Input points, click Layer. Choose Air Quality (Thailand). Ensure that Field to interpolate is set to Value - mass concentration.

    Input layers

    You only want air quality results for Thailand, so you'll use the Thailand Boundary layer to restrict the tool's output to this country.

  4. Under Input layers, expand Optional layers. Click Layer and choose Thailand Boundary.

    Clipping polygons

    Next, you'll configure the output results. You'll have the tool break your data into ten classes. You'll also set the classification type. This lets you choose how the range of air quality values for each class will be calculated.

  5. Under Interpolation settings, ensure that Classification type is set to Geometric interval and the Number of classes is set to 10.

    Interpolation settings

    The results will be put into ten classes. The Geometric interval method classifies data based on a geometric progression. It is useful for visualizing data that is not distributed normally, or when the distribution is highly skewed.

  6. Under Result layers, for Output features name type Continuous air quality followed by today's date and your name. Optionally, you can choose a folder to save your results.

    Continuous air quality layer name.

  7. Click Estimate credits to determine the number of credits that this tool will consume.

    Estimate credits button

    Running this tool for all of the air quality points in Thailand will consume less than one credit.

    Estimated credits

  8. Click Run.

    After a few moments, the layer of interpolated air quality across Thailand is added to the map.

    Map of air quality in Thailand

    Note:

    The Recent Conditions in Air Quality (Thailand) layer is updated regularly. This means the results of your analysis will look different from the images in this tutorial.

  9. In the Layers pane, turn off the Air Quality (Thailand) layer.

    Map of air quality in Thailand with the air quality points turned off

    The Continuous air quality layer includes the ten classes with each symbolized in a different color. The darker classes have higher air pollution values, meaning poorer air quality, while the lighter classes have lower air pollution values, meaning better air quality.

    Now, you'll explore the results of your interpolation analysis with map pop-ups.

  10. Click one of the colors to see the range of air quality predicted for that area.

    Map of air quality pop-up

    The pop-ups for this layer indicate the estimated range of air quality values between the Value_Min, the better air quality, and the Value_Max, the poorer air quality.

    How confident would you be about these predictions? Remember that the Interpolate Points tool can be used to find patterns, but it does not have the detail you would get if you measured the air quality at a specific location.

    Remember too, from reading the description of the data, that measurements up to 30 days old can be included in the air quality dataset. So, if there was a wildfire or other event that impacts air quality 27 days ago, and that was the most recent measurement from that sensor in Thailand, it would be included in the current data.

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

    Save your map.

In this tutorial, you used today's air quality data to create a continuous layer to show the pattern of air quality across Thailand based on a few known locations.

You can find more tutorials in the tutorial gallery.