Long KML text file with no return chars

William Prothero prothero at earthednet.org
Fri Mar 20 18:38:00 EDT 2015


Thanks for the ideas, folks. 
It seems that the problem was getting breakpoints and the IDE mixed up in this. Without any breakpoints, it reads in the file and processes it into an array using Trevor’s code, in a couple of seconds. It works equally well with both of the ways of reading, the the open,read, and close, and with the URL method. But, with a breakpoint in that code, it gets enormously slow and appears to hang.

Anyway, this will be a one-time conversion. I use ArrayEncode and arrayDecode to store the file, then will use arrayDecode to use it.

FYI: there are quite a lot of KML files available for those who want to draw various features onto a map.

Thanks,
Bill

William A. Prothero
http://es.earthednet.org/




More information about the use-livecode mailing list