|
 |
|
05-26-2004, 06:58 PM
|
#76
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
|
Quote: Originally Posted by ryguy
So i presume that "do not enter" icon on the top left refers to a traffic jam? Any idea how we can get this in north america?  Looks very impressive! Now we just need to integrate this into voices!
ry
Yes the Do Not Enter is traffic jam. The pushpin can be changed in the INI file. I will be looking at parsing the data at the server in a better way however to show direction, type, severity etc;
See Data Sources above, if you can find a web data source that I can parse I will code it into the web server for you
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
Last edited by stevieg; 05-26-2004 at 07:03 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-26-2004, 11:16 PM
|
#77
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
I finished the app I was working on today and I will post it up here tommorrow. I have all the data for CA and weather for everywhere. The app checks your region from GPS and attempts to load the data file, which I keep local to safe money on GPRS bandwidth. Then when you hit update traffic it will just scrap the speeds and store them. I wrote a nice little function that seperates the lat/longs so you can actually see both directions on an interstate/freeway, and also when you zoom in it autmatically adjusts the traffic icons to move them closer to the freeway to keep things sized right. I talked with SA and will be giving my code to him once it is all finished, which will be this weekend. I have all the plotting and a nice xml logic that can be used to store all streetname, lat/long and all data possible on the client, because mobile bandwidth is slow and expensive. As of now I run this in my car and it works great... So for everyone in CA you might be able to find a use...
I will post examples of how I scraped and stored the correct information and scripts to geocode later this week. This logic could easily be used for anystate in the US with a good source, and there are plenty.
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
05-28-2004, 12:25 AM
|
#78
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
Here is my traffic program that I put together to test my lat/longs. It will give you weather and CA traffic information. There are two seperate zip files. I included an extra version that has a CA NMEA line hardcoded into the application. This way people not in CA can download the app and see how it works.
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
05-28-2004, 12:28 AM
|
#79
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
Here is my traffic program that I put together to test my lat/longs. It will give you weather and CA traffic information. There are three seperate zip files. The unzip the includes folder, then choose a version. I included an extra version that has a CA NMEA line hardcoded into the application called CA_SET. This way people not in CA can download the app and see how it works. The other one works based on your GPS mouse, mainly for people who actually want to use this in CA or if you want it too get the correct weather information in your car.
You will need the .NET Framework 1.1
The regular version, not the CA_SET one, is set to use COM1... I forgot to make this an option, but if yours is different and you can't change it, you can get the CA_SET version to check it out.
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
Last edited by veetid; 05-28-2004 at 12:38 AM.
|
|
|
05-28-2004, 01:45 AM
|
#80
|
|
Jesus Freak
Join Date: Jan 2004
Location: California
Posts: 4,273
|
I Live in CA. But no remote connection yet. Still trying to sort out alternator whine argg
__________________
-Jesus- King of Kings Lord of Lords
|
|
|
05-28-2004, 02:05 AM
|
#81
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
Just Download the CA_SET version and the includes.... You can then run it on any computer with internet. It doesn't use the GPS... It has a hard coded NMEA line in place of the serial port stream. It will let you check it out...
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
05-28-2004, 06:56 AM
|
#82
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
|
Looks good, looks like we now have data entries for at least two places in the world, and test clients to prove the data works,feels like we're slowly getting somewhere.
I'm going to adjust my test client and the data feed first of all to show the direction of the incident, I was looking to use a different pushpin (custom ones) with arrows attached to see if this is usable and then look at identifing the type of incident also, should have something done by the weekend.
I also want to release the source but I need to re-write the GPS part first myself, now I have a basic idea of how to do it, it shouldnt be a problem
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
|
|
|
05-28-2004, 12:45 PM
|
#83
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
stevieg: Are you grabbing your speeds from your database or are you grabbing the actually xml feed? Just curious if you ever got the mysql server setup to get speeds from. One thing with my setup is you have to grab quite a few html pages to get the speeds off them.. It can take a little while because its whole pages of html for every direction on every interstate for a given region. It would be a lot faster to have that data in a DB and just query for the speeds based on intersection name... That xml file that is included in the Traffic folder of the application shows you how my xml is setup. Based on that RDURL for each subsection of intersections I get the speed for each given Intersection, based on the Intersection name... I have a function that basically grabs all the html from the RDURL and then loops through the intersections and grabs the speed based on the intersection name. I like your earlier idea of having a program that runs my code that I currently run every few minutes and updates a DB.. I can get you the function this weekend and you have the XML...
I would prolly want to leave the xml local to the application and just query a table that has maybe RDURL, Intersection, Speed... That way I only transfer the data I need.
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
Last edited by veetid; 05-28-2004 at 12:47 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-28-2004, 03:21 PM
|
#84
|
|
See me in my wet t-shirt.
Join Date: Aug 2003
Location: Warwickshire, UK
Posts: 1,887
|
Quote: Originally Posted by veetid
stevieg: Are you grabbing your speeds from your database or are you grabbing the actually xml feed? Just curious if you ever got the mysql server setup to get speeds from. One thing with my setup is you have to grab quite a few html pages to get the speeds off them.. It can take a little while because its whole pages of html for every direction on every interstate for a given region. It would be a lot faster to have that data in a DB and just query for the speeds based on intersection name... That xml file that is included in the Traffic folder of the application shows you how my xml is setup. Based on that RDURL for each subsection of intersections I get the speed for each given Intersection, based on the Intersection name... I have a function that basically grabs all the html from the RDURL and then loops through the intersections and grabs the speed based on the intersection name. I like your earlier idea of having a program that runs my code that I currently run every few minutes and updates a DB.. I can get you the function this weekend and you have the XML...
I would prolly want to leave the xml local to the application and just query a table that has maybe RDURL, Intersection, Speed... That way I only transfer the data I need.
I've got the MySQL set up and working, that's what the app downloads from, it also allows the web user to choose the feeds and have more than one.
The MySQL / php allows the user to download as either XML or CSV, I chose the use CSV in my app.
Yes it is probably a good idea if you get me the function and we can make it update the DB, I have spare resources to host a Windows app. Ideally if you can make it run as a service I can plonk a Windows box somewhere with MapPoint installed and leave it to do the job of updating the DB.
The DB updates this app would do however would need to call HTTP requests rather than ODBC calls, as my hosting does not have remote access to the MySQL server, I would program a small php app to securly do this using http.
I take it that it would then upload lat/lon and I would add an extra table for speed into the DB. I am also going to add an extra field for direction (N,W,S,E etc) and make my feeds populate the incident type.
__________________
Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
Car PC Status: Complete - Undergoing Software Redevelopment
|
|
|
05-28-2004, 04:09 PM
|
#85
|
|
VENDOR - Centrafuse
Join Date: Apr 2004
Posts: 5,041
|
Currently my lat/longs are in the xml file that was included with the application. They are static now that I have them geocoded. All my service/program would need to do is update the speeds based on the lat/long/intersections in the xml file and update a DB. It wouldn't need mappoint or anything like that. It is a simple HTTP scrap. I will try to put something together, maybe at first just as an exe.
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
|
|
|
05-31-2004, 09:24 PM
|
#86
|
|
Maximum Bitrate
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 824
|
Disappointingly, there seems to be very little available for Australia for the moment. However, I did find this --> http://www.transportroundtable.com.au/im/resources.html, which might be a useful summary resource for what is happening worldwide. There are bunch of other things on that site, but this page, although old, is a half decent summary.
C!
__________________
http://carpc.riposte.net
I reserve all rights in connection to each post I author, without exception.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| 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 02:27 PM.
| |