REDCAP

(Regionalization with Dynamically Constrained Agglomerative Clustering & Partitioning)

 

Diansheng Guo

Department of Geography

University of South Carolina

 

Overview

  • REDCAP is a toolkit for regionalization. It provides an integrated environment for the entire process of data loading, algorithm configuration, result visualization, interactive exploration, and file saving (for later use with ArcGIS).

Quick Start

  • Prepare Data Files
    • A ArcGIS shape file (including myfile.shp, myfile.dbf, etc.)
    • Open  myfile.dbf file with Excel and save it as myfile.csv (comma delimited file).
    • Note: it must use the same name with a csv extension.

 

  • Launch REDCAP
    • java –jar –Xmx1024m redcap.jar

 

  • Create Contiguity File
    • “Contiguity” >>> Choose either QUEEN or ROOK type
    • Load a shape file (myfile.shp)
    • Save the contiguity file when asked.

 

  • Load Data
    • File … Load Data …
    • Choose a shape file (myfile.shp)

 

  • Configure Variables
    • Select variable(s) in the list
    • Submit Variables
    • Set weights for variables (if there are more than 1 variable)
    • OK

 

  • Configure Regionalization Algorithm (See the snapshot below)
    • Load the contiguity file for the shape file
    • Choose a method from the drop down list (FULL-ORDER-CLK is recommended)
    • Choose a control field (e.g., the population of each region)
    • Set a control population threshold (e.g., region population >10,000,000)
      • (if no control is needed, use the default, which is “# features” and “0” for the two settings.)

o       Set the maximum number of regions

§         e.g., 10, which means the method will produce a hierarchy of 10 regions

§         Run

o       Click the “Run…” button and wait until it finishes.

o       Explore and save the result

 

 

References:

 

Guo, D. (2008). "Regionalization with Dynamically Constrained Agglomerative Clustering and Partitioning (REDCAP)". International Journal of Geographical Information Science. 22(7), pp. 801-823.

 

Guo, D., J. Chen, A. M. MacEachren, and K. Liao (2006), "A Visualization System for Spatio-Temporal and Multivariate Patterns (VIS-STAMP)", IEEE Transactions on Visualization and Computer Graphics, 12(6), pp. 1461-1474.

Top of Page

Control Panel

  • Here the user can load data, configure algorithm, and explore regionalization result.

 

Data Loading

  • The left panel allows the selection of variables and the right panel is for weighting variables.

 

Algorithm Configuration

  • Load Contiguity File (*.ctg): load the file that contains contiguity information among spatial objects. The file can be opened in any text editor for editing. Each record in the contiguity file has at least three fields: the first is a record identifier and the other two are place IDs, which are neighbors. Place ID is the record position (i.e., FID) in the shape file. For example, the first place in the shape file has an ID of “0”. The second place has an ID of “1”, and so on. The contiguity file in a CSV format but with an extension of “.ctg”.

 

  • Regionalization Method: select a method from the six options. For details about the methods, see above reference (Guo 2008).

 

  • Control Population: select the control variable and specifie the minimal value of the control variable per region.

 

  • Maximum of Regions: the number of regions that will be derived.

 

  • Run: start the regionalization process. For 3111 counties, it may take a minute to finish.

 

  • Save: save the regionalization result to a CSV file (with an extension of .rgn). This file can be joined back to the shape file in ArcGIS and create new shapes for regions.

 

Result Exploration

  • Unit Boundary: turn on / off the unit boundary (e.g., county boundaries) to better view region boundaries.

 

  • Region Boundary: turn on / off the region boundaries

 

  • Color: change the color of region boundaries

 

  • Number of regions to show: this drop down list allows the selection of different number of regions to be displayed in the Map. Once this list is selected, one can use the UP and DOWN arrows to “animate” the hierarchy.

Top of Page


Map Panel

·     It presents the base map and the regionalization result. One can select data items in the map. There three shortcuts to zoom in/out the map view:

o       CTRL + a mouse click: zoom out on the point clicked

o       SHIFT + a mouse click: zoom in on the point clicked

o       CTRL + SHIFT + a mouse click: return to the global view of all data items

 

Top of Page

SOM Panel

·     The Self-Organizing Map is only used for mapping multivariate data (i.e., multiple variables are used). For details please refer to the above reference (Guo, et al. 2006).

Top of Page

PCP Panel (An interactive “map legend”)

·     Selection mode: chooses the selection mode (normal, intersection, union, or indication)

·     Axis scaling: choose the scaling scheme of axes (nested means, data minmax, cell minmax, global minmax, or customized linear)

·     View: view clusters or data items.

·     Axis ordering: choose the ordering of axes (optimal or original). Only useful for multivariate data

 

 

 

Top of Page