Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: My Traffic Program Source Code

  1. #1
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040

    My Traffic Program Source Code

    Here is what I had working.... It does GPS tracking, reverse geocoding, weather for current location, and can update traffic data for CA... You will notice in the SetLocation function you can un-comment the hard coded NMEA line and the Thread.Sleep line and then comment out the two that are currently there (this will make since when you see the code)... This will allow you to be hardcoded in CA and not read the NMEA line from the serial port so that you can see how the traffic section works... Currently in the code it is hard coded to COM1 and North America... I haven't had time to work on it in a while so I thought I would just put it out there for everyone.. Its in C#, written in Visual Studio .NET...

    Also the bin/Debug/Traffic/Tools folder is not needed for the program to run, but is a bunch of data files and vbs scripts that I used to geocode all the intersections and create the ca.xml file that has all the lat/longs and makes it possible to retrieve the traffic data...

    http://mirkwood.gotdns.com/downloads/carconnection.zip
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  2. #2
    Newbie
    Join Date
    Feb 2004
    Posts
    35
    Thanks a bunch man!

    I've already integrated it into my .net app!

  3. #3
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Let me know when you get something going... My ca.xml files needs to be updated... They actually fixed some streets on the site I get my information from.... Mainly the San Francisco area... It will make my geocoding more accurate and add more locations to the map.
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  4. #4
    Newbie
    Join Date
    Apr 2003
    Location
    LA
    Posts
    28
    Hi Veetid, sorry be a bother you.

    When I try to start either carconnection or the ca_set version, I get windows showing an exception error, and a second window saying mappoint needs to close. I have mappoint '02 and .NET 1.1 installed.

    Does carconnection needs to be copied to a particular directory?
    Guess I'll have to install visual studio to really see what's wrong.

  5. #5
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    What is the exception? It should work fine with 1.1 framework and Mappoint 2004... I have never tested with Mappoint 02..
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  6. #6
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    VisualStudio .Net 2003 or 2005?

    I'll install whichever you suggest...
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  7. #7
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    BTW Veetid are you N. CA? SF Area?
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  8. #8
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    North County San Diego and I haven't installed 2005 yet.. I just use 2003...
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  9. #9
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    OK, im downloading both, so I'll give it a try tonight. Have already updates the XML file of geo-data?

    We are also thinking of moving down to the La Jolla area.
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  10. #10
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    I meant to say, have you already updated the xml file, but my toddler was tugging at my arm...

    A good enhancement request would be to predict the traffic and weather, because when there is an accident ahead of me, I never have internet access. If you could use the reality-look-ahead buffer - this is only available in .Net2005 that would be great...

    Are you aware of any trickle fed radio based traffic systems in CA. The UK has something like this, I think it was called RDS. The UK has been really far ahead in these things.
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

Page 1 of 3 123 LastLast

Similar Threads

  1. GPS/MapPoint VB Source Code
    By stevieg in forum Software & Software Development
    Replies: 7
    Last Post: 01-28-2011, 03:59 PM
  2. Alpha Release: XMPC-CAR for XM
    By gork in forum Software & Software Development
    Replies: 88
    Last Post: 01-11-2006, 12:19 PM
  3. MPXPlays Source code is available!!
    By Fosgate in forum Software & Software Development
    Replies: 3
    Last Post: 05-30-2001, 05:18 PM
  4. c++ LCD source code
    By mprover in forum Software & Software Development
    Replies: 3
    Last Post: 01-19-2001, 03:32 PM
  5. Dos MP3 player/decoder source code?
    By Fosgate in forum Software & Software Development
    Replies: 4
    Last Post: 03-23-2000, 03:46 AM

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
  •