1. Introduction

1.1 Problem Statement

Air quality modelers often need geographic data and spatial surrogate computation in generating emission and other spatial input data. Geographic information systems (GIS) can be used in processing, displaying, analyzing, and generating any geographic data needed. However, the use of GIS has created a number of challenges for air quality modelers because GIS systems are generally very expensive and have complex programs with steep learning curves. Currently, most of geographic data needed in air quality modeling are generated in GIS by GIS experts. To address these challenges, the Multimedia Integrated Modeling System (MIMS) Spatial Allocator has been developed to bridge the gap between emission modelers and GIS experts by providing a free, easy-to-use, portable suite of utilities for spatial surrogate computation, BELD3 landuse data, point in grid conversion, or other data spatial allocation, spatial data overlay, spatial Shapefile selection (filtering), map projection conversion, and other spatial analyses.

The MIMS Spatial Allocator is licensed as open-source software and provided at no cost because its development was sponsored by NOAA and EPA. The Spatial Allocator uses GIS industry standard ESRI shapefiles and plain text data files for input and output data. The Spatial Allocator utilities are written in the highly portable C and C++ programming language. The surrogate tools used to run the utilities for all surrogate computation and quality assurance summary tables are written in the Sun Java language. The current release provides binaries for RedHat Linux and Windows. In addition to the supported operating systems, the Spatial Allocator can easily be adapted to run on almost any UNIX-based operating system, as source code is provided.

The Spatial Allocator consists of seven programs. The first four programs listed below are primary programs, while the other three are secondary programs used for data file comparison and format conversion.

In addition, five Java-based tools for generating and processing spatial surrogates are available in the SurrogateTools.jar file. The tools provide a more user-friendly way to use the Spatial Allocator for computing surrogates from shapefiles, merging existing surrogate data, or gapfilling surrogate data using data from other surrogates without creating system scripts files. The tools also provide quality summary capability for all surrogates generated and surrogate normalization program for any county with surrogates not summed to 1.0. All tools require Java 1.5 or later version.

More information on obtaining the programs, running example scripts for each of these programs and utilities, and using Java tools can be found in the section entitled Using the software on the main contents page.

1.2 Project Objectives

The following were the objectives of the MIMS Spatial Allocator development projects:
  1. Develop software that (a) reads geospatial data (polygons, lines, and points with attributes that serve as weights in latitude-longitude or projected coordinates) and a description of target polygons (possibly on a different map projection and Earth ellipsoid); (b) allocates the input data to the target polygons based on weighted spatial overlap of the input data and target polygons; and (c) outputs the results (e.g., to generate surrogates to be used as inputs to the Sparse Matrix Operator Kernel Emissions [SMOKE] modeling system)
     
  2. Develop a machine-independent Java surrogate tools which calls the MIMS Spatial Allocator utilities internally without script files for users to compute one or more surrogates in a single run based on simple csv and text input files and summarize the computed surrogates for quality assurance.
     
  3. Develop an automated test suite to test the spatial allocation software's capabilities and report whether or not the program is functioning properly, and if not, what problems were encountered. The results of the software should be verified against a commercial GIS (e.g., MapInfo Professional or ArcGIS).
     
  4. Demonstrate the use of the spatial allocation software to prepare surface water cover, railroads, airports, and housing type information for use by SMOKE (i.e., surrogates).
     
  5. Support incremental development by providing an interface that allows additional data readers and writers to be added in a reasonably simple way. The programmer's guide provides some documentation on how to develop a custom reader/writer.

1.3 Credits

The MIMS Spatial Allocator was developed by members of the Institute for the Environment at the University of North Carolina at Chapel Hill (http://www.ie.unc.edu/), some of whom were formerly associated with MCNC. The development and continued maintenance of this software has been sponsored by the EPA Office of Research and Development. The first version of the Spatial Allocator software was developed in 2002-2003 to provide a tool for performing emission surrogate generation and other types of spatial allocation without requiring users to have a GIS. Initial releases of the software took place in March 2003 and December 2003. A project to update the tool with new features was sponsored in 2004-2005, with a first release of the updated tool in January 2005 and another release in April 2006. A complete history of revisions is available here.

This document includes instructions for the current release of the software and serves as a user's guide for the Spatial Allocator. An older user's guide [ PDF][MS Word] is available that offers a different view of the software and was developed independently of this user's guide; it has not been updated to include any of the enhancements made during late 2005 or 2006.


To Section 2: Background on Shapefiles and Surrogates.