Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Crowdsourced Data Collection, Open Source Mapping And Routing


Reply
 
Share Thread Tools Display Modes
Old 10-02-2009, 08:32 AM   #1
Variable Bitrate
 
lambosprit's Avatar
 
Join Date: Sep 2006
Location: UK
Posts: 447
lambosprit is on a distinguished road
Crowdsourced Map Data Collection App - How it works.

Data collection
I've been playing with my tracking app and made some changes since the release I posted so I'll describe how it currently works.

My tracking app collects data for mapping if the user allows it.
for security/anonimity
It ignores a random number of points when the app is started or comes out of hibernation/suspend.
It deletes a random number of collected points when the app is started or comes out of hibernate/suspend (this is because most of my tracks where to and from work so every end of journey showed where I started previously, not good for privacy!)
All tracks are identified by a personal GUID thats generated when the app is installed.


for collected data.
I collect only latitude and longitude. I give each collected points a sequence number rather than a date and time (again for privacy / speeding issues) to show the order they where collected.
I collect data every 100 meters. This is about one point every 3 seconds at 70mph so easily within most gps equipments capabilities.

Data format
I use an xml file because I had the code for this already.
the xml file name follows the format given by fibreoptic of GUID + date and time
eg.
4006581f-6175-4cec-a92a-f11c7aab005e_20091001_100937.xml

I identify the user by guid in the file as an element (I have to prefix it with the letters ID as xml doesn't allow numbers at the start of an element)
I then use sequence number as an element (again prefixed with seqno)

then I add latitude then longitude

eg.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="GPSTracker.xsl"?>
<ID4006581f-6175-4cec-a92a-f11c7aab005e>
<SeqNo2926>
<latitude>51.6387083333333</latitude>
<longitutude>-0.435913333333333</longitutude>
</SeqNo2926>
<SeqNo2925>
<latitude>51.6382166666667</latitude>
<longitutude>-0.43724</longitutude>
</SeqNo2925>
<SeqNo2924>
<latitude>51.637115</latitude>
<longitutude>-0.43908</longitutude>
</SeqNo2924>
</ID4006581f-6175-4cec-a92a-f11c7aab005e>

Frequency of upload
I dont send data in real time as its only for mapping at the moment.
I collect data for a day then upload it. (while testing I had some bugs so I was updating in real time but I've fixed that now).

Last edited by Heather; 10-02-2009 at 09:11 AM.
lambosprit is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ: XM Cable/XMD1000 Debugging FAQ (test program included) pyros The FAQ Emporium 33 11-05-2009 12:08 PM
Boost mobile? PURDooM Wireless Communications 470 09-27-2009 04:58 AM
Sprint Wireless Internet hack antimatter Wireless Communications 212 10-31-2007 04:33 PM
Music next/prev de-focuses imbedded App HTLuke CF Bug Reports 6 08-07-2005 11:07 AM
VOICES Traffic Data stevieg V.O.I.C.E.S 85 05-31-2004 09:24 PM



All times are GMT -5. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics