Docsity

Coordinate Transformations - GIS and Mapping - Lecture Notes, Study notes of Geology

Toggle sidebar
bg1
GEOG 390 / GEOG 660
Coordinate Transformations
Introduction
One of the most important, yet hardest to grasp, concepts in GIS is how to correctly georeference
(geocode) a vector or raster coverage so that it can be viewed or analyzed along with other
georeferenced information. This process is commonly known as coordinate transformation or
georeferencing. This lab will offer you a chance to become familiar with how to transform both
raster and vector GIS themes.
The key point to grasp about georeferencing or coordinate transformations is the necessity to locate
positions or features in a vector or raster coverage whose real world coordinates are known (e.g. its
latitude/longitude or x,y in a known map projection coordinate system such as UTM). The requisite
georeferencing information can be collected in a number of ways.
• Collect GPS points in the field of known locations (ground control points or gcps) found
on a map or in a remotely sensed image such as road intersections
• Use points of known latitude/longitude or other coordinates, such as a UTM grid, that
printed on the map as tie points.
• Use a previously georeferenced image as the basis for locating points on an unrectified map
or remotely sensed image.
Once the relationship between the tie points, which in a raster image may be their pixel locations or
on a digitized map may be in 1/1000s of a centimeter from the origin on the digitizing tablets, and
the locations of these tie points in the real world is established mathematically all points in the map,
or pixels in the image, can transformed using the established equations. This process is illustrated
below and details will be presented in lecture.
From the ArcGIS online help manuals
The procedure for transforming coverages in ARC/INFO was a quite laborious process.
Fortunately, ArcGIS has tools to easily transform both vector and raster coverages. The
spatial
adjustment
toolbar is used to transform vector coverages, while the
georeferencing toolbar
is
Docsity.com
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Coordinate Transformations - GIS and Mapping - Lecture Notes and more Study notes Geology in PDF only on Docsity!

GEOG 390 / GEOG 660

Coordinate Transformations

Introduction

One of the most important, yet hardest to grasp, concepts in GIS is how to correctly georeference ( geocode ) a vector or raster coverage so that it can be viewed or analyzed along with other georeferenced information. This process is commonly known as coordinate transformation or georeferencing. This lab will offer you a chance to become familiar with how to transform both raster and vector GIS themes.

The key point to grasp about georeferencing or coordinate transformations is the necessity to locate positions or features in a vector or raster coverage whose real world coordinates are known (e.g. its latitude/longitude or x,y in a known map projection coordinate system such as UTM). The requisite georeferencing information can be collected in a number of ways.

  • Collect GPS points in the field of known locations ( ground control points or gcps ) found on a map or in a remotely sensed image such as road intersections
  • Use points of known latitude/longitude or other coordinates, such as a UTM grid, that printed on the map as tie points.
  • Use a previously georeferenced image as the basis for locating points on an unrectified map or remotely sensed image.

Once the relationship between the tie points , which in a raster image may be their pixel locations or on a digitized map may be in 1/1000s of a centimeter from the origin on the digitizing tablets, and the locations of these tie points in the real world is established mathematically all points in the map, or pixels in the image, can transformed using the established equations. This process is illustrated below and details will be presented in lecture.

From the ArcGIS online help manuals

The procedure for transforming coverages in ARC/INFO was a quite laborious process.

Fortunately, ArcGIS has tools to easily transform both vector and raster coverages. The spatial

adjustment toolbar is used to transform vector coverages, while the georeferencing toolbar is

used to transform raster grids. While these two tools work in very similar fashions, they do each have their own unique capabilities.

Unfortunately, your ArcGIS tutorial does not cover the geocoding process, but in this lab we will walk though the generalized georeferencing procedure for raster grids and vector coverages. With help from the tutorial, you should be able to apply what you have learned from the raster that you will work through in class to be able to georectify both raster and vector coverages in the future. You should also pull up and read through the help files on both georeferencing and spatial adjustment. In particular the spatial adjustment help has a good discussion of the mathematics behind the transformation process. You will be responsible for this material on the test.

Georectifing an aerial photograph using GPS ground control points

In this scenario which you will work through in class we will georeference a digital orthophotograph of the Texas A&M campus and part of the city of College Station into the following map projection

Map Projection Universal Transverse Mercator

Zone 14 North

Datum NAD

Units Meters

Unfortunately for you, Aggieland Cartographic’s previous intern lacked your exquisite GIS skills and had to be let go. While this task was not successfully completed, fortunately he left all the materials needed for the job [actually working on a project that someone else started or is working on is not uncommon in GIS, and keeping good notes on a project helps if multiple people are working on the same project, or if you have to leave it for a while and come back months later– just some useful advice]

Some practical considerations…in the lab04 folder you will find

