UK 'missing postcode' information prompt.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSatNav |
Fix Released
|
Medium
|
Guillaume Rosaire |
Bug Description
Hi, all.
I would like to suggest something that will help both our users and OSM.
When I used to use AndNav, I found that people repeatedly commented that when they entered a UK postcode, it wasn't recognised. Can I suggest that when the postcode is not recognised, OSN produces a message saying:
"The postcode is not recognised, the most likely reason for this is that it has not been entered into the 'Free The Postcode' database (www.freethepos
As you are using the Android platform, you can download an open-source (GPLv3) application from Android Market, it will allow you to easily submit new postcodes. To do this,
Navigate to 'Market' on your handset and search for 'freethepostcode'."
This proposed feature has been discussed on the mailing list and was accepted.
This is a 'nice to have' feature, but because it will save a lot of repeated discussion on the mailing lists and in the forum, I would like to aim for release 1.0. When discussed on the mailing list, it was suggested that this should be an easy to implement feature, so I feel a little better about asking for 1.0.
Thanks special coders.
Chris.
I'll try to have a look at this issue, but as I don't know anything about UK postcodes, could anyone validate what I intend to do?
By looking at http:// en.wikipedia. org/wiki/ Postcodes_ in_the_ United_ Kingdom, I guess the postcode follows this regexp pattern, so when a user type anything into the the search field, I should try to match it to this regexp : 2}[0-9R] [0-9A-Z] ? [0-9][ABD- HJLNP-UW- Z]{2}
[A-Z]{1,
If this is the case and no result is returned, a dialog window with the text written by Chris on top could be displayed, if not, nothing special happens.
Are you ok with this ?
Moreover, in this dialog, I could add a direct link to the freethepostcode app on Android market. That could reduce the description :
"To do this, Navigate to 'Market' on your handset and search for 'freethepostcode'."