The Advanced Resource Technology Group: The Knowledge Base |
ART LINKS:
- Home - Data Repository - Knowledge Base - Resources - Research - Publications - Education - Software - People - Links - Policies - Contact Us 6/19/02 |
Reprojecting Geospatial Data: ProceduresInformation | Knowledge Base | Back Using ArcInfoPROJECTMost reprojections can be performed at the Arc: prompt with the command PROJECT. The syntax for this command is:
After typing in the initial command, Arc will require several subcommands that define the parameters of the projections. If you are starting with a data set that does not have a defined projection, then the first thing you type in is input. This tells Arc that you are about to define the initial projection. After entering the parameters for the input projection, type in the subcommand parameters, hit [Enter] and then type in output. Now Arc is ready to receive the parameters for the new projection. Once those parameters have been entered, type in parameters, hit [Enter] and then type in end. Arc will now reproject your original data set to the new data set with the name you specified in the initial command. Please look up the PROJECT command in the ArcDocs to view all of the different subcommands. Below are examples of three different ways to project a data set.
PROJECTGRIDThis command can be used at the Grid: prompt and it works faster than using PROJECT at the ARC prompt because it reprojects the entire grid with a best fit polynomial instead of cell by cell. Nearest neighbor analysis is the default polynomial used to reproject the grid. The syntax for this command is:
As with the PROJECT command, you can use a projection file to specify the input and output projections. You can also use the AML file, or type in the commands at the prompts.
If your original data set (dem10m) already had a defined projection, then you would omit the commands from input to the last ~. PROJECTDEFINEThis command allows you to simply define the projection of a coverage, grid, tin, or file at the Arc: prompt. This can be done on data sets with no existing definition, or it can be used to change the projection that was previously defined. The syntax for this command is:
Some sample commands are:
This command tells ARC that you wish to define the projection for a certain coverage/grid/tin/file. After you enter this command, ARC will require several subcommands. The subcommands are the same as those specified for the PROJECT command except that you do not need to specify if the parameters are for the input or output projection since you are not reprojecting anything (see above for details). An example of an entire PROJECTDEFINE process is:
This can also be done by simply running an AML file (very handy if you have several data sets to define projections for). Using ArcViewTo reproject a shapefile in ArcView 3.x, first make sure that the Projection Utility extension is added. Click on File and then Extensions. Make sure that there is a check next to Projection Utility Wizard and click OK. Make the shapefile of interest the active theme. Click on File and then ArcView Projection Utility. You will be presented with the first screen of the projection utility. This screen allows you to view the current projection of the shapefile. You can use the Browse button to choose a different shapefile. Click on Next to choose the projection, datum, units, parameters, and ellipsoid of the new shapefile. The only required input is the coordinate system type and the units, but the Show Advanced Options checkbox will allow you to change the other items. Searching for "Projection Engine" in the ArcView help documents will allow you to view the supported projections and datums for different areas of the world if you are unsure what to choose. Once you have decided what the new projection properties will be, you need to click on Next to choose the location and name of the new shapefile. Click on Next again and you will see the verification screen for the projection properties of the new shapefile. Once you click on Finish, the wizard will close and you will have the option of adding the new shapefile to the view.
Using ArcGISDefining Coordinate Systems for Data SetsIf you have a data source without a defined projection, you must first use ArcMap, ArcCatalog, ArcToolBox, or a text editor to define its projection and coordinate system. Without this step, you will be unable to perform tasks in the GeoProcessing Wizard despite defining a projection for the data frame in ArcMap. This is a quote from the ArcGIS help documents that explains how to define the coordinate system for different data sources:
Here is an article describing how to use ArcToolBox to define a coordinate system for a shapefile. This article describes how to define projections for geodatabases, shapefiles, coverages, and CAD data. Reprojecting Data Sets Without Altering the Data (Data Frame Properties)To define the projection of a data frame, right click on the data frame name and choose Properties. By default, the data frame is called "Layers." This will bring up a screen like Figure 5. Click on the Coordinate System tab. You can navigate through the folders in the bottom half of the screen until you find the desired projection/coordinate system. Once you click on Apply or OK, ArcMap will reproject all of the data sets in your data frame without altering the data itself. If one of your data sets does not reproject, make sure that it has a defined coordinate system (see above). You may also need to use the Transformations button to define how ArcMap should transform data sets with different geographic/datum coordinate systems (Fig. 1). This will have to be specified if there is more than one possibility for ArcMap to choose from. You can read more about this topic here.
Using the GeoProcessing WizardBefore using the GeoProcessing Wizard (Fig. 2), you need to define the coordinate system for the data frame that includes the data sets you are going to manipulate (see above). Then you simply use the GeoProcessing Wizard (found under the Tools menu) to perform whatever task you had in mind (dissolve, merge, clip, union, or intersect). The wizard will automatically reproject the new data set to the projection/coordinate system defined in the Data Set Properties, no matter what the projections of the original data sets are.
|