• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Google Earth Blog

The amazing things about Google Earth

  • Home
  • About
  • Basics
  • Links
  • Tips
  • 3D Models
  • Sightseeing
  • Videos

rhumb line

Drawing straight lines with KML

October 6, 2014

While writing the 3D imagery post we came across this oddity: If you draw a path in Google Earth, the line segments follow geodesics, which are parts of great circles. If you draw a polygon, the sides are rhumb lines (also known as loxodromes or lines of constant bearing). A geodesic is a straight line on a three dimensional globe. A rhumb line is a straight line on the Web Mercator projection used by Google Maps.

On looking up the KML reference documentation the only mention as to whether the lines drawn will be geodesics or rhumb lines is a small note that appears under <Polygon> and <LinearRing>.

KML documentation note

And this seems to be the only reference in the KML documentation to either geodesics or rhumb lines or when one or the other will be used to render a line. After some experimentation it was noticed that in actual practice, in Google Earth, a filled polygon uses rhumb lines whereas an unfilled polygon uses geodesics. We also tried importing KMLs into My Maps, and it turns out that My Maps always uses geodesics.

So if you work with polygons in Google Earth, keep in mind that:

  • If you change its ‘filled’ attribute you will affect whether it uses geodesics or rhumb lines.
  • If you want an unfilled polygon that still maintains rhumb lines for its vertices, then don’t change it to unfilled, but change the opacity of its ‘filled’ attribute to zero.
  • If you import filled polygons into My Maps via KML they will be converted from rhumb lines to geodesics.

Filled polygon with rhumb line sides
Filled polygon showing rhumb line sides. Rhumb lines drawn on a globe curve more near the poles.

We have also created a KML for you to download demonstrating the different effects.

Filed Under: Google Earth Tips Tagged With: geodesic, KML, rhumb line



Primary Sidebar




Categories

  • 3D Models (792)
  • Applications (708)
  • Business (288)
  • Environment (353)
  • Flying (208)
  • GE Plugin (282)
  • Google Earth News (1,764)
  • Google Earth Tips (592)
  • GPS (136)
  • Navigation (227)
  • Network Links (214)
  • Sailing (121)
  • Science (499)
  • Sightseeing (1,903)
  • Site News (587)
  • Sky (67)
  • Sports (154)
  • Street View (50)
  • Tours (117)
  • Video (421)
  • Weather (180)

Google Earth Satellites

Copyright 2005-© 2026 Frank Taylor. All Rights Reserved.

This blog and its author are not an official source of information from Google that produces and owns Google Earth Google and Google Earth are trademarks of Google Inc.. All image screenshots from Google Earth are Copyright Google. All other trademarks appearing here are the trademarks of their respective owners.