www.traffic.com for us traffic info. others may know of a better us site.
09-14-2006 Update: XMLTraffic_V1.1_beta.rar
The plugin is now configurable. Examples are provided in the download for dutch and usa traffic. Read the readme.txt for details.
08-27-2006
I have developed a plugin for RR that will show information on traffic jams. The plugin is getting this information from a XML, HTML or text file in the plugin directory. The file can be downloaded from the internet using a supplied script. I'm using the AutoNetDetect tools myself so that whenever a internet connection becomes available the traffic information is downloaded in the plugin directory. Because no standard is defined for traffic info message in XML format (at least not to my knowledge, please proof me wrong) I have to change the function to extract the data from the text or XML file per internetsite the imformation is coming from. Currently if have made this work for The Netherlands but if you supply me the location of the traffic information for your region I will see what I can do. So, I'm calling upon my fellow dutch-people to test this and let me know the results.
XMLTraffic_V1.0_beta.rar
XMLTraffic plugin how-to
Extract the attached rar file in the (new to create) plugin\XMLTraffic directory in the RR Path.
If you are using a plugin for the first time, please copy the wait.jpg and wait.skin to your RR skin directory if it does not already exist.
In my skin's ExecTbl.ini I added the following line:
"TRAFFIC","PLUGIN;XMLTraffic;C:\Program Files\Road Runner\Plugins\XMLTraffic\XMLTraffic.exe"
I can now call the traffic info page using a button with the command "TRAFFIC"
A sample XML is supplied in the RAR so you will see the dutch traffic info of the 26th of august at 23:30.
XMLTraffic skining how-to
If have created the following labels and buttons in the XMLTraffic plugin (see sample XMLTraffic.skin)
Labels
TRAFFIC_ROAD Name of the highway, road
TRAFFIC_TITLE
TRAFFIC_LOCATION Location between which cities or places the traffic jam is
TRAFFIC_DESC More detailed info about the traffic jam
TRAFFIC_LENGTH The length of the traffic jam
TRAFFIC_LON Longitude info of the traffic info
TRAFFIC_LAT Latitude of the traffic info
For the above labels: the Tooltip property of the label is used to identify the number of the label. This means you can add the same labels in screen to create a list of traffic info. Max number of the tooltip will set the "page size" used to calculate the number of traffic info pages.
TRAFFIC_TOTAL Number of traffic jams found in the XML, HTML or txt file
TRAFFIC_TOTAL_LENGTH Total Length of traffic jams
TRAFFIC_UPDATED Time the information was last updated
TRAFFIC_PAGE Current page of info being looked at
TRAFFIC_PAGES Number of traffic info pages
Buttons
TRAFFIC_PREV Go one page back
TRAFFIC_NEXT Go to the next page (if available)
RELOAD_TRAFFIC Reload the traffic info (after the XMl, HTML or text file was updated)
To-do
I'm thinking of adding another screen with mobile speed camera info.
My car: 2006 Hyundai Santa Fe 2.2 CRDI AUT
Hardware: None at the moment
Software: None at the moment
See: Velleman K8055 Plugin for Road Runner
Progress: [XXXXXXXXXX] 0 % DONE
www.traffic.com for us traffic info. others may know of a better us site.
69 Mustang
408 clevor AFD 2v heads - Viper T56
Audio:RUX-C701, PXA-H701, MRV-F545, (2) MRD-M1005, SIR-SC-H1, DMHD1000, Dayton Audio: (2) RS180-4, (2) RS28F-4, (2) RSS265HO-44 DVC
My car: 2006 Hyundai Santa Fe 2.2 CRDI AUT
Hardware: None at the moment
Software: None at the moment
See: Velleman K8055 Plugin for Road Runner
Progress: [XXXXXXXXXX] 0 % DONE
looks good.. yahoo has some decent rss feeds
ill have to download this and try it out ill be doing something similar with gpsgas
/ok back to coding for me![]()
.______
| '_ |__\___
[(o)|___(o)] XB
._________
| I__I I_I|_\__I
[(o)______(o)]b VanPimpin'
LostReceptions Apps D/L Here
GPSGasoline- Rewriting
Draw- SkribblePad for Touchscreens
iGQwerty-iG3.0 Qwerty Keyboard
CarPCNetwork
My car: 2006 Hyundai Santa Fe 2.2 CRDI AUT
Hardware: None at the moment
Software: None at the moment
See: Velleman K8055 Plugin for Road Runner
Progress: [XXXXXXXXXX] 0 % DONE
.______
| '_ |__\___
[(o)|___(o)] XB
._________
| I__I I_I|_\__I
[(o)______(o)]b VanPimpin'
LostReceptions Apps D/L Here
GPSGasoline- Rewriting
Draw- SkribblePad for Touchscreens
iGQwerty-iG3.0 Qwerty Keyboard
CarPCNetwork
http://www.traffic.com/Pittsburgh-Tr...c-Reports.html if you could somehow toss that into the xml traffic plugin that would be great. Covers the metro pittsbugh, pa area, and I know we have other peeps from PGH on the forum as well. GO STEELERS!
Cooooool... My fav subject.
Ideally you need to have the RSS feeds map on to a static map or even MSN Earth ( or what ever it and Google call them selves although MSN is better IMHO.
Here is a load of UK info - thanks to Rusty for shouting me on this...... oh and if you need any more specific UK stuff let me know - I'm in to all this...
TerranFound this while surfing the net the other day... any one fancy creating a plug in / addon for FD ?
I know the camera data is goverment and in thery copy right free how ever Traffic TV have some kind of exclusive contract arround the delivery of it to the public... there have been a few news reports about this and simular data.... the traffic data - not so sure but its useable
h**p://members.traffictv.co.uk/data/data.asp
Suggested Interface -
That a menu should have
TM data on off
Cam data on off
Refresh time ( ie collect data on net and read in to loacl file ( which also needs clearing down when FD starts / comes back from hibernation to ensure latest data
Auto display cam pic
clear down manual
( and may be a few more )
The Map
The TM data URL provides the image file needed for the POI - this just needs displaying using the lat long co ords. If poss flashing would be cool.
You probably need an error routine as well... ie try three times to collect the online data before displaying a fail icon on screen. This could be retried bly clicking the said icons to do another three and so on...
This will take account of loosing GPRS connections for an extended period and if the mobile phone is not in the card... if you use a phone....
I have plenty more infomation sources but this is one of the better ones... and yes I know Gobby is up to some thing but this may work in conjunction or at least while we wait.
Terran
PS If you really want to use the above traffic data then I suggest you buy a subscription to say you at least have a right to use it in this format.
EDIT - Other Sources
TPEG UK - http://www.bbc.co.uk/travelnews/xml/tpegml_en/rtm.xml
TMC UK - h**p://www.getmethere.co.uk/temp/map1.xml - h**p://www.getmethere.co.uk/temp/map15.xml
TMC UK ( But Can do EU Areas ) - http://h**p://rs0124.66.com:8080/tmc...G&m=eng8&u=130 <--- Most of the EU supported by this loaction![]()
Links To Other TMC Services - http://www.navigatiehosting.nl/
England RSS Feeds - http://www.realtime-traffic.info/index.htmlAs Follows
http://www.qmissxmlservice.org.uk/XM...GD/content.xml ( All )
http://www.qmissxmlservice.org.uk/XM...SS/content.xml
http://www.qmissxmlservice.org.uk/XM...RW/content.xml
http://www.qmissxmlservice.org.uk/XM...TE/content.xml
Scotland - http://www.trafficscotland.org/ ( its there some where )
Wales - http://www.traffic-wales.com/home.php?lang=english ( its there some where )
TMC Event Icon Set - http://rapidshare.de/files/25826587/TMC.zip.html
TPEG Standard Info - http://www.bbc.co.uk/travelnews/xml/ & http://www.bbc.co.uk/rd/projects/tpeg/index.shtml
TMC Wiki - http://en.wikipedia.org/wiki/Traffic_Message_Channel
More TMC - http://www.blinkbits.com/en_wikifeeds/RDS_TMC
TMC DLL For GNS RDS Devices ( no idea how to use ) http://rapidshare.de/files/25827965/gpstmc.dll.html
Sorry Cant find the TMC event code list - I did have it not sure where I put it.... ( Look up how the TMC message is constructed ). Some of the later Destinator maps have the TMC codes built in...
PS - Depending on how this goes I may have a crack at a skin for MC2 for it.. that been said my current traffic system is based on the web and gives me a grafical readout from main web sites ( ala above ) .... I'd show u it but I've not completed it yet.
Terran
PS Astrailia has some feeds but they are from each state - probably need one of them to post em all up here for you...
Also as an added function may be display only data that is relevaent - ie on the road, route or surrounding areas of your loaction... you could grab info from Freedrive to support that...
Was looking into the feeds from yahoo (take for ex. http://api.local.yahoo.com/MapsServi...o&city=NewYork) and that also hold long and lat info. I should be able to only show items within a predefined radius. I do'nt know if any of your UK feeds hold long and lat info.
My car: 2006 Hyundai Santa Fe 2.2 CRDI AUT
Hardware: None at the moment
Software: None at the moment
See: Velleman K8055 Plugin for Road Runner
Progress: [XXXXXXXXXX] 0 % DONE
Bookmarks