GoogleEarth: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) |
||
Line 33: | Line 33: | ||
I want to take a shapefile from the Corvallis collection, convert it to unprojected WGS1984 UTM zone 10 data using the ArcToolbox, extract vertices from it, and convert them to a KML file. As [http://oregonstate.edu/dept/hort/faculty/RighettiNewFormat.htm Dr. Tim Righetti] would say, "What are you waiting for?! You know what to do." | I want to take a shapefile from the Corvallis collection, convert it to unprojected WGS1984 UTM zone 10 data using the ArcToolbox, extract vertices from it, and convert them to a KML file. As [http://oregonstate.edu/dept/hort/faculty/RighettiNewFormat.htm Dr. Tim Righetti] would say, "What are you waiting for?! You know what to do." | ||
I found a VB script in [http://arcscripts.esri.com Arcscripts] called | |||
"Export to KML" | |||
== Sample of KML == | == Sample of KML == |
Revision as of 01:10, 7 October 2005
I looked at GoogleEarth and yawned, I must be jaded. Sinc then many people have told me it's the neatest thing since sliced bread so I must have missed something. Maybe it was the 300 hours I have already spent working with ESRI 3D Analyst; been there done that.
Okay, so it was the only session at NWGIS that was packed. Okay, so I will look at it again. The presenter there from Pierce County has managed to have fun with it so maybe I can too.
To me what's cool about it is that it streams both the DEM and raster photo data from a server so that everything appears seamless; I don't have to locate and download the layers and then load them into my own ArcScene project. I wish that Hawaii would break down and have some high res photos done. I am getting tired of these LandSat images.
What the Pierce county guy did was overlay his own data on the GoogleEarth maps. He did that by writing his own KML files. GoogleEarth used to be Keyhole so the language it's based on is called KML which is (what else) an XML variant.
What can I do with it
I can add a raster layer to the map using GroundOverlay. The raster is referenced with an href tag; it can be anywhere (URI) or it can be a file on the local network.
I can add PlaceMarks to the map.
I can draw points, lines, and polygons onto the map.
I can put a text overlay layer onto the map
I am thinking that I should be able to insert the locations of all the CDS Wireless GPS receivers onto a GoogleEarth map...
Coordinates have to be in lat-lon-alt format. They can't be in projected coords. Drat.
SOOOOOOOOOO
I want to take a shapefile from the Corvallis collection, convert it to unprojected WGS1984 UTM zone 10 data using the ArcToolbox, extract vertices from it, and convert them to a KML file. As Dr. Tim Righetti would say, "What are you waiting for?! You know what to do."
I found a VB script in Arcscripts called "Export to KML"
Sample of KML
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.0"> <Placemark> <name>725 Farmers Lane, Santa Rosa, CA</name> <open>1</open> <address>725 Farmers Ln, Santa Rosa, CA 95405, USA</address> <styleUrl>root://styleMaps#default+nicon=0x304+hicon=0x314</styleUrl> <Point> <coordinates>-122.687567,38.442873,0</coordinates> </Point> </Placemark> </kml>
Links to other Google Earth places
Global Connection is a project to tie National Geographic data to GoogleEarth.