Available for a limited time only - £10 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

 Forum Rules Click here for the current CamerAware Personal Tracker system status
3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
 Traffic Information in CamerAware
Paul (MVP)
post Nov 17 2006, 15:57
Post #21


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



OK dudes, he's a really really really really rough concept to prove that traffic information is viable.
Attached File  traffic.jpg ( 85.81K ) Number of downloads: 34

Unzip, drop the EXE somewhere and run it. No GPS hardware is needed, you select your location by town name in this quick mock up.

Points to note:
  • This app is for QVGA portrait Pocket PCs ONLY, as I say, it's a quick n dirty mockup
  • This app is data hungry - it'll do a download for your location, then the full traffic XML download, circa 650k!
  • The UI is ugly and it's probably slow smile.gif
  • You work through 4 steps, the final one being a drop down list of traffic situations in your chosen range
Bear in mind that the following significant changes would happen prior to release either as it's own app, or integrated into CamerAware:
  • The current location would be ideally retrieved via GPS
  • The data XML could be reduced to 150k easy, probably as low as 20k if we get a bit clever
  • More information about each traffic situation is available, i've put the bare basics in for now.
Give it a bash, any thoughts welcome!

P

Attached File(s)
Attached File  Traffic_Checker_0.1.zip ( 11.24K ) Number of downloads: 87
 


--------------------
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Nov 17 2006, 16:00
Post #22


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



Just realised it displays '0 Reports' regardless of how many they are, obviously didn't code that bit... tongue.gif

Oh well wink.gif

P


--------------------
Go to the top of the page
 
+Quote Post
gsm122448
post Nov 17 2006, 23:10
Post #23


Newbie
Group Icon

Group: Posters
Posts: 31
Joined: 15th April 2005
Member No.: 124,033

Device(s): Fujitsu Siemens LOOX T830



Looks good, can't test it at the moment due to only having a sqaure screen. But looking forward to the finished product. Glad you got the DTD issue sorted.....don't worry you're not the only one to have suffered the limited XML support in Compact Framework mad.gif

G


This post has been edited by gsm122448: Nov 17 2006, 23:14
Go to the top of the page
 
+Quote Post
pjam001
post Nov 18 2006, 10:14
Post #24


Diehard
Group Icon

Group: Posters
Posts: 324
Joined: 28th March 2005
Member No.: 120,204

Device(s): MDA Vario III



just had a play and it seems good. My only concern is how easy it or any traffic info would be to use whilst driving. Unless the info is read out?

pjam
Go to the top of the page
 
+Quote Post
robt
post Nov 18 2006, 15:56
Post #25


Regular
Group Icon

Group: Posters
Posts: 145
Joined: 1st June 2004
From: Southampton
Member No.: 45,166



Works fine on my Tytn. Would be a great addition to CamerAware.

Rob


--------------------
Now using a Vario 3 on Web 'n Walk Pro

Previously an MPX200, a C500 an SDA2, Imate Jam and a Tytn.

Vario 3 is the dogs!

Go to the top of the page
 
+Quote Post
Paul (MVP)
post Nov 18 2006, 16:04
Post #26


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



I figure in CamerAware there would be traffic icon that illuminates when there are traffic conditions available.

Text to speech would be great, but not found a way to do it yet :-(

P


--------------------
Go to the top of the page
 
+Quote Post
FragMeister
post Feb 8 2007, 09:27
Post #27


Diehard
Group Icon

Group: MoDaCo Ad Free
Posts: 301
Joined: 29th January 2003
Member No.: 2,441

Device(s): MDA Compact IV



Traffic link is used by many companies for their traffic updates.
www.trafficlink.co.uk

found a webservice which uses this data.

www.trafficeye.co.uk - a web based map (using MS Live.com mapping)


Here is the webservice endpoint:
http://trafficeye.dotnetsolutions.ltd.uk/s.../incidents.asmx


--------------------
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Feb 8 2007, 09:36
Post #28


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



Looks interesting, i'll check that out.

It would be really useful if you could filter results from that service by position and range, thereby negating the need for an intemediary service, but that doesn't seem possible. Either way tho, it has potential, thanks!

P


--------------------
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Feb 8 2007, 09:38
Post #29


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



No explanation of the skip / take values, but I assume that is to allow download in batches.

Might have to rustle up a test service today methinks wink.gif

P


--------------------
Go to the top of the page
 
+Quote Post
FragMeister
post Feb 16 2007, 13:08
Post #30


Diehard
Group Icon

Group: MoDaCo Ad Free
Posts: 301
Joined: 29th January 2003
Member No.: 2,441

Device(s): MDA Compact IV



QUOTE(Paul (MVP) @ Feb 8 2007, 09:38) *
No explanation of the skip / take values, but I assume that is to allow download in batches.

Might have to rustle up a test service today methinks ;)

