Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > No Longer Supported > V.O.I.C.E.S


Reply
 
Share Thread Tools Display Modes
Old 05-12-2004, 10:57 AM   #46
Maximum Bitrate
 
Join Date: Oct 2003
Location: Toronto, Canada
Posts: 485
[iG] is on a distinguished road
66.com seems to have a nice gps package for canada.. However no online TMC like US and other countries. Argh!
__________________
----------------------
VIA Epia II
256MB 266DDR Ram
90GB Wester Digital
Bluetooth/Deluo GPS
Lilliput 7" Touchscreen
----------------------
Mazda 6 Carputter > Click Me!
[iG] is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-12-2004, 10:58 AM   #47
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
stevieg is on a distinguished road
Quote: Originally Posted by ccsnet
Vauxhall - simple / free / and here ( http://vauxhall.co.uk/trafficnet/index.jhtml )

T

Just checking it out now
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
stevieg is offline   Reply With Quote
Old 05-12-2004, 12:31 PM   #48
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
I should be done with a source for California today or tommorrow. What I have laid out is two tables in a DB. One table basically has all the zipcodes in CA associated with regions. These regions are the regions that are the closest match for traffic data for each zipcode. So when in Mappoint you would get current zipcode and query this table for the region. Then I have a second table with has region, lat, long, streetname. You retrieve all the streetnames for a region and there lat/long. Then based on the streetname I have a C# function that gets all the current speeds from www.sigalert.com. It is then very easy to add pushpins to Mappoint. Its only one state, but its a big one. When I finish I will give all I have to at least add California to this national traffic DB that is trying to be created.
veetid is offline   Reply With Quote
Old 05-12-2004, 04:33 PM   #49
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
stevieg is on a distinguished road
Quote: Originally Posted by veetid
I should be done with a source for California today or tommorrow. What I have laid out is two tables in a DB. One table basically has all the zipcodes in CA associated with regions. These regions are the regions that are the closest match for traffic data for each zipcode. So when in Mappoint you would get current zipcode and query this table for the region. Then I have a second table with has region, lat, long, streetname. You retrieve all the streetnames for a region and there lat/long. Then based on the streetname I have a C# function that gets all the current speeds from www.sigalert.com. It is then very easy to add pushpins to Mappoint. Its only one state, but its a big one. When I finish I will give all I have to at least add California to this national traffic DB that is trying to be created.

Cool, what's the plan? Will it run as a service and upload to a DB, if so I should be able to find a box to run the processing and upload every 5 mins to the web server no probs.
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
stevieg is offline   Reply With Quote
Old 05-12-2004, 04:43 PM   #50
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
stevieg is on a distinguished road
Been looking at trafficmaster.net earlier (I've got a subscription to it) and looking at the http requests the actual flash/shockwave page makes once it's loaded to get the data.
Will also be having a look at the Vauxhall version, and see if that gives off more information.
The basic plan so far from what data I have got back from it is that I might be able to use a server process running mappoint similar to veetid to plot the position based on the description, get the lat/lon and upload it to the web application. Of course this depends on whether the positions are accurate - though a motorway tailback usually slows down for at least a mile and more around so it might not make any difference.
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
stevieg is offline   Reply With Quote
Old 05-12-2004, 04:50 PM   #51
The Vauxhall Vectra Project
 
ccsnet's Avatar
 
Join Date: Jan 2003
Location: Morecambe, Lancs, UK ( Just For The Moment )
Posts: 2,676
ccsnet has a spectacular aura aboutccsnet has a spectacular aura about
Quote: Originally Posted by stevieg
Been looking at trafficmaster.net earlier (I've got a subscription to it) and looking at the http requests the actual flash/shockwave page makes once it's loaded to get the data.

I'd be intrested in having an offline converstaion about this.... been wondering how to do that for some time

Terran ( PMed you my MSN ID )
ccsnet is offline   Reply With Quote
Old 05-12-2004, 06:08 PM   #52
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
stevieg is on a distinguished road
Right...

Example of the trafficmaster data I can 'aquire': Needs some
work

Code:
a=Wed+12+May+2004+22%3A40++%B7++M271+northbound+very+slow+moving+traffic+for+2+mile%28s%29+from+J0+to+J1%2C+fifteen+minute+delay++%B7++A501+westbound+very+slow+moving+traffic+for+2+mile%28s%29+from+St+Pancras+to+Marylebone%2C+ten+minute+delay++%B7++A102+southbound+very+slow+moving+traffic+for+1+mile%28s%29+AT+Blackwall+Tunnel+Southern+Approach%2C+ten+minute+delay++%B7++A23+southbound+slow+moving+traffic+for+2+mile%28s%29+from+A205+to+Streatham%2C+short+delay%2E%0D%0A

__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
stevieg is offline   Reply With Quote
Old 05-12-2004, 06:11 PM   #53
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
stevieg is on a distinguished road
keep27 has PMed me a few for the US which I'll look into:

http://www.travelinfo.org/GCM.html

http://www.dot.state.mn.us/tmc/traff...ata/index.html

Second one looks most promising
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
stevieg is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-12-2004, 07:17 PM   #54
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Basically what I had to do was get a list of all the intersections that were available on www.sigalert.com and ran them through a seperate process and got their lat/long. I then just store these lat/long values and associate them with the intersections on the site. Therefore the lat/long values are static and all I do is update the speeds based on the intersections. This is not dynamic in the sense that if they add a new intersection to their traffic database I will have to figure out its lat/long and add it to the DB, but how often do they add exits. This was the best method I found so far.
veetid is offline   Reply With Quote
Old 05-12-2004, 08:34 PM   #55
Constant Bitrate
 
Join Date: Apr 2004
Posts: 167
robr is on a distinguished road
how do you guys plan on pulling this down as realtime data? you need a full on internet connection or is a WAP phone with bluetooth possible?
robr is offline   Reply With Quote
Old 05-12-2004, 09:09 PM   #56
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
I get on the internet in my car with my GSM cellphone via GPRS. Also there are tons of places I can get on the internet around town. In the city, in the US, all you have to find the nearest StarBucks and you can get on the Internet with wireless B or G and download the most recent content. There is actually a StartBucks right by my house at the light I have to sit at to get on the Interstate. I get high speed internet access for multiple minutes every morning and that would be a perfect time to download weather and traffic data.
veetid is offline   Reply With Quote
Old 05-13-2004, 02:17 PM   #57
Newbie
 
keep27's Avatar
 
Join Date: Apr 2004
Location: Troy, NY
Posts: 8
keep27 is on a distinguished road
I sent out an email to the US dept of transportation basically asking them where to find real-time data, since the process of doing google searches over and over again was getting to be a real pain. The links they pointed me to seem promising, although sometimes it can take a little digging to find what you are looking for:

The National Traffic and Road Closure Information web site available on the Federal
Highway Administration (FHWA) web site has an interactive map of the United States
which will direct you to travel and traffic information by state:
http://www.fhwa.dot.gov/trafficinfo/index.htm#NATL

The FHWA home page is:
http://www.fhwa.dot.gov
keep27 is offline   Reply With Quote
Old 05-13-2004, 02:57 PM   #58
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
I finally got my traffic program up and working. Basically I created an XML structure that I use to gather info from. Here is an example.


<CA>
<SAN>
<ROAD RDURL="http://www.sigalert.com/speeds.asp?Region=San+Diego&amp;Road=5%20North">
<INTERSECTION>
<STREETNAME>Hawthorn St</STREETNAME>
<LAT>32.72712</LAT>
<LONG>-117.16722</LONG>
</INTERSECTION>
<INTERSECTION>
<STREETNAME>India St</STREETNAME>
<LAT>32.73199</LAT>
<LONG>-117.17146</LONG>
</INTERSECTION>
</ROAD>
</SAN>
</CA>


I then use the url in the road section to download the content and loop through the streetnames and scrape the current speed. I then add all the pushpins based on the lat/long in the xml and it looks awesome in mappoint. Basically I just did one Highway in Souther California right now. Getting the lat/longs is the only hard part. Mappoint is not accurate enough, because you have to be able to show the North and the South of one Interstate/Freeway. I marked all those exits with pushpins and then extracted the correct lat/longs just to make sure I could get it too work. I just installed MapMarker and I am going to attempt to build an application that will take intersections... streetname/highway and hopefully it will give me good lat/longs. Then with that program I can build all the XML files for all the regions and roads. Then you just have to have custom functions that do the parsing for each URL/Region. I have the parser written that will do all of CA. I also included some pictures of my Weather app. It gets the weather based on the current zipcode it gets from reverse geocoding lat/long from your GPS receiver.

Anyone used MapMarker for intersection geocoding?
Attached Images
   

Last edited by veetid; 05-13-2004 at 08:00 PM.
veetid is offline   Reply With Quote
Old 05-13-2004, 03:26 PM   #59
Newbie
 
keep27's Avatar
 
Join Date: Apr 2004
Location: Troy, NY
Posts: 8
keep27 is on a distinguished road
Veetid I really like what you have set up, it looks really good. I do have some comments though. You might be treading on thin ice with The Weather Channel by using their maps. I am friends with someone who worked there for about 10 yrs and from what I hear there are some people there that....well...you dont want to deal with. Besides there are plenty of other sources of weather data that you can do whatever you want with. Heck you can even copy and paste anything and everything from a national weather service site, turn around and sell it for $200/view, and it is completely legal. I can recommend a bunch of other sites, which if memory serves me, should be fairly easy to extract imagery from as well a whole bunch of other info like weather watches and warnings. Let me know what ya think.
keep27 is offline   Reply With Quote
Old 05-13-2004, 04:33 PM   #60
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
The only thing I get from the Weather Channel is the radar image. All the other data comes from a different source that is setup for people to scrape. I don't plan on selling this to anyone ever.... Basically I modeled the weather scrape totally based on MythWeather. MythWeather is a linux application that retrieves weather information inside of Myth (a linux PVR system). MythWeather has been out on the internet since 2003 and has a large audience. They have had no issues, due to the fact that it is open source and no revenue is generated from the image... (Legally, if I am not selling, they can't do anything except try to make it harder for me to scrape, which they attempt to do, unsuccesfully.... Do you know how many sites on the internet grab and use that image.... thousands and thousands.... I would love to see weather.com try to do something to all those sites....)

Anyway.... If you give me a good url that allows me to pass in a postalcode (that includes non-us) and displays a good looking radar image, then I got no problems checking it out..

Last edited by veetid; 05-13-2004 at 04:36 PM.
veetid is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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



All times are GMT -5. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics