cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Coordinates Information from Yahoo! Maps Web Services Using HTTP Client VIs

Overview
To use the GET.vi from the HTTP Client Palette to retrieve data from Google map service web service

Description:
This example shows you how to use the GET.vi from the HTTP Client Palette to retrieve data from Yahoo's map service web service.  This was done in a previous example using DataSockets, but I wanted to show how this was done using the new for 2009 HTTP Client VIs.

Steps to implement or execute code
To implement this example:

  1. Fill out the Information of the Street, City and State as needed
  2. Run the VI
  3. (Optional) Turn on the Highlight Execution to see the flow of the VI


To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

 

fp.JPGbd.JPG

**This document has been updated to meet the current required format for the NI Code Exchange.**

Comments

Hi Justin,

I can't seem to get your example work. Is it because Yahoo has shutdown the service?

Hi Krisna,

You care correct, the service was shut down.  It looks like it has been down since Sept.  Too bad this was a fun example.  Maybe I'll get a chance to do the same thing with Google's.  Thanks.

I do agree, I've learnt a lot from your example. Thanks nevertheless.

To do the samething with Google take a look here.  They show the example url "

http://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true_or_false". From here you can query a street address and parse the results similarly.

I remade the example calling Google's web service here: https://decibel.ni.com/content/docs/DOC-20762

If you try to open this example in LabVIEW 2009 and 2009 SP1 the HTTP Get.vi does not actually exist because it wasn't included yet in the 2009 Library. The HTTP Client VI's weren't introduced until LabVIEW 2010. If you were to open this VI in LabVIEW 2010 or higher the VI should load without a missing dependency for the GET.vi.