blankblank blank


Archive for the 'Google Earth' Category Page 2 of 20



Easy Ways To Get Latitude/Longitude For A Screen Point In Google Earth

In the lower left-hand corner of Google Earth, there’s a latitude/longitude readout that shows the position at the cursor position:

9-21-2008-9.02.12 PM

But if you want to record this position, the screen readout is graphical, so you can’t copy the numbers directly from Google Earth using a copy-and-paste operation; you have to write them out manually. One way around this is to create a placemark in Google Earth, and drag it to the desired location; the latitude and longitude will show up in the placemarks properties window, from which you can copy and paste them into a different app:

9-21-2008-9.06.51 PM

Another option is to use David Tryse’s Google Earth Position application. No installation, just run the program at the same time as Google Earth:

9-21-2008-9.15.26 PM

With Auto checked, it will update the position at the center of your Google Earth display continuously; unchecked, you’ll need to click the “GetPos” button to update the position. Clicking on the various “Copy” buttons copies position data into your clipboard for pasting into various programs:

Copy LatLong: 34.756012    -111.495048

Copy LookAt: 34.756012    -111.495048    0    812729.99    0.00    -9.43

Copy LatLong KML: <coordinates>-111.495048,34.756012,0</coordinates>

Copy LookAt KML: <LookAt>
<longitude>-111.495048</longitude>
<latitude>34.756012</latitude>
<altitude>0</altitude>
<range>812729.99</range>
<tilt>0.00</tilt>
<heading>-9.43</heading>
</LookAt>

With Auto unchecked, you can also enter a position into the Latitude and Longitude boxes at the top, and “FlyTo” that position in Google Earth. The numbered boxes at the bottom can save a current location (Shift-Click on the button), fly to a saved position (click on the button), or recall a saved position without flying to it (Alt-Click).

One big problem: there’s no center cursor or marker in Google Earth to indicate the center of the screen, so finding the position of a specific location might be difficult. But here’s a simple little KMZ file that puts a crosshair overlay at the center of the Google Earth screen, getting around this problem:

9-21-2008-9.24.55 PM

David’s website has several other apps worth a look. Google Earth Photo Tag lets you use Google Earth to embed location information into JPEG pictures (note: requires the Exiv2.exe command-line program in the same directory) . While I prefer Picasa for this task, GE Photo Tag does let you modify the balloon style for KML image files, which Picasa doesn’t. LatLong Conversion converts from degrees-minutes-seconds to decimal degrees and vice-versa, supporting more formats for the input data than other similar converters.



New App For Real-Time GPS Tracking In Google Earth

In my series on getting Google Earth Plus features for free, I reviewed a number of apps that interface a GPS unit with Google Earth, plotting your current position and/or recording your track. There’s a new one out from Valery Hronusov and friends called Navigator that appears to be better than all those, but since I’m away from home, I can’t try it out yet. The feature set looks impressive:

  • Supports USB and serial connections, including Bluetooth
  • Supports simultaneous connections with multiple GPS units
  • An information screen with many useful outputs, including position, course and speed, HDOP (horizontal dilution of precision, a metric for how accurate the GPS fix is based on satellite geometry) and more

  • Additional windows for position info, marking a waypoint, tracking, and more.

I’ll have a full hands-on review later on, but if you’re interested in this kind of app, it’s worth a look right away.



Placemark Creator For Google Earth

A new utility from Valery Hronusov, Placemarker lets you create a Google Earth placemark different than the standard placemarks available in the program. No install program, just unzip the files into their own folder and run the executable:

9-14-2008-10.06.09 PM

Enter the desired text into the box; controls let you set the font, shadow or outline effects (with variable depth), and the location of the text relative to an optional icon. The default icon is shown above, but you can use JPG, PNG, TIF, BMP and TIF files of your own, and re-size the icon to your desired dimensions. “Save Image” saves the text and marker imagery at top as a graphic file. But if you want to place the text/marker in Google Earth,  click on the Open GE button:

9-14-2008-10.11.37 PM

If Google Earth isn’t already open, it will be, a marker will appear at the center of the screen (at upper left in the above picture), and the action box at the lower right. Move the image in Google Earth until the on-screen marker is positioned where you want the placemark to be located, and then click “Do!”. A PNG of the placemark image will be created, and positioned centered at the on-screen marker:

9-14-2008-10.15.30 PM

If you don’t like the position, you can move the Google Earth image and “Do!” it again. Once you have it where you want it, just save the generated “image.png” overlay as a Google Earth KMZ file to keep it for future use.

The overlay stays at a 0-degree orientation, and covers the same screen area, regardless of how you tilt the display and zoom in/out:

angled

A useful complement to the online KML Labels tool that generates similar text labels for Google Earth, but as image overlays on top of the terrain.



Compass Indicators In Google Earth

The Nearby.org.uk site has a pair of replacement compass indicators for Google Earth:

