Google Earth + Wigle Script

Notes regarding project status and info

32 posts • Page 1 of 3

Postby Irongeek » Tue Jul 26, 2005 2:02 am

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
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby Irongeek » Tue Jul 26, 2005 4:59 pm

Ok, here is is:

http://www.irongeek.com/i.php?page=secu ... oogleearth
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby ccie4526 » Wed Jul 27, 2005 12:12 am

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.

Postby ccie4526 » Wed Jul 27, 2005 12:18 am

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.

Postby Irongeek » Wed Jul 27, 2005 12:31 am

It should just be tilda delimited and in the same order.
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby jrcsnet » Wed Jul 27, 2005 8:39 am

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!

Postby ccie4526 » Wed Jul 27, 2005 11:16 pm

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?

Postby Irongeek » Thu Jul 28, 2005 7:46 pm

Sure. By the way, my site is down right now because I exceeded my bandwidth for the month. It will be back Monday.
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby Darknet » Mon Aug 01, 2005 3:55 pm

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 ?

Postby Irongeek » Mon Aug 01, 2005 3:57 pm

Find that line number and post it here.
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby Darknet » Mon Aug 01, 2005 4:45 pm

Image

Postby Irongeek » Mon Aug 01, 2005 5:36 pm

That's not what I mean. What's at that line number in the KML file?
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby Darknet » Mon Aug 01, 2005 6:01 pm

BSSID: 00:03:2f:1f:9c:41<BR>

Postby Irongeek » Mon Aug 01, 2005 6:03 pm

Huh, give me the 10 lines above and below it also. Myaye it's some unprintable chracter messing it up.
[url]http://www.irongeek.com[/url]
[img]http://irongeek.com/sigs/sig.png[/img]

Postby Darknet » Mon Aug 01, 2005 6:13 pm

whats the best program to open the file to see whats at that line ?

32 posts • Page 1 of 3

Return to “WiGLE News”

Who is online

Users browsing this forum: No registered users and 22 guests