map projection using arcgis -...

14
Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and Srikanth Koka Department of Civil Engineering Texas A&M University October 2003 Contents Brief Overview of Map Projection Using ArcGIS Goals of the Exercise Computer and Data Requirements Procedure 1. Projections of the World 2. Projections of the United States 3. Projections of Texas 4. Defining projections 5. Projecting data using ArcToolBox Brief Overview of Map Projection Using ArcGIS Map projection involves taking spatial data defined on the curved surface of the earth and transforming it to the flat surface of a map. A map projection is the mathematical algorithm used for this transformation. ArcToolBox permits the transformation of data from one map projection to another. Goals of the Exercise This exercise will introduce you to ArcGIS for projecting GIS data. Computer and Data Requirements This exercise has been successfully completed using ArcGIS 8.2. All data needed for this exercise is contained in the MapProj.mdb geodatabase. Download the MapProj.zip file containing the geodatabase, which is in the same folder where this document is located. Unzip it and save the files to a working directory in your computer.

Upload: trinhkhanh

Post on 05-May-2018

226 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

Map Projection Using ArcGIS

Prepared by Francisco Olivera, Ph.D., and Srikanth Koka Department of Civil Engineering

Texas A&M University October 2003

Contents

Brief Overview of Map Projection Using ArcGIS Goals of the Exercise Computer and Data Requirements Procedure 1. Projections of the World 2. Projections of the United States 3. Projections of Texas 4. Defining projections 5. Projecting data using ArcToolBox

Brief Overview of Map Projection Using ArcGIS Map projection involves taking spatial data defined on the curved surface of the earth and transforming it to the flat surface of a map. A map projection is the mathematical algorithm used for this transformation. ArcToolBox permits the transformation of data from one map projection to another.

Goals of the Exercise This exercise will introduce you to ArcGIS for projecting GIS data.

Computer and Data Requirements This exercise has been successfully completed using ArcGIS 8.2. All data needed for this exercise is contained in the MapProj.mdb geodatabase. Download the MapProj.zip file containing the geodatabase, which is in the same folder where this document is located. Unzip it and save the files to a working directory in your computer.

Page 2: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

2

Procedure 1. Projections of the World a. View of the world in geographic coordinates (longitude and latitude) Open ArcMap from the Start menu and click on the New Map File button to create a new empty map document. To add data to your map, click the AddData button and browse to the MapProj.mdb geodatabase in your working directory. Double click on the geodatabase to access the feature classes inside it. While pressing the Ctrl key, select the Cntry94 and World30 feature classes, and then click Add. If necessary, drag World30 below Cntry94 so that the layout of the countries is superimposed on the 30-degree squares. To show just the World30 layer outlines, in the table of contents, right click on World30 and then on Properties/Symobology. Under the Symbol frame click on the rectangle filled with color. On the left hand side of the Symbol Selector form, you can see a list of color schemes, select the one named Hollow, click OK and then click OK in the Layer Properties wizard. You can now see the world in geographic coordinates.

To label the countries, right click on the Cntry94 layer, select the Label Features option in the drop down menu. To customize the label display, right click on the layer, and then click on Properties/Labels. To remove the labels, unselect the Label Features in this layer option. To label a few selected countries, if the Draw toolbar doesn’t appear in the ArcMap document, use View/Toolbars/Draw to add it to the map. On the Draw toolbar, click the down arrow beside the NewText button, and select the Label option. In the Labeling

Page 3: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

3

Options choose the Placement and Label Style of your preference, and close the form. Click on the countries you want to label. Finally, save the project as World.mxd. Move the cursor around on the view and you will see a pair of numbers to the bottom right of the ArcMap window. These numbers are the coordinates of the cursor and from the values displayed you can see that they are in decimal degrees of latitude and longitude. b. View of the world in Robinson Projection The map projection of cntry94 and World30 is geographic; however, they can be viewed in different projection systems. A common projection system for the world is the Robinson projection. Create a new data frame in ArcMap using Insert/Data Frame . Add the World30 and Cntry94 feature classes to this new data frame by right clicking on Add Data. Again rearrange the layers and change the legend of World30 as explained in the previous case. To view the world in Robinson projection, right click on the data frame and click on Properties/Coordinate System. In the Select Coordinate System box, click on Predefined/Projected Coordinate System/World/Robinson (World), and click OK.

