From OpenStreetMap Wiki
Jump to: navigation, search

Currently uploading 2 years worth of GPS traces from Kismet wardriving session in Copenhagen, North Sealand, Fyn and South Jylland. Before each upload, the gpx files has been edited in JOSM, so segments, nodes and ways are assigned in the OSM dataset, before each GPS trace is uploaded.

After processing the first 3 months of data during my first week as a registered user, I made it on to the OSM database statistics Top 10 Users list for uploads of GPS data. One additional month of data moved me up to 7'th place. After 8 months of data has been processed, I'm now at 5'th place. I wonder how high I'll get, when all the two years data is processed and uploaded.. ;)

Just for the heck of it, I've included two pictures of the OSM dataset for Copenhagen. The first shows the state at the time of the April 2006 planet.osm dump. The second shows the same area, on the 17'th of June 2006, after I have uploaded and processed 118 GPS traces. I'll update the second picture regularly, as I upload and process more of my data files.

Copenhagen from OSM.Planet april 2006 dump

Copenhagen from OSM.Planet april 2006 dump

Copenhagen from actual OSM dataset June 17'th 2006

Copenhagen from actual OSM dataset June 17'th 2006

Converting Kismet .gps files to gpx

For other wardrivers, wanting to convert their kismet.gps logs to gpx format, I'm posting the converter written by Christopher Schmidt here.

import sys, time, re, xml.sax
from xml.sax.handler import ContentHandler

class kismet2gpx (ContentHandler):
    def __init__ (self):

    def startElement (self, name, attr):
        if name == "gps-point" and attr['bssid'] == "GP:SD:TR:AC:KL:OG":
            print """<trkpt lat="%s" lon="%s">
            </trkpt>""" % (attr['lat'], attr['lon'], attr['alt'], time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(float(attr['time-sec']))))

if __name__ == "__main__":
    kismetParser = kismet2gpx()
    print """<?xml version="1.0"?>
    xml.sax.parse( sys.stdin, kismetParser )
    print """</trkseg></trk></gpx>"""

Copy the above to a file, save as, set execute permission. Usage is "cat kismet.gps|grep -v DOCTYPE|./ > kismet.gpx"

Another converter written in perl can be found on user:goldfndr's page.

J. D. "Dutch" Schmidt

Osm@Home client changes

Old client, osmarender 3 based


New client, subtle Bezier curves and osmarender 4 based


Megastar.png Dutch is awarded a MegaStar for uploading one million track points.