GeoProcessing Wizard

 

GeoProcessing is a way to create new data based on themes in your view. In most cases you will alter the geometric properties of the features in a dataset while controlling some aspects of how its attribute data is handled.


To reduce the extent of a theme:

clip one theme based on another
This process creates a new theme by using a polygon theme (or selected polygons in that theme) as a cookie cutter on a point, line, or polygon theme. The output theme will only contain data from the theme you're clipping--the theme used as a cookie cutter is only used to define the clipping boundary. You might use the boundary of your study area to clip a theme of roads or customers that extends over a much larger area. 

intersect two themes
This process is similar to clipping a theme, except it preserves only those features falling within the spatial extent common to both themes. The features of the input theme are intersected or sliced by the intersect theme. The attribute data from both themes are included in the new theme's attribute table. You could use of theme of flood zones to intersect a theme of land parcels. 
To combine features in one theme that are alike

dissolve features based on an attribute
Dissolving features in a theme coalesces adjacent features that have the same attribute value. You might dissolve a theme of U.S. census counties based on predominant political affiliation. This would remove boundaries between adjacent tracts with the same predominant political affiliation.
To combine features in two or more themes
union two themes
Union creates a new theme by combining two polygon themes. The new theme has data and shapes from both themes, including their intersection. In fact, union differs from intersect only by the fact that all the features of both themes are included in the resultant theme, including those features that did not overlap.

merge themes together
Using merge is similar to union--a new theme is created from multiple themes but their features are not intersected. Merge allows you to combine the features from two or more themes of the same geometric type. When you merge themes, you specify which theme has the same fields you want the new theme to have. If the other themes you're merging have more fields than the theme you have specified, those fields won't be in the new theme's table. If the other themes don't have the same fields as the theme you've specified, empty cells will be added to the new theme's table. You might merge several tiled county themes with census data to make a metropolitan area.

To use one theme’s data in another theme:


assign data by location
Assigning data by location uses a spatial relationship to join data from one theme to another theme. For example, a travel agency concerned about client safety might assign data from a theme of hotels in a major city to a theme of crime events. The hotel data would be added to the crime event data, along with the distance to the hotel nearest the crime event. As a result the hotels nearest the most crimes may not be recommended to the travel agency’s safety conscious clientele.

 

The GeoProcessing Wizard offers six geoprocessing options you can use to create or augment feature themes. 

Dissolve 

This process will dissolve features in one theme based on the value of an attribute you choose. Technically this is the same as showing the attribute table for a theme, then choosing to Summarize an attribute where you elect to merge shapes. 
Merge This process will create one theme that contains the features of two or more themes. The new theme will contain the fields of one of the input themes. If each of the other input themes have at least the same fields, then all cells in the new theme’s attribute table will be populated. If any of the other input themes have additional fields, that data will not be included. If any of the other input themes are missing the fields then no data will be added to those fields for the features of that other theme.

Clip 

This process creates a new Shapefile by overlaying the features of two themes. One of these themes must be a polygon theme (called the "overlay" theme) which will be used to define the clipping region. The clip process uses the clipping region as a cookie cutter. Only those features in the other theme (called the "input" theme) within the clipping region are stored in the new Shapefile. The features of the Input theme can be polygons, lines, or points. The features in the new Shapefile will be of the same type as the input theme’s features. The feature attribute table for the new Shapefile contains the same items as the input theme’s attribute table.

Intersect 

This process computes the geometric intersection of two themes and adds it to your view as a new theme. The overlay theme must be a polygon theme. Its features will split the input theme. Any features in the input theme that are not overlaid by features in the overlay theme will be ignored. Only the areas that are in common to the overlay and input themes will be included in the output theme. The input theme’s features can be polygons or lines. The output Shapefile’s features will be of the same type as the input theme features. The attribute table for the output Shapefile includes the attributes from the input and overlay theme.

Union 

The Union process creates a new theme by overlaying two polygon themes. The output theme contains the combined polygons and attributes of both themes. The polygons of the input theme are split at their intersection with polygons of the overlay theme. The feature attribute table for the output theme contains attributes from the input and overlay themes’ attribute tables.


Assign data by location 

The assign data by location operation will perform a spatial join between the two selected themes. A spatial join is similar to an attribute join; however it is based on the spatial relationship between the features in the two themes. For each feature represented in the destination table, ArcView looks to see if it has one of the following spatial relationships with any feature represented in the source table, and if it does, that feature's record from the source table is joined into the destination table:

 

You activate the GeoProcess Wizard by making the View active the clicking View - GeoProcessing Wizard

 

Dissolve Process

