Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the Desktopdouble-click the Computer icon > gisdata (\\file-rnas.rice.edu) (R:) > Short_Courses > Mapping_Geographic_Distributions.
  2. To create a personal copy of the tutorial data, drag the XYGeographicDistribution folder onto the Desktop.
  3. Close all windows.

...

Info
titleTutorial Data Download
XY.zip

 

  1. Click XYGeographicDistribution.zip above to download the tutorial data.
  2. Open the Downloads folder.
  3. Right-click XYGeographicDistribution.zip and select Extract All....
  4. In the 'Extract Compressed (Zipped) Folders' window, accept the default location into the Downloads folder and click Extract.
  5. Drag the unzipped XY folder onto your Desktop.
  6. Close all windows.

...

Measuring Geographic Distributions in ArcGIS Pro

Exploring the Data

First, you will explore the XY data for this exercise that is contained in an Excel file.

  1. On the Desktop, double-click the XY folder.
  2. Double-click Coordinates_ClimateProtectionAgreementMayors.xls to open the file with Excel.

This Excel worksheet provides a list of cities whose mayors signed the U.S. Conference of Mayors Climate Protection Agreement as of September 12, 2011. This list was obtained from the Climate Protection Center website at http://www.usmayors.org/climateprotection/list.asp. Notice that the worksheet also contains the latitude and longitude of the cities in decimal degrees.

  1. Close Excel.

Displaying XY Data

Now that you have examined the tabular data in Excel, it is time to display the XY data of city locations on a map.

Opening an Existing Project

  1. Within the GeographicDistributionaWithin the XY folder, double-click the XYGeographicDistribution.aprx project file to open the project in ArcGIS Pro.

Central Feature

Sometimes if you want to dig into your spatial dataset, say, find the pattern, or measure the distribution, then the following statistical methods using the ArcGIS tools may work like a charm.

...

In this tutorial, we will use the year of 1790, 1870 and 2010 of the States’ Population as the weighting, and we can see the population changing trend across the states.

1790

  1. On the right side of the Map Window, in the Catalog pane, double-click expand the Databases folder. Double-click the GeographicDistributionData geodatabase to expand it.
  2. Expand the GeographicDistribution.
  3. Right-click Drag the USStatesPopTimeline feature class into the Map Displayand select Add to New Map.
  4. In the Contents pane to the left of the Map Window, right-click the USStatesPopTimeline layer and select Attribute Table.

Now you can see that this table has the population data from year 1790 to 2010 (every 10 years) for the total 51states.

...

  1. In the Analysis tab, click the Tools button. In the Geoprocessing pane to the right of the Map Window, search for ‘Central Feature’. Select Central Feature (Spatial Statistics Tools).
  2. For the ‘Input Feature Class’ drop-down menu, select USStatesPopTimeline.
  3. Click the Brows button next to the ‘Output Feature Class’ menu. Make sure that the file is in the GeographicDistributionData geodatabase and name it USStatesPopTimeline_CentralFeature_1790.
  4. In ‘Weight Field,’ select Pop1790.
  5. Leave other fields as default.
  6. Ensure your Geoprocessing pane appears as shown below. Select Run.

...

1870

As the Geoprocessing pane doesn’t reset after the tool is complete, it is easy to rerun tools.

  1. For ‘Output Feature Class’, rename the layer ‘USStatesPopTimeline_CentralFeature_1870’.
  2. In ‘Weight Field,’ select Pop1870.
  3. Leave other fields as default.
  4. Ensure your Central Feature window appears as shown below. Select Run.

 

...

2010

  1. In ‘Weight Field,’ select Pop2010.
  2. For ‘Output Feature Class’, rename the layer ‘USStatesPopTimeline_CentralFeature_2010’.
  3. Leave other fields as default.
  4. Ensure your Central Feature window appears as shown below. Select Run.

 

The Central Feature tool is useful for finding the center when you want to minimize distance (Euclidean or Manhattan distance). If you open the attribute table of each outcome, we could see that from the year of 1790, 1870 to 2010. The center moved from Maryland to Ohio to Illinois.

 

Mean Center

The mean center is the average x and y coordinate of all the features in the study area. It's useful for tracking changes in the distribution or for comparing the distributions of different types of features.

1790

  1. In the Geoprocessing pane, click the Back Arrow. In the search bar, search for ‘Mean Center’. Select Mean Center (Spatial Statistics Tools).
  2. For the ‘Input Feature Class’ drop-down menu, select USStatesPopTimeline.
  3. In ‘Output Feature Class,’ rename the layer ‘USStatesPopTimeline_MeanCenter_1790’.
  4. In ‘Weight Field,’ select Pop1790.
  5. Leave other fields as default.
  6. Ensure your Geoprocessing pane appears as shown below. Select Run.

...

The Mean Center tool creates a new point feature class where each feature represents a mean center (one for each case when a case field is specified). The x and y mean center values, case, and mean dimension field are included as output feature attributes.

Unlike the Central Feature tool, the Mean Center tool pinpoints the specific point which could show the centralization of all states’ population in the year of 1790.

Standard Distance

You may hear of the standard deviation within a dataset, but if you want to measure the compactness of a distribution in a map, the following tool would come as handy.

1790

  1. In the Geoprocessing pane, click the Back Arrow. In the search bar, search for ‘Standard Distance’. Select Standard Distance (Spatial Statistics Tools).
  2. For the ‘Input Feature Class’ drop-down menu, select USStatesPopTimeline.
  3. In ‘Output Feature Class’, rename the layer ‘USStatesPopTimeline_StandardDistance_1790’.
  4. In the ‘Circle Size’ drop-down menu, leave it as 1 standard deviation.
  5. In ‘Weight Field,’ select Pop1790.
  6. Leave other fields as default.
  7. Ensure your Standard Distance window appears as shown below. Select Run.

 

