On 27 August 2010 13:44, Nils <[email protected]> wrote:
>  Hey Robin, sounds great  :-)
>
> Being a Python novice I started fiddling around with the netxml2kml.py
> script I mentioned earlier (from
> http://www.salecker.org/software/netxml2kml/en)
> I added a few lines to get the average of the GPS data of two
> subsequently updated access points. It works pretty OK.
>
> if len(self.gps)>0 and len(new.gps)>0:
>                        self.gps['avg-lon'] = (float(new.gps['avg-lon'])
> + float(self.gps['avg-lon'])) / 2
>                        print "Average GPS lon: %s" %
> str(self.gps['avg-lon'])
>                        self.gps['avg-lat'] = (float(new.gps['avg-lat'])
> + float(self.gps['avg-lat'])) / 2
>                        print "Average GPS lat: %s" %
> str(self.gps['avg-lat'])
>
> But I'd love to have giskismet doing the same job and your suggestion
> taking the stronger signal sounds much better to me than just using the
> average GPS data.
> Now I figured that giskismet is plain Perl and I might be able to do it
> on my own.......but if you have some spare time.....and I guess you
> could do it in 5 minutes  :-)
>

I'll see what I can do, if you can send me a couple of files that
overlap that I could use to test it would be useful. Send them offlist
is best.

Robin
_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Reply via email to