Use the Dissolve process when you want to remove boundaries or nodes between adjacent polygons or lines that have the same values for a specified attribute. For example, Dissolve could be used to create a theme showing sales regions by salesperson where each salesperson is responsible for several counties. Sales territories can be established by removing shared county boundaries from those counties represented by same salesperson. These territories can also include summaries of any additional attributes like total revenue.

This process can be accomplished using the Dissolve wizard. Counties.shp would be the dissolve theme and sales_person would be the attribute on which to dissolve. An output theme name should be specified as well or just use the default, disslv1.shp. The next step is to decide if additional fields (attributes) should be summarized in the output theme. For instance, revenue figures generated by each salesperson could be summarized as total revenue for each sales region.
Using Dissolve in the GeoProcessing wizard



Step 1
Select a theme to dissolve: Choose from the list of themes, which includes all feature themes in your view, the theme you want to dissolve.


Select an attribute to dissolve on: Choose the attribute from the selected theme containing the values you want to use to dissolve the theme’s features.


Specify the output file: Browse for or enter the shape filename that will be used to store the results of the dissolve operation.


Step 2
Choose one or more additional fields and operations to be included in the output file: You can choose to add one or more fields from your theme’s attribute table. These fields will be summarized as specified. To select more than one, or a range of themes and summary operations, use the Control or Shift keys in conjunction with your mouse click.

 

Merge Themes

Use the Merge process when you want to create a new theme containing two or more adjacent themes of the same shapefile type. For example, you may want to merge or append highway data delivered as a series of tiles. Merge allows you to append the data while maintaining the attributes contained in whichever shapefile you select.

 


Using Merge in the GeoProcessing wizard


Select themes to merge: 

Choose two or more themes that are of the same geometry type. The Finish button will not be enabled until you have two or more themes of the same type selected. You can use the Control and Shift keys in conjunction with your mouse click to select more than one or a range of themes.

Use Fields from: 

Choose the theme that contains the attributes you want to use in the theme that will result from this merge operation. If each of the other chosen themes have the same fields, then all cells in the attribute table of the merged theme will be populated. If any of the other input themes have additional fields, that data will not be included. If any of the other input themes are missing the fields, then no data will be added to those fields for the features of the selected theme.

Note: The dropdown list of available themes will not be activated until two or more themes of the same shapefile type have been selected for merging. To select more than one theme, you need to hold down the Shift key.


Specify the output file: Browse for or enter the shapefile name that will be used to store the results of the merge operation.

 

 

Clip Features

Use the clip operation when you want to cut out a piece of one theme using another theme as a "cookie cutter". For example, you may want to select a county boundary from your counties theme to extract the roads from your roads theme to create a new theme containing a smaller number of roads.
For this process you can use the Clip option in the GeoProcessing Wizard, but remember to first select the county polygons defining the clip area before starting the Clip wizard. Enter the roads data as the input theme and the county boundaries as the polygon overlay theme. The clipping theme is used as the "cookie cutter" to clip the roads. Then, check the "Use selected feature only" box to use the selected features as your clipping area. Then specify the output theme name or use the default name, clip1.shp.

 



Using Clip in the GeoProcessing wizard


Select input theme to clip: 

Choose from the list of themes, which includes all feature themes in your view, the theme you want to use as the input theme. The features of this theme will be clipped by the features of the overlay theme. You will see the number of features in this theme displayed once you select it.


Use selected features only: 

If the input theme has some selected features, you can check this box to use only the selected features in the clip operation.

Select a polygon overlay theme: 

Choose an overlay theme from the list of polygon themes. You will see the number of features in this theme displayed once you select it.


Use selected features only: 

If the overlay theme has some selected features, you can check this box to use only the selected features as the clip region.


Specify the output file: 

Browse for or enter the shapefile name that will be used to store the results of the clip operation. You may also choose to use the default output filename.

 

 

Intersect Two Themes

Use the Intersect process when you want to integrate two spatial data sets while preserving only those features falling within the spatial extent common to both themes. For example, suppose you are a builder and want to build a retirement center within the city boundaries. You will want to create a theme which assigns land use information (like building codes) to your parcel data so you can look for areas meeting the requirements for medium density multi-unit dwellings.
In this example, two themes are necessary. The input theme will contain the land use data and the intersect (overlay) theme will contain parcels information. 

The Intersect process computes the geometric intersection of the two themes and adds it to your view as a new theme named itsct.shp (by default). The input theme can be a line or polygon theme. The overlay theme must be a polygon theme. The overlay theme’s features will split the input theme. Any features in the input theme that are not overlaid by features in the overlay theme will not be added to the new theme. The output shapefile’s features will be of the same type as the input theme features. When intersecting features of the input theme with the polygons of the overlay theme, the attribute tables are also updated. The attribute table for the output shapefile includes the attributes from the input and overlay theme.

 



