In comments from a previous post, TommyBoy writes:
“What I’m looking for and just can’t seem to find; is a simple line plotting tool for Googlemaps. On the weather sites, they’ll say “a storm is expected south of so-and-so to so-and-so to so-and-so. I’d like to pop those cities into a GMap, and have is simply display a straight line connection one city to another, so you can see the storm line. Not following roads and directions, just a point to point to point line. I’ve search high and low, and can’t find anything that simplistic. Ever come across something like this?”
Why yes, I have. Of course, if I hadn’t, I wouldn’t be writing this post :).
The RoutePlanner website allows you to plot routes between locations on a Google Maps interface that you define either by clicking on the map, or entering the location into a search box. For drawing a straight line between two cities, you would do the following:a. Skip the first step the interface, which zooms in on a location of interest - in most cases the zoom will be at too high a level to be useful.
b. Enter the points you want to draw a straight line between, either by clicking on the Google Maps interface, or entering a location (at least city and state) into the search box. When you enter the first point, it will zoom into that location. Entering the second point will not zoom to that location, though, and you will probably want to zoom out to see both markers on the map.
c. You have two sets of options in the third step on the page. The first is supposed to give you the driving route between the two points, but I can’t seem to get it to work (possibly because of pop-up blocking issues). The other draws a “as the crow flies” straight line between the two points, which is what I think you want. There are two options, “Get Crow Route As Entered” and “Get Best Crow Route”, but they usually seem to give the same results for two points. There are times, though, when one of the “Crow” options doesn’t work, while the other does, and that appears to be a problem with clearing out locations from a previous operation.
d. Once you’re done, you can zoom out to see the line between the two locations, clear everything and Start Over, or even save the points and drawn line in a permanent URL you can bookmark, like this one.
One thing to keep in mind, though, is that only North/South and East/West lines will be “true” in terms of direction. I believe Google Maps uses the “Plate Carree” (”flat and square”) or equirectangular projection, where the grid uses an equal spacing for latitude and longitude degrees in the y and x directions. But on the earth, the distance spanned north/south by a degree of latitude is constant, while the distances spanned east/west by a degree of longitude is greatest at the equator and shrinks to zero at the poles. So line drawn on the map that isn’t exactly east/west or north/south doesn’t represent the bearing angle from one point to another correctly, but will be skewed southward somewhat. For the purposes you want to use this for, though, it’s not that big of a deal.
Another thing to remember is that on a flat representation of a curved surface, like a map of the earth, a straight line is usually not the shortest distance between two points. For that, you’d want a “Great Circle” route plotter, and there’s a pretty good one with a Google Maps interface at the Great Circle Mileage Calculator and Display website. Unlike the RoutePlanner website, you have to manually choose the two points you want to draw a Great Circle between, but creating the points is easy:
1. Enter the locations that you want to create a Great Circle between in the box at the top.
2. Click on Start Course
3. Click on the first point marker, then the second, then click “End At Last Point”; the Great Circle Route will be drawn between the two. You can also add markers to the map manually at this stage as well.
The other options are fairly easy to figure out.
Other posts in the Google Maps Tools series
- Coordinate Data From Google Maps
- Reverse Address Geocoding With Google Maps
- Converting Google Maps Search Results To GPX
- Coordinate, Elevation, Distance And More In Google Maps
- Google Maps "My Maps" Features
- Measuring Elevation, Distance And Area In Google Maps
- Creating GPS Routes In Google Maps
- Thematic Polygon Shapefile Display In Google Maps
- Using The Google Maps Interface To Display General Maps And Images
- Heat Mapping In Google Maps
- Elevation Profile In Google Maps
- Embed Google Maps "My Maps" On Your Web Page
- Real-Time Website Visitor Plotting In Google Maps
- Customizing Google Maps Markers
- Two Fun Cartographic Google Maps Tools
- Simple Guide To Embedding Google Maps "My Maps" On Your Own Webpage
- Another Google Maps Geocoder/Reverse Geocoder
- Drawing Lines Between Points In Google Maps, Straight And Great Circle
- Convert A Google Maps Point To Multiple Text Geographic Formats
- Meet Your Friends Halfway
- Plotting Swivel Data In Google Maps
- Meet Your Friends Halfway II
- Geographic Midpoint Calculator
- GIS-Like Functionality In Google Maps With ZeeMaps
- Creating GPS Waypoints Online From The USGS Geographic Names Information System (GNIS)
- MapMyRide.com
- Exporting KML Data From Google Maps MyMaps To A GPS
- Advanced Tool For Embedding Google Maps MyMaps On Your Website
- Draw/Label On Google Maps, And Generate GPX/KML/Embeddable Maps
- Another Way To Create Embeddable Google Maps With KML Data
- Documenting A Journey With Maptales
- Plot A Coordinate Position On Different Map Pages
- Worldwide Reverse Geocoding With Google Maps
- Google Maps Shaded Relief Site Updates
- Digipoint 2: Export Of Google Maps Points In Multiple Formats, And Elevation Data
- Google Maps Line Tool Now Supports Distance Measurement
- Geographically-Linked Video With VeoGeo
- Recent Google Maps Tools
- Google Maps Mapplets From Zonums Software
- Maximize Google Maps With Google Maps Max
- Mapping Zip And Area Code Boundaries, And More
- Altitudes And Terrain Profiles In Google Maps
- “Friendly” URLs To Address Maps
- Quick Zip Code Information
- Simple Online Form For Creating An Embeddable Google Map
- Embed Synchronized Google/Microsoft Virtual Earth Maps On Your Website/Blog
- Worldwide Contour Lines In Google Maps’ Terrain View
- Plot Gazetteer Features In A Google Maps Interface
- Antipodes Map
- New Features At MapChannels.Com
- Small, Simple Tool For Getting Distances And Bearings Between Points In Google Maps


0 Responses to “Drawing Lines Between Points In Google Maps, Straight And Great Circle”