Google
Official Google Earth Download Site

Google Earth Community

Earth >> Models and Annotations

ink_polaroidAdministrator
Sysop


Reged: 01/01/05
Posts: 1868
Loc: SF Bay Area, CA
Welcome to the world of 3D Google Earth!
      07/03/05 12:53 AM

View in Google Earth         View in Google Maps (46334 downloads)



One of the most exciting features of Google Earth is the ability to draw polygons and extrude them to form three-dimensional shapes.

The drawing tools in the client are great for such things as marking boundaries and creating simple buildings, but almost as soon as we released Google Earth, many of you noticed that by editing or creating your own KML, much more complex shapes could be created. (A couple of the first examples that really impressed us were King Kong (complete with bi-plane!) and Stonehenge.)

We think this is going to be a very popular feature, so we have created this forum for you to share your creations.

To get you started, we have posted a few examples of what's possible. These models were authored externally, and the data converted to KML.

(This process is obviously more complex than simply clicking around in Google Earth, but it's not as difficult as you might think. Indeed, we're working on a few tools that will help make the process significantly easier. Stay tuned to this channel for updates.)

If you would like to get started on your own creations, we can suggest a few simple steps to get you started. But before we start, open the this post's attachment in Google Earth.

  • Use the polygon tool in Google Earth Plus (or Pro) to create a simple shape. For example, draw an outline around a famous area in your favourite city. If you examine the "base" polygon in the attachment, you can see that I drew an outline of San Francisco's Union Square.
  • Once you have created your polygon, highlight it in your Places window, right-click and copy it.
  • Open a text editor (Notepad is fine) and select paste to see the code for your shape. (Or you can save your shape as a KML file and open that in a text editor.)
  • Now comes the tricky part. If you study the code, you can see how Google Earth renders its shapes. For a 4-sided flat shape, there will be five points. Notice that the coordinates for the first and last point are the same. This is because Google Earth draws lines from point 1 to point 2, pt 2 to pt 3, pt 3 to pt 4, and from pt 4 back to the start. (In general, for an N-sided shape, you will need to generate N+1 coordinate points.) Try a copy/paste with the base polygon to see what we mean.
  • Just as it is possible to create a vertical "wall" by drawing a path and extruding it, it is also possible to do this by using the above principle to place the coordinates in the correct place. Take a look at the "west wall" poly. If you examine the code, it should be obvious that this wasn't created with Google Earth.
  • Now take a look at the "west roof" poly. This wasn't created in GE, nor can it be. To do this, the north-west and south-west points were taken from the base poly (with appropriate heights), and mid-points (with new altitudes) were calculated to form the sloping roof.

We leave it as an exercise for the interested reader to generate the other walls and the other half of the roof. You should need nothing more than a pencil, some paper, basic math skills, a little patience and a calculator. (Or, yes, you can cheat and use a spreadsheet. )

One final note: it's obvious that I didn't create the Golden Gate Bridge in this way. We are working on something that will help you to generate some very impressive KML models, but until we have it ready, here's a quick tip for those of you with some CAD experience: the trick is to generate an output of the model's vertices that are in the correct winding order. (That is, face X has verts 1, 2, 3, face Y has verts 4, 5, 6 ... etc.) If you can do that, you're half-way there.

Post Extras Print Post   Remind Me!     Report this Post


Entire topic
Subject Posted by Posted on
* Welcome to the world of 3D Google Earth! ink_polaroidAdministrator 07/03/05 12:53 AM
. * * Re: Welcome to the world of 3D Google Earth! marcus_chang   07/11/08 01:57 AM
. * * Re: Welcome to the world of 3D Google Earth! ianmaciel   08/30/07 01:55 PM
. * * Draw Distance Relyt22   08/04/07 04:29 PM
. * * Re: Welcome to the world of 3D Google Earth! crdarling   06/16/07 05:51 AM
. * * Re: Welcome to the world of 3D Google Earth! EstelaC   06/16/07 05:18 PM
. * * Re: Welcome to the world of 3D Google Earth! hyperkalum   05/16/07 12:00 PM
. * * Re: Welcome to the world of 3D Google Earth! okelley   12/15/06 06:18 AM
. * * Re: Welcome to the world of 3D Google Earth! myrddin   08/11/06 06:15 AM
. * * Re: Welcome to the world of 3D Google Earth! land_dreamer   02/24/06 11:00 AM
. * * Re: Welcome to the world of 3D Google Earth! loupiote   01/15/06 04:14 PM
. * * Re: Welcome to the world of 3D Google Earth! crasstopher   01/27/06 09:28 PM
. * * How's about textures? Downloader5002   12/18/05 04:55 AM
. * * Re: Welcome to the world of 3D Google Earth! betyps   12/17/05 02:08 PM
. * * Re: Welcome to the world of 3D Google Earth! tonylaw   10/26/05 06:03 AM
. * * Re: Welcome to the world of 3D Google Earth! TheDarknessMaster83   09/03/05 04:53 AM
. * * Re: Welcome to the world of 3D Google Earth! Daggarjon   08/25/05 11:47 AM
. * * Re: Welcome to the world of 3D Google Earth! Jason_Birch   08/29/05 06:56 PM
. * * Re: Welcome to the world of 3D Google Earth! earthboy   08/29/05 02:55 PM
. * * Re: Welcome to the world of 3D Google Earth! blueman   07/12/05 08:20 AM
. * * Re: Welcome to the world of 3D Google Earth! ink_polaroidAdministrator   07/12/05 08:47 AM
. * * Re: Welcome to the world of 3D Google Earth! smcq   07/12/05 04:03 PM
. * * Re: Welcome to the world of 3D Google Earth! blueman   07/12/05 10:24 AM
. * * Re: Welcome to the world of 3D Google Earth! smcq   07/12/05 04:10 PM
. * * Re: Welcome to the world of 3D Google Earth! JumbleModerator   09/08/05 08:48 PM
. * * Re: Welcome to the world of 3D Google Earth! jakedundee7   09/13/05 03:25 PM
. * * Re: Welcome to the world of 3D Google Earth! tonsofpcs   07/19/05 10:25 PM
. * * Re: Welcome to the world of 3D Google Earth! ink_polaroidAdministrator   07/12/05 11:00 AM
. * * Re: Welcome to the world of 3D Google Earth! earthrocks   07/23/05 09:32 AM
. * * Re: Welcome to the world of 3D Google Earth! ink_polaroidAdministrator   07/23/05 10:25 AM
. * * Re: Welcome to the world of 3D Google Earth! smcq   07/05/05 10:07 AM
. * * Re: Welcome to the world of 3D Google Earth! seerAdministrator   07/05/05 01:20 PM
. * * Re: Welcome to the world of 3D Google Earth! Periboob   07/04/05 10:54 AM
. * * Re: Welcome to the world of 3D Google Earth! ink_polaroidAdministrator   07/04/05 12:56 PM
. * * Re: Welcome to the world of 3D Google Earth! TheSHAD0W   07/11/05 07:05 PM
. * * Re: Welcome to the world of 3D Google Earth! mickmel   07/12/05 05:53 AM
. * * Re: Welcome to the world of 3D Google Earth! MacMedic   07/31/06 07:08 AM
. * * Re: Welcome to the world of 3D Google Earth! seerAdministrator   07/31/06 08:44 AM


Extra information
1 registered and 4 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, NormB, Frank_McVey, BeadieJay, TheLedge, Cyclonic, no_stranger, LuciaM, tekgergedan, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating: ***
Thread views: 196807

Rate this thread

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1