Using Intersect in the GeoProcessing wizard


Select input theme to intersect: 

Choose from the list of themes, which includes the polygon and line feature themes in your view, the theme you want to use as the input theme. The features of this theme will be intersected by the features of overlay theme. You will see the number of features in this theme displayed when you select it.


Use selected features only: 

If the input theme has some selected features, you can check this box to only use the selected features in the intersect operation.

Select the overlay theme: 

Choose an overlay theme from the list of polygon themes. You will see the number of features in this theme displayed when you select it.


Use selected features only: 

If the overlay theme has some selected features, you can check this box to only use the selected features in the intersect operation.


Specify the output file: 

Browse for or enter the shapefile name that will be used to store the results of the intersect operation. Or you may just use the default.

 

Union Two Themes

Use the Union process when you want to produce a new theme containing the features and attributes of two polygon themes. Let’s look at using Union to provide the basis for performing an erosion analysis of soils during a flood. Some combinations of slope and soil type represent high risk for erosion, and knowing where these conditions are enables risk assessment of crops. For instance, rocky or sandy soil on a relatively steep slope could represent flash-flooding dangers to either crop or grazing agricultural activities during rainstorms.

For this example of the Union process, polygon themes for slope and soil type data are needed. The boundaries of slope (areas that have the same range of slope angle with respect to elevation change) would be used as the input theme. The soil type data will be used as the overlay or Union theme. The result will be a new theme named union1.shp (default name). Union1.shp contains the spatial combination of information with attribute data, permitting evaluation of erosion potential.

Using Union in the GeoProcessing wizard

 


Select input theme to union: 

Choose the theme you want to use as the input theme for the union operation. You will see the number of features in this theme displayed when you select it.


Use selected features only: 

If the input theme has any selected features, check this box to only use the selected features in the union operation.

Select polygon overlay theme to union: 

Choose the theme you want to use as the overlay theme. You will see the number of features in this theme displayed once you select it.

Use selected features only: 

If the overlay theme has selected features, check this box to only use the selected features in the union operation.


Specify the output file: Browse for or enter the file name that will be used to store the results of the union operation.

 

 

Assign Data by Location

Use Assign data by location when you want to use a spatial relationship to join data from the attribute table of one theme to the attribute table of another theme. Depending on the type of data you have, the join will be one of three types of spatial relationships: 'nearest', 'inside', or 'part of'.


Nearest
If you're assigning data from a point theme to another point theme OR you're assigning data from a point theme to a line theme, a 'Distance' field is automatically added to the theme you're assigning data to, along with any other data in that theme. This 'Distance' field contains the distance to the nearest feature.

Example: If you assigned data from a theme of U.S. state capitols to a theme of all U.S. cities, a 'Distance' field would be added to the theme of U.S. cities. This field would contain the distance of the nearest state capitol to each city. 


Or, if you performed the reverse and assigned data from a theme of all U.S. cities to a theme of U.S. state capitols, a 'Distance' field would be added to the theme of U.S. capitols. This field would contain the distance of the nearest city to each state capitol. Since there are fewer state capitols than there are U.S. cities, not every U.S. city will be included in the joined table. 

Inside
If you're assigning data from a polygon theme to a point, line, or polygon theme, the data will be joined to the point, line, or polygon that is contained by each of the polygons.


Example: A businessperson might have a theme of counties with demographic data and another theme of customer points. If the demographic data were joined to the customer table, it could be used for customer profiling, which in turn could save money in advertising. Assign data by location would assign the respective county demographic data to the customer points falling within the county polygons. If there were customer points that did not fall inside any polygons, empty data cells would be created for those customers, since no polygon data was available to join.

Part of
If you're assigning data from a line theme to another line theme, data will be assigned from lines that are 'part of' (a sub-set of) the lines you're assigning data to. 


Example: A transportation engineer might have a theme of streets under construction and another theme of all the city streets. To help prioritize which streets to fix first, the engineer would want to join the theme of streets under construction to the theme of all city streets. Assign data by location would join the construction data for the streets that were part of the city streets theme. Any streets under construction that are not part of the city street network would not be joined.

Using Assign data by location in the GeoProcessing wizard


Select a theme to assign data to: Choose the theme that you want to assign data to. The attribute table of this theme is called the destination table. 


Select a theme to assign data from: Choose the theme that you want to assign data from. The attribute table of this theme is called the source table. The data from the source table that has a 'nearest', 'inside', or 'part of' relationship to the data in the destination table will be joined.

Note When the process is complete, the destination table will contain the joined data.