The Compass Star replaces the standard Google Earth compass indicator:

9-8-2008-8.51.45 PM

with one that has an angular degree scale, and finer divisions:

9-8-2008-8.53.07 PM

The Magnetic Compass is supposed to do something similar, but this time displaying the direction of magnetic north at any location:

9-8-2008-9.07.53 PM

… but sometimes it doesn’t seem to work right.

NOAA has a website that will give you the magnetic declination (the deviation between true and magnetic north) for the present, or any date after 1900, for the entire world. For the US, there’s also a page that gives you that value for dates before 1900. Links to graphic maps of declination and other info are available here.



Real-Time Satellite Visualization In Google Earth

Matt Amato at Analytical Graphics has created a network link that converts USSTRATCOM data (active and inactive satellites, debris and rocket bodies) into a KMZ network link for observation in Google Earth:

Satellites in Google Earth

In the above view, debris and rocket bodies are turned off; active satellites are in green and inactive in gray. Satellites are plotted at their actual 3D position, including altitude, so you can zoom around above the Earth and see the satellites suspended overhead. Switch to Google Sky mode, and see the satellites plotted against the constellations:

Continue reading ‘Real-Time Satellite Visualization In Google Earth’



Online 1:1M Geology Maps At The OneGeology Portal

The OneGeology website gives its mission as:

Make web-accessible the best available geological map data worldwide at a scale of about 1: 1 million, as a geological survey contribution to the International Year of Planet Earth.

While the official launch of the site is scheduled to coincide with the International Geological Conference in Oslo, August 6-14, the mapping portal site is already partially functional, although a few bugs and quirks still exist. It currently works with Internet Explorer 6/7, and Firefox 2, but not Firefox 3 (hope this changes soon). And while the goal is to have data for the whole world at a 1:1,000,000 scale, data for significant areas of the world are currently not available at that scale; for example, the US data is at the 1:5M scale. A partial list of the WMS data available and its scale is on this page.

Continue reading ‘Online 1:1M Geology Maps At The OneGeology Portal’



A Simple Online KML Polygon Creator - With Holes!

Kjell Scharning emailed to let me know of his simple Google Maps tool, a basic digitizer with a Google Maps interface for creating KML polyline and polygon files. While for most purposes, the Google Maps MyMaps creation tool is a better choice, Kjell’s tool does have some useful functions missing from the Google Maps editor:

  • Creating circular shapes
  • Creating polygons with holes in them (something you can’t do directly in Google Earth, either)
  • Get a list of vertex coordinates as created (select the “KML Coordinates option”). There’s also a separate KML “editor” that will take a link to a KML file, and give you a text list of the vertex coordinates. You can move the vertices around in the “editor”, but it doesn’t actually edit the KML, just modify the coordinates in the list.

As you click on the Google Maps interface to create vertices for the polyline or polygon, the KML text will be updated in real-time in a text window to the right of the map:

Google Earth shape with hole

The instructions are a little unclear on hole creation. To create a shape with a hole:

  • Choose the “Polygon” Draw mode
  • Set the style for the shape (color, fill, perimeter) with the “Style options” button, then draw the shape in the map. Be sure to end the shape by clicking the “Close Polyshape” button.
  • Check the “Hole” box; the perimeter of the main shape will turn into a polyline, and the draw mode will switch to “Polyline”.
  • Draw the shape of the hole on the map, using the “Close Polyshape” button to finish the hole.
  • Click the “Polygon” Draw mode option, and you’ll see your original shape with the hole inside of it.

Once you’re done, click the “Select and copy text” button, then paste the code into a text editor and save it as KML file.

It currently only seems to work in Internet Explorer and Firefox 2, but not in Firefox 3. And you can only draw one shape at a time. Not a complete editor by any means, but you may find its unique features handy.



Plot Google Analytics Geographic Data In Google Earth/Maps

Johann Blake writes about his new tool to plot geographic Google Analytics data in Google Earth or Google Maps. Just follow the instructions on the website to export the Analytics data in XML format to your computer, then upload the file to the site. You have the choice of creating either a straight KML file for Google Earth, or a direct plot of the data in Google Maps; the latter doesn’t seem to work currently in Firefox 3, but does work in Internet Explorer. You get placemarks for every country from which you had a visitor, color/type coded by the total number of visitors:

gega

Click on a placemark in either Google Earth or Google Maps to see the number of visitors from that country. You can use the standard Google Analytics controls to select the desired time frame, and also filter data.

It appears as though you can also select geographic sub-regions in Google Analytics like the US states below. I did get a bunch of error messages in Google Maps, and the District Of Columbia plotted in the South Atlantic, before the rest of the states plotted correctly:

7-20-2008-8.55.39 PM

This older tool was able to plot individual visitors, but required a raw data export capability that Google Analytics no longer provides. So for now, Johann’s site is the best available GE/GM Analytics tool.