a) tamu.tif – A tiff image of part of Bryan-College Station. For the record, this is digital orthophotograph quarter quadrangle (DOQQ) that has already been georectified – I simply deleted the georeferencing information. As a lab exercise. Because of this, we should be able to georectify to quite high precision. The spatial resolution of the image (e.g. pixel size) is 2. m

b) gcp.txt – A file containing 10 ground control points ( gcps ). This file contains the locations in pixel coordinates and UTM eastings/northings of 10 locations your predecessor located in the image and on the ground. These ground control points were collected using a differential GPS unit and are accurate to within the spatial resolution of the satellite image. The complete list of ground control points follows

c) gcp_pictures – A directory containing ground photographs of the 12 locations. Unfortunately your predecessor did not complete his task and while he completed the field sampling, he was unable to locate all the ground control points correctly in the image. These may help.

The UTM locations of the 12 GCPs is listed below.

  • 1 755429.502100 3390482. Site Easting Northing
  • 2 755041.692600 3391217.
  • 3 756666.972100 3390897.
  • 4 756589.613200 3388360.
  • 5 757449.340100 3384427.
  • 6 756382.164200 3385297.
  • 7 754151.983200 3385417.
  • 8 754479.040300 3384565.
  • 9 754163.314400 3389196.
  • 10 755244.500200 3387757.
  • 11 752389.346500 3387645.
  • 12 752431.794900 3389872.

The Georeferencing Processes.

a) Before we begin you should copy the tamu.tif image and the gcp.txt file into an appropriate folder in your home directory.

b) Before you begin, you should set the Coordinate System attributes within the Data Frame Properties to the appropriate UTM projection. By doing this, your georeferenced image will have the correction projection information attached to it. The projection information is discussed above.

c) One thing that you might not be aware of about ArcMap is that it is fully customizable. In order to use the georeferencing tools you need to add the correct toolbar. This can be accomplished either through Tools Æ Customize… or alternately by right-clicking on any gray area near the existing toolbars. Once you have successfully loaded the georeferencing toolbar, your ArcMap should look something as is shown below. You might wish to open the online help on georeferencing as well.

d) You will also need to load your tamu.tif image as a new layer, but I am guessing you have already figured that out ☺

selected the correct location – e.g. zoom in to the point you can make out exact pixels. If you make a mistake in the position you can always hit escape (esc). You can always delete a point from the link table, but you cannot move the point once you have established it.

Once you have selected the from link you will need to specify the to link (the location in the real world). This can be accomplished in one of two ways. Our case is the easiest as we already have the UTM coordinates. To give a control point its to link location, simply right click on the link and a small dialog box will appear so select Input X and Y… and then specify the UTM coordinates of the point.

If you are using another image or map to get the real world point, you will need to have it displayed in ArcMap as well and you will have to zoom to that point on that image or map and select the correct from location.

Editing control points

It is not uncommon after selecting all your ground control points that some of them may not have the precision that you require and in the case of ArcMap this may necessitate deleting the errant points and starting again. Some other packages will actually let you adjust the from links as well, but ArcMap does not. When correcting the points, it is often best to start with the point that has the highest RMS errors as fixing this point will affect the transformation, typically lowering the RMS errors of the other points.

g) you may need to correct the locations of a few points in the image – assume that the UTM coordinates are correct so the errors must be with the from links.

Examining the final transformation

Once you have selected all your GCPs you may wish to see how adjusting which transformation will produce the best fit. In my trial example, I achieved the following results:

Transformation Root Mean Square Error (m)

1 st^ Order Polynomial (affine) 1.

2 nd^ Order Polynomial 1.

3 rd^ Order Polynomial 1.

As the order of they polynomial warp is increased the RMS error typically decreases. In this example that is not true between the 2nd^ and 3 rd^ order. Typically, the lower the RMS the better so in this case I might select a 2nd^ order polynomial fit. However, you must remember that for parts of your image outside of the area covered by control points you are extrapolating and any errors in your transformation equation will become magnified. It is often best to be conservative. I am happy with the affine transformation so that is what I am going to use in this case.

If you examine your link table and you have an = error for a particular link is much higher than the spatial resolution of the image, you may wish to perform some further adjustments.

Permanently transforming the grid/image

To permanently transform the grid (actually it is a three band grid composite), you can select Rectify under the Georeferencing toolbar…A dialog box will appear where you can set the resolution of the dataset. In this case I am choosing 2.5 meters.

Remember to save the final image to your home directory. _I will often add the ending utm in the filename for example to indicate to me that the image is in a utm projection. Permanently transforming the image will take a few minutes so be patient.

There you have successfully transformed an image from an unrectified image coordinate

system in to a correct map projection!

GOOD LUCK AND HAVE FUN!!