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: 

XML parser for Google maps

Hi every one,

 

I am trying to create a special format of an XML file for Google maps, I have a VI who takes the NMEA and sort out the parameters I need to create a track on the map, but I have try to make the XML file in LV but I get not right format of the XML.

 

This is how the file should look like :

 

file  data.zip

And how it looks like when I use LV :

 

file  LV_data.zip

 

 

xml google.png

 

 

 

Hope to try to find a solution 🙂

 

Thanks

 

Lars Olov Jonsson

 

Space Electronics Engineer

Near Space Technology

 

WiFi Guru, proud holder of world record in WiFi, 421 Km @ 2 mbit/s
Download All
0 Kudos
Message 1 of 4
(3,557 Views)

Hi loj,

you can build the required format with the string functions.

See the attached example.

 

Mike

0 Kudos
Message 2 of 4
(3,509 Views)

You should check out EasyXML from JKI -- disclaimer: I work for JKI 🙂

 

There's a great example of how to generate a Google Earth KLM file (somewhat similar to the Google Maps format).

0 Kudos
Message 3 of 4
(3,476 Views)

Hi Mike

 

Many thanks, your sollution solved some of my problem 🙂

 

Thanks

 

My Regards

 

Lars Olov

WiFi Guru, proud holder of world record in WiFi, 421 Km @ 2 mbit/s
0 Kudos
Message 4 of 4
(3,452 Views)