Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Is there any tool or method in order to convert Google Map route, direction into array of lat/lon coordinates? What I am trying to do is to simulate NMEA sentences in order to test my application.

share|improve this question

migrated from superuser.com Nov 5 '12 at 20:01

This question came from our site for computer enthusiasts and power users.

1 Answer 1

You can play with the Google Maps API, or, if you're just interested in quickly finding the coordinates of the waypoints on a Google Map route, you can generate a .gpx file (in either Garmin or "generic" format) using this tool


The resulting .gpx file has the data you need, in decimal degrees of lat & long. According to the instructions, Google's free API limits to 10 waypoints. Note that I don't have affiliation with A. S. Buden (http://www.cgtk.co.uk/)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.