Professional Documents
Culture Documents
Arcmap and Google Earth: Prepared by Andrew Hobby Cven 658 November 25, 2008
Arcmap and Google Earth: Prepared by Andrew Hobby Cven 658 November 25, 2008
Arcmap and Google Earth: Prepared by Andrew Hobby Cven 658 November 25, 2008
Contents:
Brief Overview of Google Earth
Goals of Exercise
Computer and Data Requirements
Procedure:
1. Creating a KML File
2. Opening KML Data in Google Earth
3. Capturing Images from Google Earth
4. Georeferencing Google Earth Images in ArcMap
Procedure
1). Creating a KML file
In this section of the exercise you are going to create a KML file of the roads within the College Station
city limits.
(1) Open ArcMap from the Windows Start menu
(2) Add BrazosCounty.shp, BrazosRds.shp, and CSCityLimits.shp to the data frame using the
Add Data tool. Save the map with the name of your choice. Make sure the projection of the
data frame is GCS_North_American_1983. To do this, right click on layers, and click
properties. In the screen that opens click the tab labeled Coordinate System. The
GCS_North_American_1983 coordinate system is located under Predefined>Geographic
Coordinate Systems>North America>North American Datum 1983.
(3) Using the clip command located under ArcToolbox (Analysis Tools>>Extract>>Clip), use
the layer BrazosRds for the input feature, use CSCityLimits for the clip feature, and save the
output feature in your working directory as CSRoads.shp.
(4) Now we will convert this new shapefile into a KML file. From ArcToolbox, select Layer to
KML (Conversion Tools>>To KML>>Layer to KML).
(5) Take look at the wizard that opens. The box labeled layer allows you to select which layer
you will export. The output file box lets you give a name and directory for the output file.
The output file will be in the .kmz format, which is a zipped version of KML. The layer
output scale lets you change the scale of the KML file. The three properties dropdown menus
are options which allow you to adjust the extent and resolution of the KML.
(6) In the wizard, select CSRoads.shp under layer. Name your output file CSRoads.kmz by
clicking on the folder to the right of the Output File box. For Layer Output Scale, type 1.
Click OK.
(7) You have now created a KML file named CSRoads.kmz containing the roads of College
Station.
2).
In this section, you are going to open and explore the KML file you just created in Google Earth.
(1) Open Google Earth from the Windows Start menu
(Start>>Programs>>Tools>>3DEarthPrograms>>Google Earth>>Google Earth)
(2) Now open the KML file from your directory. Go to File>>Open and browse to your
directory. Open CSRoads.kmz. When you open the KML file, Google Earth will
automatically zoom in to its location.
(3) You can zoom in and zoom out by using the buttons at the top right of the screen.
(4) In the Layers menu on the left hand side of the screen, you can unselect Geographic Web
and Borders and Labels to clean up the image.
(5) Now zoom in and see how well the roads from the shapefile match the roads in the aerial
photos.
3).
In this section, we will save an image from Google Earth as a JPEG file and import it into ArcMap.
(1) In Google Earth, zoom in so that you can clearly see the main part of the Texas A&M
campus.
(2) Under the Places menu on the left hand side of the screen, uncheck CSRoads. It is necessary
to uncheck the KML file, so it doesnt appear in the image.
(3) To save the image, go to File>>Save>>Save Image. Navigate to your directory and save the
image as TAMUcampus.jpg. You have now saved the aerial photo of the Texas A&M campus
as a JPEG image.
(4) Now open the JPEG image in ArcMap. Use the Add Data tool to add TAMUcampus.jpg
from your working directory. When you click OK, a warning message will appear stating that
the image is missing spatial reference data. Click OK. Since it is missing spatial reference, the
next step will be to provide spatial reference data for the image.
4).
(3). You will now add 4 placemarks at the intersections of George Bush Blvd. and Texas Ave.,
University Dr. and Texas Ave., University Dr. and Wellborn Rd., and Wellborn Rd. and George
Bush Blvd. These intersections bound the main campus.
To add placemarks, click on the Add Placemark button on the menu above the main screen. The
button looks like a yellow thumb tack. It will later be necessary for you to remember exactly
where you placed your placemarks, so always add them to easily recognizable locations.
To see the longitude and latitude of a Placemark, right click on it and click properties.
(5) Once all the Placemarks latitudes and longitudes have been entered, save the file and
navigate back to ArcMap.
Add the Georeferencing toolbar. To do this, go to Tools>>Customize and check the box next to
Georeferencing.
(6) Now, go to Add Data, and add the data for the four corner points, CornerPoints.txt.
(7) Go to Tools>>Add X Y Data. In the wizard, select CornerPoints.txt, and make sure the X
Field and y Field contain the correct columns. Click OK.
(8) A warning message will appear saying the points lack an object-id field. This is okay, since
we will only be using them to locate the aerial photo.
(9) Now zoom in to the area bounded by the four points.
(10)
Zoom in so the four points fill most of the screen. Then Under the Georeferencing menu
of the Georeferencing toolbar, select Fit to Display. The aerial photo should now show up in
nearly the right place. To finally adjust the image, use the Add Control Points button in the
georeferencing toolbar. First click on the JPEG image where your point should be, then click
on the corresponding point. When you have added control points for all four intersections,
the image should automatically have zoomed and rotated and should now match the roads in
the CSRoads layer.
(11)
When you have added control points for all four intersections, the image should
automatically have zoomed and rotated and should now match the roads in the CSRoads
layer. Now under the Georeferencing dropdown screen in the georeferencing toolbar, select
update georeferencing, to permanently create spatial references for the JPEG file.
(12)
If you right click on the JPEG and go to properties, you will see that geospatial data for
the image is now included under the source menu.
(13)