Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
05-11-2004, 09:42 AM
|
#16
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
Ah, have done a little googling... It appears that the system that Route 66 uses is a stanard called TMC (Traffic Message Channel). Which is used for Traffic Desemination.
http://www.catsmpo.com/itsarc/illino...ace/eqpd94.htm
http://itsarch.iteris.com/itsarch/html/ep/ep94_b.htm
http://www.tmcforum.com/tmc/what_is.htm
Basically some sort of Proxy would be needed to take TMC data and change it to http. This is what Route 66 provides...
Maybe it would be better to provide a TMC client on VOICES.
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 09:51 AM
|
#17
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Vehicle: Ford Focus MP3
Posts: 1,909
|
Quote: Originally Posted by skippy76
See my previous post, also have you any idea how to change the TMC data route 66 provides to lat/lon?
|
|
|
05-11-2004, 10:31 AM
|
#18
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
Ok, so... as I see, the output from the URL: http://rs0124.66.com/tmc?time=0&v=1&...8&z=1&u=286068
Is obviously binary data of some sort... now we need to try and figure out the format of this data as it's not ascii and thus not readable. Any one have any thoughts? or knows someone who has access to Route 66 source code ;-)
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 10:51 AM
|
#19
|
|
Maximum Bitrate
Join Date: Oct 2003
Location: Toronto, Canada
Vehicle: Mazda 6
Posts: 485
|
Now if only i could find something similar for Toronto 
__________________
----------------------
VIA Epia II
256MB 266DDR Ram
90GB Wester Digital
Bluetooth/Deluo GPS
Lilliput 7" Touchscreen
----------------------
Mazda 6 Carputter > Click Me!
|
|
|
05-11-2004, 10:57 AM
|
#20
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
Well, I'm sure there are TMC sources out there for Canada. The idea is that Stevieg produces the ultimate source of traffic data via his site, which would make use of as many different data sources as possible.
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 11:16 AM
|
#21
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
Ok!! So, i've figured some more stuff out.
TPEG!
http://www.innovations-report.com/ht...ort-25245.html
TMC is specific to radio channel broadcast, where as TPEG is generic and not media specifc.
http://www.bbc.co.uk/rd/projects/tpeg/
http://www.tpeg.org/
I think this is the protocol that maybe of use! The BBC have been doing a lot of R&D of this (see bbc link above).
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 12:33 PM
|
#22
|
|
Low Bitrate
Join Date: Dec 2003
Posts: 67
|
On a similar tip, I am currently recording the positions of the various traffic jamcams around the UK. I have done most of the M4 and M5, but there are loads in london, south wales, scotland etc. Obviously the idea being that you click on a marker and the latest camera view will pop up.
I only have Autoroute 2001 at hand at the moment though and it doesn't seem to export pushpins. Is there a universal format that can be imported into Navigator, Route 66 etc, that allows for web links? This might be useful for your VOICES system, but may be best as a simple overlay.
|
|
|
05-11-2004, 12:53 PM
|
#23
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
You are probably best getting Mappoint 2004. Basically, within the Microsoft family there is Autoroute (Europe) and Streets and Trips (US) which are for 'home' use. Then there is Mappoint which exists in both the US and European markets. These have very 'similar' interfaces to both AutoRoute and Streets and Trips, but enable the use of databases and also for external software to interface with it. Hence why VOICES uses Mappoint.
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 12:54 PM
|
#24
|
|
MySQL Error
Join Date: Apr 2004
Posts: 4,955
|
Well my idea was stupid... I coded my site to scrape data from www.sigalert.com and gather all exit names. Then used the GPS to get the city, zip and so forth. I then ran them through a site, which helped me geocode them and then added them all as pushpins into mappoint. It worked, but it was way to slow. Took like 4 seconds for each exit on interstate and I was doing tons of them.
|
|
|
05-11-2004, 01:26 PM
|
#25
|
|
MySQL Error
Join Date: Apr 2004
Posts: 4,955
|
I do use Mappoint 2004... I get it through my MSDN developer subscription. My problem was the only "free" California traffic data I could find basically just gives you StreetNames/Speeds. Thats it... I tried using Mappoint to enter in Intersections, but it always got them way off. I then tried to geocode the intersections and get lat/long, but it took way to long because I was doing the geocoding from a website post that took like 4 seconds for one intersection.
|
|
|
05-11-2004, 02:17 PM
|
#26
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Vehicle: Ford Focus MP3
Posts: 1,909
|
Right, now have something workable.
Website is http://www.stevieg.org/traffic - You need to register on it don't worry you'll get no spam by entering your email address, you need it for the password to be sent.
Currently three data sources, two types - Route 66 TMC and BBC TPEG. The route 66 data needs more work as the lat/lon it gives are wrong at the moment.
Data is downloadable as XML or CSV. The CSV is the easiest format if you are looking to test the data by simply importing into MapPoint or similar.
Notes:
* This is a beta version so expect a couple of bugs if I haven't seen them yet
* I know the only usable data so far is the UK, but feel free to give me some more data sources that provide the right information, I'll have a go at parsing anything. If you can fix the Route 66 lat/lon, tell me.
* You'll see the URL for the route 66 data is not pointing at the route 66 server - this is because my hosting provider blocks connecting by the server to port 8080, so I've had to put a 'proxy' page in. The data is live.
* Type of incident is not implemented yet, it will be given time though, I've only had a few hours on and off during the day to write all this including the parser back end.
* Once again it's not finished, there are more feature to add obviously.
|
|
|
05-11-2004, 02:30 PM
|
#27
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Vehicle: Ford Focus MP3
Posts: 1,909
|
Just tested importing the data as CSV into mappoint, looks like it works OK - Not that's there's much traffic where I live though
|
|
|
05-11-2004, 02:33 PM
|
#28
|
|
Maximum Bitrate
Join Date: Mar 2004
Location: Cambridge, MA, USA
Vehicle: Jeap Liberty
Posts: 507
|
Excellent stuff!!! How did you decode the Route 66 stuff?
__________________
06 Volvo XC90
Use to have installed MII 10000/512Mb/40GB, Lilliput 7", OPUS 90W, Wifi-G PCMCIA, Head Unit Aux adapter, Delorme GPS, XM PCR, Audigy NX, RR
Car PC downloads: http://carpc.harteveldt.com/
|
|
|
05-11-2004, 02:42 PM
|
#29
|
|
Newbie
Join Date: Jul 2003
Location: Stourbridge, UK
Vehicle: Toyota Landcruiser
Posts: 30
|
Those route 66 coords you gave a link for look like lat/lon with the decimal point missing so 5655341 is 56.55341 and -259870 is -2.59870 - looks like decimal point goes 5 digits in from the right. Works for the few lines I tested.
|
|
|
05-11-2004, 02:44 PM
|
#30
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Vehicle: Ford Focus MP3
Posts: 1,909
|
Quote: Originally Posted by skippy66
Excellent stuff!!! How did you decode the Route 66 stuff?
It's not properly decoded, just parsed. there's something not right about many of the lat/lon for route 66.
but the basic code (without error checking and db code) is in php the following:
PHP Code:
$tmc_raw=file($url);
foreach ($tmc_raw as $tmc_line) {
$tmc_line=trim($tmc_line);
list($d,$d,$lat,$lon,$d,$d,$d,$date,$road,$desc,$where) = explode(' ',$tmc_line);
$lat=substr($lat,0,2) . '.' . substr($lat,2);
$lon=substr($lon,0,2) . '.' . substr($lon,2);
echo "$lat,$lon,$where<br>";
}
Last edited by stevieg : 05-11-2004 at 02:48 PM.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:14 PM.
|
|