Page 8 of 9 FirstFirst 123456789 LastLast
Results 71 to 80 of 86

Thread: VOICES Traffic Data

  1. #71
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Data Sources

    Thanks for all the different sources of US data some of you have posted, from looking at it it would take a long time to get basic data for the entire US, and of course there is no guarantee that the plotted positions would be right if I rush through as many as possible.

    What is probably most practical is if you want traffic data for your area, suggest the best source that you would feel confident in trusting. I don't know america and am reluctant to spend 3 days creating code to import the data if to later find out the data is no good to anyone!

    In addition to this, if the source does not offer lat/lon positions then the best alternative is to do the same as veetid and map these locations out on MapPoint with names that match the locations given out on the web site as pushpins. I can export these pushpins as lat/lon and add them as references in the database.

    The web site format needs to be machine-interpretable to some degree, at best this would be TSV/CSV/XML format with lat/lon, at worst a text page set into tables with common descriptions of locations; i.e. the page would have been machine-generated. Flash/graphic based pages are more complicated, but if that is the only data source for your area there is a possibilty that the data is pulled from a text-based source behind the scenes (i.e. Trafficmaster in the UK) so if there is no other option I will give it a go.

    If you're better at me at coding (which doesn't take a lot) you might want to write you own app to download, parse and upload the data. If so let me know. I have no problems in releasing the source to anything I write to do with this or the specifications such as db table structures.
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  2. #72
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Here's the first 'Proof of Concept' application if you want to see the traffic data on the move.

    Download from http://www.stevieg.org/traffic/traffic.zip

    The application currently runs independantly, and works well as an external app in MediaCar. It requires a GPS signal to centre the map on your current location so you can see the traffic nearby.

    If you want to run it at the same time as other apps, you will need a COM port splitter - see Virtual COM Port Splitter

    You'll also need a GPRS or other internet connection to try it on the move; however if you want to test at home look for a GPS simulator (theres one in the above thread)

    It runs using MapPoint Control, so if you have VOICES working you should be fine.

    You will need to change the INI file to reflect your settings such as username on the StevieG.org traffic site

    It's of most interest to UK users at the moment as that has the working data feeds so it could actually be used now by us Brits.

    Note that thanks go to Jamez_Warner for so kindly borrowing me some source code to a basic GPS app so I could get the GPS part of this working

    Here is a screen shot, have fun.
    Attached Images Attached Images  
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  3. #73
    Raw Wave Laidback's Avatar
    Join Date
    Oct 2003
    Location
    Madrid
    Posts
    1,984
    Does that map show any traffic data??

    Shouldn't it be lighting up/ringing alarm bells and telling you to keep the f**k away from the M6 around Brum?

  4. #74
    Variable Bitrate
    Join Date
    Mar 2004
    Posts
    318
    So i presume that "do not enter" icon on the top left refers to a traffic jam? Any idea how we can get this in north america? Looks very impressive! Now we just need to integrate this into voices!

    ry
    Asus Pundit Barebones PC
    7" Lilliput LCD
    P4 2.8ghz 512mb 120gb
    Windows XP Pro, VOICES
    Sony Xplode 10in Sub, Rockford 600w amp
    Pioneer 6x9's and 4x6's, Kenwood 4ch amp
    Black Widow Alarm with Pager

  5. #75
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Quote Originally Posted by Laidback
    Does that map show any traffic data??

    Shouldn't it be lighting up/ringing alarm bells and telling you to keep the f**k away from the M6 around Brum?
    Not at this time of night. However the only reason I wrote this IS because of the M6 around brum which I have to drive into and it's a game of russian roulette at the best of times; though in a weeks time they are going to be roadworks and without this I am f*%$ed!!
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  6. #76
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Quote Originally Posted by ryguy
    So i presume that "do not enter" icon on the top left refers to a traffic jam? Any idea how we can get this in north america? Looks very impressive! Now we just need to integrate this into voices!

    ry
    Yes the Do Not Enter is traffic jam. The pushpin can be changed in the INI file. I will be looking at parsing the data at the server in a better way however to show direction, type, severity etc;

    See Data Sources above, if you can find a web data source that I can parse I will code it into the web server for you
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  7. #77
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    I finished the app I was working on today and I will post it up here tommorrow. I have all the data for CA and weather for everywhere. The app checks your region from GPS and attempts to load the data file, which I keep local to safe money on GPRS bandwidth. Then when you hit update traffic it will just scrap the speeds and store them. I wrote a nice little function that seperates the lat/longs so you can actually see both directions on an interstate/freeway, and also when you zoom in it autmatically adjusts the traffic icons to move them closer to the freeway to keep things sized right. I talked with SA and will be giving my code to him once it is all finished, which will be this weekend. I have all the plotting and a nice xml logic that can be used to store all streetname, lat/long and all data possible on the client, because mobile bandwidth is slow and expensive. As of now I run this in my car and it works great... So for everyone in CA you might be able to find a use...

    I will post examples of how I scraped and stored the correct information and scripts to geocode later this week. This logic could easily be used for anystate in the US with a good source, and there are plenty.
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  8. #78
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Here is my traffic program that I put together to test my lat/longs. It will give you weather and CA traffic information. There are two seperate zip files. I included an extra version that has a CA NMEA line hardcoded into the application. This way people not in CA can download the app and see how it works.
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  9. #79
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Here is my traffic program that I put together to test my lat/longs. It will give you weather and CA traffic information. There are three seperate zip files. The unzip the includes folder, then choose a version. I included an extra version that has a CA NMEA line hardcoded into the application called CA_SET. This way people not in CA can download the app and see how it works. The other one works based on your GPS mouse, mainly for people who actually want to use this in CA or if you want it too get the correct weather information in your car.

    You will need the .NET Framework 1.1

    The regular version, not the CA_SET one, is set to use COM1... I forgot to make this an option, but if yours is different and you can't change it, you can get the CA_SET version to check it out.
    Attached Files Attached Files
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  10. #80
    Jesus Freak antimatter's Avatar
    Join Date
    Jan 2004
    Location
    California
    Posts
    4,545
    I Live in CA. But no remote connection yet. Still trying to sort out alternator whine argg
    -Jesus- King of Kings Lord of Lords

Similar Threads

  1. Voices Navigation Interface
    By antimatter in forum V.O.I.C.E.S
    Replies: 8
    Last Post: 05-14-2004, 07:49 PM
  2. Online Traffic Data (UK)
    By stevieg in forum Software & Software Development
    Replies: 17
    Last Post: 04-27-2004, 03:14 PM
  3. SPOT watch data in CarPC
    By Alric in forum Software & Software Development
    Replies: 1
    Last Post: 03-19-2004, 02:09 PM
  4. Offline Traffic Information
    By ukchris in forum Software & Software Development
    Replies: 7
    Last Post: 03-09-2004, 04:51 PM
  5. Cold hard drive fluid bearing data loss
    By Mikesz in forum General Hardware Discussion
    Replies: 2
    Last Post: 12-13-2003, 08:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •