LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to decode Google map polyline from 64base to decimal number

I need help decoding Google map polyline ASCII characters to decimal point. Can someone please help, I have tried few example on NI website but they do not produce desired results. I need something that is going to work like Googles decoder utility here. They have explanation how to encode here. It there some function in Labview that can do this.

0 Kudos
Message 1 of 7
(4,028 Views)

since you have the encoding mechanism totally explained, all you have to do is reversing it and then get the values you need

__________________
Engage! using LV2015
0 Kudos
Message 2 of 7
(3,978 Views)

Well, there are many ways to do all that. Here's a quick attempt that seem to produce the correct numbers. (within ~1e-5).

This is just a very quick draft of a very literal translation. I am sure it could be streamlined quite a bit more. 😉

 

(LabVIEW 2014. Let me know if you need an older version)

 

Download All
Message 3 of 7
(3,958 Views)

Thank you.  Can you please uplod files for labview 2013. 

 

Nermin

0 Kudos
Message 4 of 7
(3,923 Views)

@Nermin wrote:

Thank you.  Can you please uplod files for labview 2013. 


Try this....

 

0 Kudos
Message 5 of 7
(3,903 Views)

Interesting topic!

Still I can't use it because I'm running Labview 2012... Smiley Sad

 

is it possible to convert the code to LV2012?

 

Thanks in advance,

Pieter Blok

The Netherlands

0 Kudos
Message 6 of 7
(3,605 Views)