Page 1 of 3

Google Earth + Wigle Script

Posted: Tue Jul 26, 2005 2:02 am
by Irongeek
I found a way to take the cached access point data from JiGLE and turn it into a KML file that can be imported into Google Earth application (http://earth.google.com/). The online Google map at http://wigle.rustyredwagon.com is great, but using and sorting through Google Earth is much faster. I’ve got a bit of cleanup to do on the script but I plan to post it tomorrow.

An example of the output can be found here:

http://homepages.ius.edu/adrian/Floyd-C ... sville.zip

Posted: Tue Jul 26, 2005 4:59 pm
by Irongeek

Posted: Wed Jul 27, 2005 12:12 am
by ccie4526
Got a bug report....

In Kismet, if the AP is running with broadcast SSID turned off, and if it doesn't discover the SSID through association response, the logged ssid is "<no ssid>". When processed through the script, the kml file contains the line:
<coordinates><no ssid>,00:0B:FD:B8:11:13,0</coordinates>

GoogleEarth returns an error on this line, specifically:
Parse Error: expected equal sign at line: ##

Obviously it's the <> around the "no ssid".

I'm not a PHP expert, but I'll beat on it a bit.

Posted: Wed Jul 27, 2005 12:18 am
by ccie4526
Ok, I get to eat crow.

This script does NOT work on the cache files that are downloaded by the DiGLE client. Apparently the file format syntax is different.

Posted: Wed Jul 27, 2005 12:31 am
by Irongeek
It should just be tilda delimited and in the same order.

Posted: Wed Jul 27, 2005 8:39 am
by jrcsnet
I can confirm it works nicely with Jigle but not with digle... I used it to pull all the AP's in and around Calgary out (20,000+) and fed them through, and it worked like a charm. Surprisingly Google Earth even managed to load the file without locking up my slowest desktop (athlonxp 1600 w/ 256mb ram).

Awesome work! This should make tommorow's trip more productive!

Posted: Wed Jul 27, 2005 11:16 pm
by ccie4526
It should just be tilda delimited and in the same order.
Tilde delimited, yes. Same order, no. I have an updated version that does work, forgot the exact specifics off the top of my head, I'm sitting in an airport at the moment. You want a copy to your email?

Posted: Thu Jul 28, 2005 7:46 pm
by Irongeek
Sure. By the way, my site is down right now because I exceeded my bandwidth for the month. It will be back Monday.

Posted: Mon Aug 01, 2005 3:55 pm
by Darknet
I used a Jigle Cache file and i still get that error:
GoogleEarth returns an error on this line, specifically:
Parse Error: expected equal sign at line: ##
What's wrong ?

Posted: Mon Aug 01, 2005 3:57 pm
by Irongeek
Find that line number and post it here.

Posted: Mon Aug 01, 2005 4:45 pm
by Darknet
Image

Posted: Mon Aug 01, 2005 5:36 pm
by Irongeek
That's not what I mean. What's at that line number in the KML file?

Posted: Mon Aug 01, 2005 6:01 pm
by Darknet
BSSID: 00:03:2f:1f:9c:41<BR>

Posted: Mon Aug 01, 2005 6:03 pm
by Irongeek
Huh, give me the 10 lines above and below it also. Myaye it's some unprintable chracter messing it up.

Posted: Mon Aug 01, 2005 6:13 pm
by Darknet
whats the best program to open the file to see whats at that line ?