ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Google maps driving route with Labview

Solved!
Go to solution

I have a project where I need to generate driving route between two points on Google maps, and use Google KLM database/or any other database to determine how many miles were driven in each state where route passes. 

 

Does anybody have any idea how to accomplish this task. 

0 Kudos
Message 1 of 2
(3,853 Views)
Solution
Accepted by topic author Nermin

Hello Nermin,

 

I have been able to find a few documents that should help you get started.

 

First, I found a tutorial for using the Google Charts JavaScript API with LabVIEW.  This uploads data to a web service using SQLite and JSON.  You can modify this example to upload the data to a web server running the Google Maps API, and then download the distance.

 

http://www.bloomy.com/sites/bloomy.com/files/bloomy_whitepaper_upandrunningwithlabviewwebservices.pd...

 

Second, I found a document use MySQL and PHP to interface with Google Maps.

https://developers.google.com/kml/articles/phpmysqlkml#outputkml

 

You can use the LabVIEW Database Toolkit to access MySQL databases. The user manual to this toolkit will help you get started with these VIs.

http://www.ni.com/pdf/manuals/371525a.pdf

 

Good luck with your assignment.

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,780 Views)