Google Earth + Wigle Script

Notes regarding project status and info

Google Earth + Wigle Script

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
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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

User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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.
User avatar
ccie4526
Deluxe Net Hugger
 
Posts: 96
Joined: Fri Jun 28, 2002 1:15 pm
Location: fort-stockton.tx.us

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.
User avatar
ccie4526
Deluxe Net Hugger
 
Posts: 96
Joined: Fri Jun 28, 2002 1:15 pm
Location: fort-stockton.tx.us

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

It should just be tilda delimited and in the same order.
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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!
jrcsnet
Great Unwashed
 
Posts: 6
Joined: Mon Sep 06, 2004 5:57 am

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

Irongeek wrote: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?
User avatar
ccie4526
Deluxe Net Hugger
 
Posts: 96
Joined: Fri Jun 28, 2002 1:15 pm
Location: fort-stockton.tx.us

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.
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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 ?
Darknet
Yagi Disciple
 
Posts: 14
Joined: Sun Oct 19, 2003 10:01 am

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

Find that line number and post it here.
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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

Image
Darknet
Yagi Disciple
 
Posts: 14
Joined: Sun Oct 19, 2003 10:01 am

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?
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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

BSSID: 00:03:2f:1f:9c:41<BR>
Darknet
Yagi Disciple
 
Posts: 14
Joined: Sun Oct 19, 2003 10:01 am

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.
User avatar
Irongeek
Yagi Disciple
 
Posts: 20
Joined: Tue Oct 19, 2004 4:56 pm

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

whats the best program to open the file to see whats at that line ?
Darknet
Yagi Disciple
 
Posts: 14
Joined: Sun Oct 19, 2003 10:01 am

Next

Return to WiGLE News

Who is online

Users browsing this forum: No registered users and 1 guest

cron