A warning message appears, click yes. You will see the world in Robinson projection. Refresh the map by clicking on the Full Extent tool, and then save the document. The Robinson projection is a world map projection designed to present the whole earth with a minimum of distortion at any location. If you move the cursor over this space, you'll see that the coordinates are now in a very different set of units, meters in the projected coordinate system.

Page 4: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

4

c. View of the world "from space" (not available in ArcGIS 8.2) Create a new data frame and add to it the World30 and Cntry94 feature classes. Again, rearrange the layers and change the legend if necessary. To view the world "from space", change the data frame coordinate system to Predefined/Projected Coordinate System/World/The World from the Space. As before, a warning message appears, click Yes. Refresh the map by clicking on the Full Extent tool, and then save the document.

Try looking at the world from above College Station. You can get the coordinates of locations on the earth by viewing earth in the geographic projection. Play around a bit.

Page 5: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

5

2. Projections of the United States a. View of the United States in the geographic coordinates Click on the New Map File button to create a new map file, and save it as USA.mxd. Add the States and LatLong feature classes to the data frame. These data are polygons of the states of the United States and lines forming a 5-degree grid of latitude and longitude. Click on the Zoom In tool and zoom into the conterminous United States. If necessary, use the Pan tool to move the map to the center of the window.

b. View of the United State in Albers Equal Area Projection The Albers Equal Area projection has the property that the area bounded by any pair of parallels and meridians is exactly reproduced. That is, the projection preserves the correct area, although it somewhat distorts the direction, distance and shape. Create a new data frame and add States and LatLong. To view the United States in Albers Equal Area projection, right click on the data frame and click on Properties/Coordinate System. In the Select a coordinate system box, click on Predefined/Projected Coordinate System/Continental/North America/ USA_Contiguous_Albers_Equal_Area_Conic and click OK. Compare the shape of the United States in geographic coordinates and in Albers projection. You can see that, in geographic coordinates, the United States appears to be wider and flatter than it does in Albers Equal-Area Projection. This effect occurs because as you go northward, the meridians converge toward one another while the successive parallels remain parallel to one another. When you reach the North Pole, the meridians converge completely.

Page 6: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

6

In Albers projection, square boxes of latitude - longitude appear elongated quadrilaterals with a bottom edge longer than their top edge. In geographic coordinates, the effect of the real convergence of the meridians is lost because the latitude and longitude grid form a set of perpendicular lines, which is what makes the United States seem wider and flatter in geographic coordinates. 3. Projections of Texas a. View of Texas in geographic coordinates Click on New Map File to create a new map file, and save it as Texas.mxd. Add the Counties and LatLong feature classes to the data frame, and rearrange the layers and change the legend if necessary.

Page 7: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

7

Since we are concerned only about Texas, it is required to make the counties in Texas only to be visible. To do this, right click on Counties and then on Properties/Symbology. In the Show box, click on Categories/Unique Values. In the Value Field box, select State_Name. Click the Add Values button and, in the Add Values form, click Complete list, so that all the state names appear. Click on Texas, on Add to list button, and then on OK. In the Layer Properties form, deselect the check mark for <all other values>, to see only the Texas counties, and click OK. Zoom into the Texas part using the Zoom In tool. The latitude and longitude grid displayed is at 5-degree intervals. You can determine what latitude or longitude a particular line represents by moving the cursor to any line and read its value on the right corner of the tool bar.

b. View of Texas in Lambert Conformal Conic projection The Lambert Conformal Conic projection is a standard projection for presenting maps of land areas whose East-West extent is large compared with their North-South extent. This projection is "conformal" in the sense that lines of latitude and longitude, which are perpendicular to one another on the earth’s surface, are also perpendicular to one another in the projected domain. Create a new data frame and add Counties and LatLong. To view Texas in Lambert Conformal Conic projection, right click on the data frame and click on Properties/Coordinate system. In Select Coordinate System box, click on Predefined/Projected Coordinate System/Continental/North America/ USA_Contiguous_Lambert_Conformal_Conic. After clicking the Full Extent button, it can be seen that the meridians converge to a point.