P


that's what I assumed also, and is the way we have used for some of our web services at work.

I have also found quite a big problem with the bbc "national" data, as this only includes a subset of the more serious issues.

You might therefore need to get data from all the county/region feeds, mash them together and then (by coordinate filtering) restrict the data transfer ota to cameraware that way.

Might be worth checking the bbc backstage license details though as this collation and filtering might not be permitted.

for a list that I have used, see www.blears.net/travel for google maps version and php source too.

hth.


--------------------
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Feb 16 2007, 14:14
Post #31


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



Ideally I don't want to do any server side filtering, i'd like it all to be done via the device itself (downloading direct from the relevant service), and therein lies the technical problems...

P


--------------------
Go to the top of the page
 
+Quote Post
Tony W
post Feb 19 2007, 20:45
Post #32


Regular
Group Icon

Group: Posters
Posts: 85
Joined: 5th December 2006
From: High Wycombe
Member No.: 216,955

Device(s): MDA Vario II, O2 XDA 2S



QUOTE(Paul (MVP) @ Feb 16 2007, 14:14) *
Ideally I don't want to do any server side filtering, i'd like it all to be done via the device itself (downloading direct from the relevant service), and therein lies the technical problems...

P


Paul,

The idea sounds great but the devil will be in how you determine whether the information is relevant or not. If CamerAware does not know what road you are on and where you are going, upon which roads, then determining whether a particular event is relevant in sufficient time, might be near impossible. At least TT knows the route that you intend to take. Obviously there are rules that can be applied but without some form of intelligent intermediary service it's difficult to see how you could filter relevant info - even with an intermediary you'd have to guess routes.

After taking a look at the BBC site I can see there is lots of information to be had...

Could you perhaps provide active road traffic information to Tom Tom? Not quite the integration planned I know but as TT6 has this feature it must download it somewhere on the device. If you could simply provide the relevant info into the correct TT folder in the correct format it might just work. You need someone with Tom Tom Plus and the Traffic feature to find out more.


--------------------
Tony
Vario II
IPL:1.04 / SPL:2.10 Olipro
Radio:1.54.07.00
OS:Schaps 4.01
Go to the top of the page
 
+Quote Post
FragMeister
post Feb 19 2007, 20:53
Post #33


Diehard
Group Icon

Group: MoDaCo Ad Free
Posts: 301
Joined: 29th January 2003
Member No.: 2,441

Device(s): MDA Compact IV



Paul,

I spent some time last week taking an xsl file to read a list of all the county/area xml files and filter to only return the data within a small area of a supplied lat/long (eg +-0.2)

would be much easier if I knew the min/max extents of each of the county areas so that you could immediately disregard much of the data and then only require to download and read the content of the counties within your current location area.

PM me if you want these files, as this would then require the ota download of just one/two tpeg xml files.

Were you to do the filter serverside, you could easily do without some of the xml, and trim down some of the tags, hierarchy to further reduce the data usage.


--------------------
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Feb 20 2007, 12:25
Post #34


The Main Man
Group Icon

Group: Admin Team
Posts: 21,241
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Touch HD



That sounds cool FragMeister... mail it over smile.gif

P


--------------------
Go to the top of the page
 
+Quote Post
everton2004
post Mar 13 2007, 20:39
Post #35


Diehard
Group Icon

Group: Posters
Posts: 362
Joined: 9th December 2004
From: Merseyside, UK.
Member No.: 101,150

Device(s): Omnia, iPaq 614c, Vario II



Just had a brainwave (which in my case is not always a good thing). tongue.gif CamerAware has the Tracking and Upload facility and GPS points are readily available in CSV format for journeys where the Upload has been enabled. Here's the thought....if it's a journey that you make on a regular basis (to work for example) and there is a log of GPS coordinates uploaded for it (or if there was a feature to save a GPS log to the SD card for example), could this data be used to determine the route and hence what locations to check for traffic info? Please tell me to shut up if this is a crap idea or it has already been suggested! wink.gif

This post has been edited by everton2004: Mar 13 2007, 22:00


--------------------
Gadgets:

Samsung Omnia i900, HP iPaq 614c, MDA Vario II, Moto MPX220