View previous topic :: View next topic |
Author |
Message |
Flake Occasional Visitor

Joined: Sep 16, 2006 Posts: 14
|
Posted: Mon Sep 24, 2012 11:30 am Post subject: Suggestion for Nissan Connect - remove surplus data from CSV |
|
|
I'd like to suggest a change to the Nissan Connect download.
The current data looks like "a GATSO camera ahead, 40mph, W. WARNING! [ID: 1]", which obscures most of the screen unnecessarily. I suggest removing "a ", " camera ahead" and "WARNING! " so that the data looks like "GATSO, 40mph, W. [ID: 1]". I do this manually anyway before installation, but it'd be handy to have it already incorporated into the downloaded file.
The rationales for this are:- it reduces the amount of text the driver has to read and parse;
- the indefinite article "a " might be grammatically correct, but is unnecessary - brevity and clarity are more important than adhering to Fowler's Modern English Usage;
- " camera ahead" is superfluous because anyone who has installed the database already knows that it's to warn about cameras;
- "WARNING!" is superfluous for the same reason as c).
|
|
Back to top |
|
 |
MaFt Pocket GPS Staff


Joined: Aug 31, 2005 Posts: 15388 Location: Bradford, West Yorkshire
|
Posted: Mon Sep 24, 2012 12:34 pm Post subject: |
|
|
It was added this way after suggestions from a number of Conect users on this forum and a Nissan users forum too...
I'll have a think about it
MaFt |
|
Back to top |
|
 |
Flake Occasional Visitor

Joined: Sep 16, 2006 Posts: 14
|
Posted: Tue Sep 25, 2012 12:11 am Post subject: |
|
|
Part of the problem is poor design on Bosch's part (or in the project requirements Nissan gave to Bosch). Whenever a POI is near, instead of a little icon for the POI, the system flashes up a message which begins "You are approaching"followed by whatever text is in the CSV for that set of coordinates. Some of the longer POI entries disappear off the bottom of the screen, as the font size is understandably quite large to make it easy to read. If only Nissan and Bosch had taken the time to look at how their competitors do these things...
I appreciate that "You are approaching GATSO, 40mph, W. [ID: 1]" might be construed as somewhat brusque as well as grammatically poor, but it's informative and it also fits on the screen.
It's no great hardship, though, to pipe the CSV through sed before copying to a USB stick; I'll keep doing that in the meantime. |
|
Back to top |
|
 |
M8TJT The Other Tired Old Man


Joined: Apr 04, 2006 Posts: 10118 Location: Bexhill, South Sussex, UK
|
Posted: Tue Sep 25, 2012 8:55 am Post subject: |
|
|
As Flake wants to trim redundant information from his alert screen, one could also wonder what immediately useful information he gets from the fairly long text of the Cam ID like [ID: 111345] Other than for speciallist verification purposes, I can see no use for this bit of info being displayed either as if you realy need this info you can easily get it from the submission map. Too much info to read (or filter out?) |
|
Back to top |
|
 |
Andy_P Pocket GPS Moderator


Joined: Jun 04, 2005 Posts: 19991 Location: West and Southwest London
|
Posted: Tue Sep 25, 2012 10:18 am Post subject: |
|
|
Good point M8TJT (it must be... I was wondering it myself! ) _________________ "Settling in nicely" ;-) |
|
Back to top |
|
 |
Flake Occasional Visitor

Joined: Sep 16, 2006 Posts: 14
|
Posted: Tue Sep 25, 2012 10:27 am Post subject: |
|
|
M8TJT wrote: | As Flake wants to trim redundant information from his alert screen, one could also wonder what immediately useful information he gets from the fairly long text of the Cam ID like [ID: 111345] Other than for speciallist verification purposes, I can see no use for this bit of info being displayed either as if you realy need this info you can easily get it from the submission map. Too much info to read (or filter out?) |
That's a bit of a compromise. Automating the removal of static text is easy - cat pocketgps_uk_sc.csv | sed s/WARNING\!\ // | sed s/\ camera\ ahead// | sed s/a\ // - but I haven't yet worked out the magic incantation to strip variable-length dynamic text with two known boundary characters ([ and ]). I'd imagine it's possible and also trivially easy for someone who's spent longer reading the man page for sed than I have, but what I've got suits my purposes.
I can think of one possible use for showing the camera ID number: for reporting false positives. However, so much work is put into getting the database correct that the number of false positives should always be low, so even that's not really much of a use. |
|
Back to top |
|
 |
M8TJT The Other Tired Old Man


Joined: Apr 04, 2006 Posts: 10118 Location: Bexhill, South Sussex, UK
|
Posted: Tue Sep 25, 2012 12:00 pm Post subject: |
|
|
Flake wrote: | I can think of one possible use for showing the camera ID number: for reporting false positives. However, so much work is put into getting the database correct that the number of false positives should always be low, so even that's not really much of a use. | I rest my case
EDIT
Just had a l;ook at the SED stuff. WOW. I'd use Excel and a macro. But can't you use something like "[ID:*]" as the replace string and repalce it with nothing? I suspect that this is probably not that easy as it seems that SED uses the [] as a special character, but enclosing it in "" might do the trick |
|
Back to top |
|
 |
Flake Occasional Visitor

Joined: Sep 16, 2006 Posts: 14
|
Posted: Tue Sep 25, 2012 12:24 pm Post subject: |
|
|
M8TJT wrote: | Flake wrote: | I can think of one possible use for showing the camera ID number: for reporting false positives. However, so much work is put into getting the database correct that the number of false positives should always be low, so even that's not really much of a use. | I rest my case  |
There's no case to rest: I don't find the camera index numbers useful, which was the point of your original query, and it took me several minutes to come up with that single extreme-use case I mentioned. I just haven't devoted any additional time towards working out how to automate their removal as well.
However, whether or not I find them useful is beside the point. Evidently other people do, just like other people find the additional text useful, otherwise they wouldn't be in the CSV in the first place. See MaFt's response to my original suggestion. |
|
Back to top |
|
 |
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
 |
|