Page 8: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

8

After zooming- in to Texas with the Zoom-In tool, a more familiar shape of Texas can be seen Zoom.

Notice that Texas appears to be tilted to the right slightly. This occurs because the Central Meridian of the projection used is 96ºW, which would appear as a vertical line in the display if it were shown. Regions to the West of this meridian (most of Texas) appear tilted to the right while those to the East of this meridian appear tilted to the left.

Page 9: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

9

c. View of Texas in the Texas Centric Mapping System (TSMS) In order to present a pleasing map of Texas, and to minimize distortion of distance in statewide maps, the Texas Department of Information Resources has approved two standard projections of Texas called Texas Centric Mapping System (TSMS) (http://www.dir.state.tx.us/tgic/committee/stnd/draft-rule-2001.pdf). One of them is Albers Equal Area and the other Lambert Conformal Conic. Their definition is: Projection: Albers Equal Area (or Lambert Conformal Conic) Datum: North American Datum of 1983 (NAD83) Ellipsoid: Geodetic Reference System of 1980 (GRS80) Map units: meters Central Meridian: 100°W (-100.0000) Reference Latitude: 18° N (18.000000) Standard Parallel 1: 27° 30' N (27.500000) Standard Parallel 2: 35° N (35.000000) False Easting: 1500000 False Northing: 6000000 (or 5000000 for Albers Equal Area) This means that the standard parallels, where the cone cuts the earth's surface, are located at about 1/6 of the distance from the top and bottom of the state, respectively, and that the origin of the coordinate system (at the intersection of the Central Meridian and the Reference Latitude) is in the center of the State, to which the coordinates (x,y) = (1500000, 6000000) meters is assigned, so that the (x,y) coordinates of all locations in the State are positive.

Page 10: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

10

Create a new data frame and add Counties and LatLong. Right click on the data frame and click on Properties/Coordinate system. In the Select Coordinate System box, click on Custom and then on New/Projected Coordinate System. Enter the map projection information given above as shown below. In the Geographic Coordinate System box, click Select and in the Browse for Coordinate System window click on North America/North American Datum 1983.prj/Add. Then click OK button to finish projecting the data frame. Zoom into the Texas part using Zoom In tool.

4. Defining the Projection Every dataset is either in geographic coordinate system or in a projected coordinate system. ArcMap cannot determine on its own what projection a dataset is in, unless and until it is specified. For shapefiles, this information is stored in a file with extension .prj. Geodatabases store it as a table within the database. Even though a dataset might have a coordinate system, the corresponding projection information might be missing. In this case, the information has to be obtained from the data source and the projection should be defined. If you add a layer to a data frame and its projection information is missing, you will get the following message:

Page 11: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

11

This is not a problem for displaying data as long as ArcMap does not need to project it on-the-fly. In this part of the exercise, you are going to define the projection information of the STATSGO (State soil geographic dataset) data of Texas. This dataset contains soils information for the state of Texas, but its spatial reference properties are not defined. So, the information has to be obtained from the host of the data. The dataset was obtained from the United States Department of Agriculture (USDA). Before defining the projection, open a new ArcMap document, and add Quad and STATSGO to the data frame. You will see that the above-mentioned warning message and you will observe that both the layers do not overlay upon one another. This is because, ArcMap doesn’t know the projection details of STATSGO. Close the document because you cannot define the projection of STATSGO in ArcCatalog, if ArcMap is using it. To get the spatial reference information, go to the following website http://www.ncgc.nrcs.usda.gov/branch/ssb/products/statsgo/metadata/tx.html.

On the web page, click on the link that says Spatial Reference Information. Scroll down the page to the spatial reference information section, which has the information shown below: Spatial_Reference_Information:

Horizontal_Coordinate_System_Definition: Planar: Map_Projection: Map_Projection_Name: Albers_Conical_Equal_Area: Standard_Parallel: 29.50 Standard_Parallel: 45.50 Longitude_of_Central_Meridian: -96.0 Latitude_of_Projection_Origin: 23.0 False_Easting: 0.0 False_Northing: 0.0

Page 12: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

12

Planar_Coordinate_Information: Planar_Coordinate_Encoding_Method: coordinate pair Coordinate_Representation: Abscissa_Resolution: 6.35 Ordinate_Resolution: 6.35 Planar_Distance_Units: meters Geodetic_Model: Horizontal_Datum_Name: North American Datum of 1927 Ellipsoid_Name: Clarke 1866 Semi-major_Axis: 6378206.4 Denominator_of_Flattening_Ratio: 294.9786982

Though projection for datasets can be defined either with ArcCatalog or ArcToolBox, we will use ArcCatalog in this exercise. In ArcCatalog, browse down to the geodatabase, open the geodatabase, right click on the STATSGO feature class and then click on Properties. In the Feature Class Properties wizard that pops up, click on the Fields tab. In the Field Name column, click on Shape , and, in the Field properties box, click on the button located on the right side corner of the Spatial reference row. A new wizard titled Spatial Reference Properties opens up. In this wizard, click on the Select button to open the Browse for Coordinate System wizard, and then click on Projected Coordinate Systems/Continental/North America/USA Contiguous Albers Equal Area Conic. Click Add. Though the projection is defined, the value of the Latitude of origin is 37.5° instead of 23°. To correct this, click on the Modify button. This will open a new window in which you will be allowed to edit the values. Change the value of Latitude_of_Origin from 37.5 to 23.0, click Apply, and click OK. Again, in the Spatial Reference Properties wizard, click Apply, and click OK.

Now again open a new ArcMap document and add the Quad and STATSGO layers. This time you wouldn’t see the warning message and you will see the layers overlay one upon another. To clearly see the layers, make sure that the first layer is STATSGO and the second is Quad. Change the legend of STATSGO and make it transparent. To do this,

Page 13: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

13

click on the square below the layer name, and then select Hollow in the symbol selector wizard. Your map should look similar to the image below. 5. Projecting data using ArcToolBox Data in one projection can be transformed into another projection. It is very useful for all the data layers to be one projection when they refer to the same spatial extent.

Before going onto changing the projection of STATSGO, close ArcMap and start ArcToolBox. Click on Data Management Tools/Projections/Project Wizard (shapefiles, geodatabase), to get the Projection Wizard (shapefiles, geodatabase). Click on the folder icon located next to the top most text box, browse to the folder where MapProj.mdb is located. Double click on the geodatabase to see all the feature classes inside it. Select the STATSGO feature class and click on the Add button to choose the feature class that is to be projected. Click Next in the wizard. Select the name of the new projected feature class to be created by clicking on the folder icon. Browse to the location where MapProj.mdb is located, and enter the name for the new feature class as LambertSTATSGO as we are going to project the data that is in Albers Equal Area Conic to Lambert Conformal Conic projection. Click Next. In the next step, click Select Coordinate System. In the Spatial Reference Properties wizard, click Select. In the Browse for Coordinate System dialog, click on Projection Coordinate Systems/Continental/North America/USA Contiguous Lambert Conformal Conic, click Add, and then click Apply/OK. Click Next in the project wizard to see the coordinate extent of the dataset. Click Next to see the summary report. Click finish to create a new feature class in the geodatabase with the specified projection. To verify if the dataset is projected properly or not, open ArcMap; and add Quad and LambertSTATSGO to its data frame. If it has been projected properly, then they should

Page 14: Map Projection Using ArcGIS - CEProfsceprofs.tamu.edu/folivera/GIS-CE/ArcGISMaterials/04MapProjections/... · Map Projection Using ArcGIS Prepared by Francisco Olivera, Ph.D., and

14

overlap. One more thing that should be noted is the capability of ArcMap to project data on-the-fly. Try to see the spatial reference properties of the two layers in the map by right clicking on each of them and then clicking on the Properties, then on Source tab in the Layer properties wizard.