Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: My Traffic Program Source Code

  1. #11
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    I have heard of the RDS, but don't know too much about it... I actually haven't had a chance to work on this in a long time... The only area that needs to really be updated is the San Francisco seciton of the xml file... I need to actually try and hook back up a guy in the threads that is trying to setup a traffic database.. That way I would be submitting the ca data and how to get it and he already has UK and some others loaded... Then other people could follow and there would be a global traffic database Wouldn't that be awesome I will post a new ca.xml file when I get a chance... Been busy at work.. I also sent a copy of my code to SA and hopefully we can work some kind of implementation into VOICES GPS Navigation... That way I don't have too write what he already has
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  2. #12
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    Hi Veetid

    I've been tinkering with the app this evening. I made some mods to it, to make it more touchscreen friendly, larger font, slightly larger buttons, etc. Find the GPS port etc, Nothing much.

    I can see how the weather data is being fetched down by reverse geo-encoding the lat/lon to postcode and submitting off to MSN, but I dont understand a couple of things. I dont have the GPS plugged into the machine with VS2003, so I hardcoded the NMEA data to my location; however, why does it ask me for the region for traffic data? I would assume it would pick the location im in? Also, I couldnt see where it actually gets the traffic data from? It appears that the ca.xml takes the location and can return the uri to fetch for data right?

    Anyway, im tired and bleary eyed, so I'll go to bed and look again tomorrow.

    I like it, by the way, its the most interesting thing to come up for a while.
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  3. #13
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Basically the URL that it uses to fetch each subsection is in the XML.. You basically will see a URL for each road, such as I5 North and all data comes from www.sigalert.com... The reason I made it ask you is because you can't be sure which data you would want to show... For example I live in North County San Diego... My postal code would show up as Carlsbad... I would have had to code something in the program to go through a huge lookup list of every single postal code in CA and then map them down to the handful of cities I can retrieve traffic data for... This would have worked and is still a possible good idea, but wouldn't always be correct... For example... I get up in the morning and it would have a Carlsbad postal code and I hit traffic data.. Well I am in San Diego County, so most likely my program would choose and show San Diego traffic, but what if I was driving to LA? I would want to see Orange County / LA County traffic data to my north... The reason I made it ask is because my GPRS data plan cost money and I never wanted it to make an assumption... If I was in LA and wanted to see San Diego traffic to the South and I hit traffic and didn't think about it, it would automatically download LA traffic data, which is a lot of kilobytes... Since every state will only have a handful of options I figured leaving it at the state level would be fine.... I actually planned on a bunch of things, but have been really busy at work.. Let me know when you get done, I would love to see the changes you make...
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  4. #14
    Low Bitrate TommieG's Avatar
    Join Date
    Mar 2004
    Location
    Norway
    Posts
    106
    Quote Originally Posted by veetid
    I have heard of the RDS, but don't know too much about it...
    RDS (Radio Data System) is a service provided by radio stations. In addition to conventional analog FM radio signals, the stations also transmit additional information in the form of encoded digital signals that can be analysed by the car radio.

    The following RDS services are currently available.

    AF (Alternate Frequency): The car radio automatically selects the frequency with the best reception for the current programme.

    EON: In the event that a traffic announcement (TA) is transmitted on any station in the station network, the car radio will automatically switch to that station for the duration of the message if you are currently listening to a station that does not transmit traffic information.

    Music/Speech (M/S): In future, a number of radio stations will differentiate between music and speech programmes. It is possible (with DSC) to select a separate setting (bass and treble cuts) for speech programmes.

    PI code: With the help of the PI code, the car radio can identify the station you have tuned into.

    PS (Program Service): makes it possible to display the radio station name.

    PTY (Program Type): a function supported to an increasing extent by the radio stations that enables the car radio to select radio stations by their genre (i.e. news, rock, pop, sport, etc.).

    RT (Radiotext): additional information transmitted by the radio station (i.e. the title of the programme, the name of the artist, the name of the song, commercials etc.).

    Tom
    VIA EPIA M9000/120 GB/Xenarc 700TSV/Opus 90W DC-DC
    Haicom GPS/3Com 11g Wi-Fi/D-Link BT
    WinXP/myHTPC/InfoMap Navigator Eu/PhoneControl w/T68i
    Blaupunkt HU & speakers/Velocity active subs/Alpine amps

    Progress: removed while waiting for nano-itx

  5. #15
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    Thanks TommieG

    I was looking around for something that would have an antenna and USB/serial connectors, it would simply output some form of XML corresponding to traffic it found. Or, if our US radios would do this then maybe the out-of-band data could be fed to a serial/USB port... A pipe dream I presume.
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  6. #16
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    VTD

    why did you bother with weather? In San Diego its either 'Perfect' or 'Near Perfect'. I suppose you might want to know which one
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  7. #17
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    I agree
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  8. #18
    Newbie
    Join Date
    Jun 2004
    Location
    Central Jersey, NJ
    Posts
    15
    RDS is awesome...I don't understand why U.S. is always so slow to pick up on new technologies...it seems like the sheer size of the giant is slowing it down..I go to Europe (Poland) every summer, and I get to see better technologies (phones, RDS, etc.) than here.

    Great idea with this program, btw

  9. #19
    Newbie
    Join Date
    Apr 2003
    Location
    LA
    Posts
    28
    I've switched from mappoint 2002 to 2004, and now everything is working. I'm really impressed.
    The only sad part is that downloading entire traffic data by xml takes about 2M of data. Comparatively, downloading it as a picture only takes 100k, at: http://traffic.tann.net/maps/lar6traffic.jsp

  10. #20
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    That is true... Especially for LA... There are so many roads and directions and you have to grab the entire text based pages and parse all the information out... I actually have been linking to a picture for my traffic because of my GPRS plan.. Hopefully ATT will have an unlimited data plan soon, but right now they don't...
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

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