English

How To: Use the Projection Utility through the command line

Summary

The example in this article, reprojecting a shapefile from State Plane Coordinate System Wisconsin Central NAD 1983 to UTM Zone 16 NAD 1983, shows how to use the Projection Utility through the command line.

Procedure

  1. Open a DOS window.
  2. Navigate to the directory where the Projection Utility executable is located.

    Code:
    D:\>cd D:\esri32a\av_gis30\arcview\bin32

  3. Run the Projection Utility.

    Code:
    D:\>projutil.exe

  4. Type the parameters to be passed to the utility. For our example:

    Code:
    D:\esri32a\av_gis30\arcview\bin32\>projutil.exe -IF c:\gisdata\WI_CENT.shp
    -OF c:\gisdata\WI_UTM16.shp -IC 32153 -OC 26916 -q

    Where:

    -IF: Pathname of the shapefile to re-projected.
    -OF: Pathname where the new shapefile will be written to.
    -IC: Code number for the Input Coordinate System.
    -OC: Code number for the Output Coordinate System.
    -q: Run the projection utility in quiet mode.

    For a complete list of codes, see the ArcView Help document, "Using the ArcView Projection Utility from a DOS prompt."

    You can find the code numbers for the Input and Output Coordinate System in the ArcView Help document, "Projected Coordinate Systems in the Projection Engine."