2010

  1. Rename the ‘Output Feature Class’ menu ‘USStatesPopTimeline_StandardDistance_2010’.
  2. In ‘Weight Field,’ select Pop2010.
  3. Leave other fields as default.
  4. Ensure your Standard Distance window appears as shown below. Select Run.

...

From the output, we can see comparing to 1790, the population distribution of 2010 become less compact.

Directional Distribution (Standard Deviational Ellipse)

Besides the compactness of the distribution, we can choose to find the directional trend, which calculate the standard distance separately in the x and y directions. These two measures define the axes of an ellipse encompassing the distribution of features, which is referred to as the standard deviational ellipse. The ellipse allows you to see if the distribution of features is elongated and hence has a particular orientation.

1790-1SD

  1. In the Geoprocessing pane, click the Back Arrow. In the search bar, search for ‘Directional Distribution. Select Directional Distribution (Standard Deviational Ellipse) (Spatial Statistics Tools).
  2. For the ‘Input Feature Class’ drop-down menu, select USStatesPopTimeline.
  3. In ‘Output Feature Class’, rename the layer ‘USStatesPopTimeline_DirectionalDistribution1_1790’.
  4. In the ‘Circle Size’ drop-down menu, leave it as 1 standard deviation.
  5. In ‘Weight Field,’ select Pop1790.
  6. Leave other fields as default.
  7. Ensure your Standard Distance window appears as shown below. Select Run.

...

1790-2SD

  1. In the ‘Ellipse Size’ drop-down menu, change to 2 standard deviations.
  2. In ‘Weight Field,’ make sure Pop1790 is selected.
  3. Leave other fields as default.
  4. Ensure your Directional Distribution window appears as shown below. Select Run.

...

2010-1SD

  1. Rename the ‘Output Feature Class’ ‘USStatesPopTimeline_DirectionalDistribution1_2010’.
  2. In ‘Ellipse Size’, select 1 standard deviation.
  3. In ‘Weight Field,’ select Pop2010.
  4. Leave other fields as default.
  5. Ensure your Directional Distribution window appears as shown below. Press OK.

...

2010-2SD

  1. Rename the ‘Output Feature Class’ ‘USStatesPopTimeline_DirectionalDistribution2_2010’.
  2. In ‘Ellipse Size,’ change to 2 standard deviations.
  3. In ‘Weight Field,’ select Pop2010.
  4. Leave other fields as default.
  5. Ensure your Directional Distribution window appears as shown below. Press OK.

 

You can see that the trend from the population distribution of 1790 to 2010.

...

The trend for a set of line features is measured by calculating the average angle of the lines. The statistic used to calculate the trend is known as the directional mean. The Linear Directional Mean tool lets you calculate the mean direction or the mean orientation for a set of line. 

  1. Click the X on the top right corner of the Geoprocessing pane.
  2. In the Catalog pane, expand the Databases folder, and expand the GeographicDistributionData geodatabase. Drag the InnerLoopRoadsDissolved and the HoustonFreewaysDissolved feature classes into the Map Display.
  3. In the Contents pane, right-click on the InnerLoopRoadsDissolved layer and click Zoom to Layer.
  4. In the Analysis tab, click on the Tools button. In the Geoprocessing search bar, search for ‘Linear Directional Mean’. Select Linear Directional Mean (Spatial Statistics Tools).
  5. For the ‘Input Feature Class’ drop-down menu, select InnerLoopRoadsDissolved.
  6. In ‘Output Feature Class’, rename it ‘innerLoopRoadsDissolved_DirectionalMean’.
  7. Leave other fields as default.
  8. Ensure your Linear Directional Mean pane appears as shown below. Select Run.

...

  1. Click the X on the top right corner of the Geoprocessing pane.
  2. In the Catalog pane, expand the Databases folder, and expand the GeographicDistributionData geodatabase. Drag the RiceTrees, RiceTreesCedarElm, and the RiceTreesMediterraneanCypress feature classes into the Map Display.
  3. In the Contents pane, right-click on the RiceTrees layer and click Zoom to Layer.
  4. In the Analysis tab, click on the Tools button. In the Geoprocessing search bar, search for ‘Directional Distribution’. Select Directional Distribution (Standard Deviational Ellipse) (Spatial Statistics Tools).
  5. For the ‘Input Feature Class’ drop-down menu, select RiceTrees.
  6. In ‘Output Feature Class’, rename it ‘RiceTrees_DirectionalDistribution’.
  7. In ‘Standard Deviation,’ leave as 1 standard deviation.
  8. Leave other fields as default.
  9. Ensure your Directional Distribution window appears as shown below. Select Run.

 

CedarElm

  1. For the ‘Input Feature Class’ drop-down menu, select RiceTreesCedarElm.
  2. In ‘Output Feature Class’, rename it ‘RiceTreesCedarElm_DirectionalDistribution’.
  3. In ‘Standard Deviation,’ leave as 1 standard deviation.
  4. Leave other fields as default.
  5. Ensure your Directional Distribution pane appears as shown below. Select Run.

...

Mediterranean Cypress

  1. For the ‘Input Feature Class’ drop-down menu, select RiceTreesMediterraneanCypress.
  2. In ‘Output Feature Class’, rename it ‘RiceTreesMediterraneanCypress_DirectionalDistribution’.
  3. In ‘Standard Deviation,’ leave as 1 standard deviation.
  4. Leave other fields as default.
  5. Ensure your Directional Distribution pane appears as shown below. Select Run.

...