Page 6 of 9 FirstFirst 123456789 LastLast
Results 51 to 60 of 86

Thread: VOICES Traffic Data

  1. #51
    The Vauxhall Vectra Project ccsnet's Avatar
    Join Date
    Jan 2003
    Location
    Morecambe, Lancs, UK ( Just For The Moment )
    Posts
    2,680
    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 )

  2. #52
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    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

  3. #53
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    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

  4. #54
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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.

  5. #55
    Constant Bitrate
    Join Date
    Apr 2004
    Posts
    167
    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?

  6. #56
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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.

  7. #57
    Newbie keep27's Avatar
    Join Date
    Apr 2004
    Location
    Troy, NY
    Posts
    8
    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

  8. #58
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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 Attached Images    

  9. #59
    Newbie keep27's Avatar
    Join Date
    Apr 2004
    Location
    Troy, NY
    Posts
    8
    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.

  10. #60
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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..

Similar Threads

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

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
  •