UK Postcodes - File available

2,706 views
Skip to first unread message

TallSteve

unread,
Jan 21, 2011, 5:18:58 AM1/21/11
to Osmand
I have a UK postcode file with postcodes with their latitude and
longitude.

This is important in the UK as the UK postcode contains on average 15
address points. Thus a street with 30 houses will have 2 postcodes.
From this you can see how convenient it is for UK Satnav. Ask your
friend/business contact for their postcode (which we all know) and ta
daa you have a way of quickly programming the sat nav to take you to
their end of their street. A UK post code looks like AB1 3TJ.

I suggest that if a UK/GB map is loaded then the "Specify Point" page
gets a new box - UK Postcode. This then looks up the latitude and
longitude in the file and fills in the other boxes. The file has the
lat and long in DDD.DDDDDD format.

I am not a Java programmer or I would do it for you, but I am happy to
create and provide the file. It is based on data released by the UK
Government's Ordnance Survey Openpoint file released under a very
liberal licence.

Let me know if you would like it. It would make all UK user's lives a
lot easier.

Robert de Vries

unread,
Jan 21, 2011, 6:15:44 AM1/21/11
to osm...@googlegroups.com
Hi,

Osmand already supports searching by postcode, just type the postcode in the city field. If the license is permissible enough chances are the file you have is already imported in the osm database.

2011/1/21 TallSteve <letme...@googlemail.com>

TallSteve

unread,
Jan 26, 2011, 4:20:23 AM1/26/11
to Osmand
Hi,

There are no UK postcodes searchable in the city field. This may be
because the the file was released with UK OS grid references rather
than latitude and longitude. As far as I know there is no file
available with the latitude and longitude conversions in the wild. I
have a conversion algorithm, and thus the file I can send would be
created for your use. I have tested the algorithm against paid for
mapping services. There are 1.7million postcodes. The largest file I
can find elsewhere has just 50,000 postcodes.

The licence is very liberal, and can be viewed here:
http://www.ordnancesurvey.co.uk/oswebsite/opendata/docs/os-opendata-licence.pdf

For UK users this would make Osmand the top choice nav platform.

Steve

Victor Shcherb

unread,
Jan 26, 2011, 4:26:01 AM1/26/11
to osm...@googlegroups.com
Hello

OsmAnd doesn't provide data and include map data. It takes map data from OSM (http://openstreetmap.org). 
So in order to let OsmAnd know postcodes they should be properly created in OSM. Anyway first time you should contact with OSM community how to upload that data and is it permissible. After importing if OsmAnd will not support that postcodes you can contact with OsmAnd community.

Best Regards,
Victor

2011/1/26 TallSteve <letme...@googlemail.com>

David Levy

unread,
Jul 23, 2013, 9:54:49 AM7/23/13
to osm...@googlegroups.com
I recently switched from Navdroyd to OsmAnd - overall impressive, but was hoping that UK postcode searching would be included. Only by first 3 letters, it seems, which gives a very large area.
thanks
David

Onkar Shinde

unread,
Jul 23, 2013, 6:15:49 PM7/23/13
to osm...@googlegroups.com
Postcode search works for where I live currently (Swindon, Wiltshire). Can you provide sample postcodes that you are trying to search?

David Levy

unread,
Jul 23, 2013, 11:09:44 PM7/23/13
to osm...@googlegroups.com
I tried a bunch of HA3 and HA9 codes - a few full codes appear as choices, individuals must have input them to OSM, but nothing like a full register. Also tried a Glasgow one for fun, testing a different UK map, but no go...

Onkar Shinde

unread,
Jul 25, 2013, 4:55:32 PM7/25/13
to osm...@googlegroups.com
Here is what I did. I went to address search, selected country (England). Then in city I put HA3, there are no results but below there is a button 'Search Villages/postcode'. When I click on it it shows 5 results for HA3. For HA9 one results appear.
For post code search to give maximum results they have to be present in OSM, so every POI/Building needs to have post code information. This is not something you can fix in one night. Start with your own town first. :-)

mikot...@gmail.com

unread,
Aug 21, 2013, 8:52:21 AM8/21/13
to osm...@googlegroups.com


Hi Onkar, I too find OSMand great but the UK postcode search is unusable. I work in Swindon but can't see that eg SN5 7XB so coverage is at best patchy and usually not found.
When I check my postcode GL7 6BE on the OSM website it gives sensible results but OSMand has very few GL7 codes and is not usable.
It is a pity and I hoped if the postcode data was on the OSM site that it would end up in OSMand
Is the situation likely to be fixed?  Mike

Victor Shcherb

unread,
Aug 21, 2013, 10:39:45 AM8/21/13
to osmand
OSM website != osm data.



--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

mikot...@gmail.com

unread,
Aug 21, 2013, 11:44:50 AM8/21/13
to osm...@googlegroups.com

Hi Victor, Thanks but I had thought I was checking in the suggested site. So does that mean no working UK postcodes for osmAnd for the foreseeable future?
What needs to happen from the openstreetmap org to get the data available? Do you know who I can ask that question as in the UK the most normal search for someone's location is by using their postcode?

Andre

unread,
Aug 21, 2013, 11:55:17 AM8/21/13
to osm...@googlegroups.com

Start with a file or database with all postcodes and their wgs84 coordinates and create an osm xml file of it. This can be done also with postcodes in other countries.  Then convert it with osmand mapcreator to an obf file and it will be selectable pois. Would be nice to make country_postcode.obf files for each country just as we have address files.

Op 21 aug. 2013 17:44 schreef <mikot...@gmail.com> het volgende:

Hi Victor, Thanks but I had thought I was checking in the suggested site. So does that mean no working UK postcodes for osmAnd for the foreseeable future?
What needs to happen from the openstreetmap org to get the data available? Do you know who I can ask that question as in the UK the most normal search for someone's location is by using their postcode?

--

Harry van der Wolf

unread,
Aug 21, 2013, 12:52:15 PM8/21/13
to osmand
Slightly off-topic for this thread, but last night I just discovered
an really open database for Dutch postcodes. The official postcode
database is owned by TNT Post and costs around 2400 Euro's. Some guy
made a web crawler that searches the web (especially broker sites)
where people add postcodes manually. That does not interfere with any
kind of legislation and that's why that postcode database is open and
free for anyone to use.

I wanted to investigate that mysql database (I have mysql running on
my server) and see what we can do with it for OpenStreetMap and
OsmAnd.

Harry

2013/8/21 Andre <andreo...@gmail.com>:

Harry van der Wolf

unread,
Aug 21, 2013, 1:13:59 PM8/21/13
to osmand
Now I searched a little further (for UK postcodes) and found this
site: http://download.geonames.org/export/zip/

It contains a (full?) GB postcode database from Royal Mail. I think
that one can be used.

Harry

Victor Shcherb

unread,
Aug 21, 2013, 5:35:01 PM8/21/13
to osmand
Depends what you call full. I guess you already checked NL and you see that only 4 digit are present wihout 2 letters which is pretty useless especially without building.

Anyway, to handle it external file should be converted to OSM file and then we can process it.
Another thing we need to be careful with License.


Regards,
Victor


Andre

unread,
Aug 21, 2013, 5:58:08 PM8/21/13
to osm...@googlegroups.com

In Netherlands all adresses and postcodes are available as open data since 2012, so there are no license issues. OSM is trying to merge that into the OSM  planet map itself but only local initiatives succeed till now, however there is some discussion about the roadmap. It would be a fast shortcut to load these addresses and/or postcodes in a separate osm file and then convert it to a poi obf file. Osmand would have the first shot in open goal!
I dont know if the English data is complete and if it has license issues but even there it would be smart to bypass the OSM process.

Andre.oid

Op 21 aug. 2013 23:35 schreef "Victor Shcherb" <victor....@gmail.com> het volgende:

Harry van der Wolf

unread,
Aug 22, 2013, 1:41:31 AM8/22/13
to osmand
2013/8/21 Victor Shcherb <victor....@gmail.com>:
> Depends what you call full. I guess you already checked NL and you see that
> only 4 digit are present wihout 2 letters which is pretty useless especially
> without building.
>
>

I think you have a different database.

I have the 6pp csv and database
(http://www.d-centralize.nl/projects/6pp/downloads/).
As an example from the CSV (simplest to copy)
Coevorden 7741 AB Rembrandtlaan Onbekend 52.66666700 6.75000000

It contains the 4 digits+2 character format used for dutch postcodes
including lat/lon

I will take a look at the structure and try to copy it from mysql (or csv) to

Harry

Victor Shcherb

unread,
Aug 22, 2013, 10:28:49 AM8/22/13
to osmand
Harry the most important direction is OSM format. With these format we could start thinking how to amend original Netherlands.osm file and get it full. 
So I don't want to overcomplicate that task but I would like to get it done. 
1) Postcodes in OSM are relations which http://www.openstreetmap.org/browse/relation/943886 don't have direct connection to lat/lon, except admin_centre node. For which artificial node could be created.
2) The problem is, that in current OsmAnd postcodes could be assigned only to house (at least one artificial house is needed). As I know you can't just select a postcode.
3) In different countries postcodes doesn't uniquely identify a street, so next to it we should select street & building.

P.S.! I'm not talking to merge things directly into OSM database but just a generate amendment OSM file next to it.

Regards,
Victor



Harry

Harry van der Wolf

unread,
Aug 22, 2013, 1:04:23 PM8/22/13
to osmand
I will dive deeper into it. I thought the postcode could be directly
coupled to a street
(http://wiki.openstreetmap.org/wiki/Key:postal_code) and only that the
March 2013 Karlsruhe scheme favors postcodes per building.

Anyway: I already found a couple of queries to work on the 6pp
database against a postgresql database from which you can
import/export to OSM.
I'm very experienced in mysql, MsSQL and Oracle and know my way in
sqlite, but I have never touched on postgresql (sigh).
Let's see how far we get.

Harry

Daniel Rigby

unread,
Sep 3, 2013, 4:16:53 AM9/3/13
to osm...@googlegroups.com
After reading this thread and doing some research online, I have had some success in converting the UK postcodes for use in OsmAnd :-) If you follow the steps below you can enter a postcode into OsmAnd search, and find that location on the map, or use the location for routing.

I performed these commands on Linux Mint, but other Linux distros will probably work as well, and it might also work under Windows using Cygwin, although I haven't tried this.

1) Install gpsbabel and OsmAnd Map Creator.

sudo apt-get install gpsbabel


Osmand Map Creator can be found in the downloads section on the OsmAnd web site.

2) Download a file containing the UK postcodes in lat-long format: http://www.tiiiim.com/navit/p2n.tar.bz2.
This file is described in http://wiki.navit-project.org/index.php/User:Korrosa

3) Extract the contents

tar zxf p2n.tar.bz2
cd p2n


4) The file pc_lat_lon_gb.csv contains the postcode data in the order: postcode, latitude, longitude. Gpsbabel expects a CSV file to be in the order latitude, longitude, postcode, so we can use sed to rearrange the file.

Also, the postcodes in the CSV file are always seven characters in length. Where the first part of the postcode contains three characters, eg. SE1, this is followed by a space, but a longer postcode such as SE10, doesn't contain a space. I'm used to all postcodes containing a space in them, so the following command adds a space if necessary, before rearranging the elements.

sed -e "s/^\([A-Z0-9]\{4\}\)\([^ ]\)/\1 \2/" -e "s/\(.*\),\(.*\),\(.*\)/\2,\3,\1/" pc_lat_lon_gb.csv > pc_lat_lon_gb_converted.csv

If you don't want a space in any of the postcodes, do this instead

sed -e "s/ //" -e "s/\(.*\),\(.*\),\(.*\)/\2,\3,\1/" pc_lat_lon_gb.csv > pc_lat_lon_gb_converted.csv

5) Now we can use gpsbabel to convert this file into an osm file. I'm creating entries using the tag postal_code here, which I found when reading http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Postcode_Search_On_Garmin.

gpsbabel -i csv -f pc_lat_lon_gb_converted.csv -o osm,tagnd="amenity:postal_code" -F Gb_postcodes.osm

6) Start OsmAnd Map Creator, enable 'Build map index', 'Build POI index', 'Build Address index', but disable the other options.
Select 'File/Create .obf from osm file' and import Gb_postcodes.osm. This can take quite a while, but at the end of it you will have a ~100 MB file, Gb_postcodes.obf, inside ~/osmand.

7) Copy Gb_postcodes.obf to your osmand folder on your Android device.

adb push Gb_postcodes.obf /sdcard/osmand/

And that's it :-)

Now when you do a search, choose 'Search by name', enter the postcode (with a space in the middle), and it should find it quickly if it's less than 100 kms away; click 'search' again if it's further away.

I tried using the contact address plugin to look up an address containing only a postcode, but it couldn't find it in the database, so maybe some of the steps need a bit of fine tuning to get that bit to work. Nevertheless, I'm finding it really useful having searchable postcodes in OsmAnd.

Dan

dave.t...@gmail.com

unread,
Oct 4, 2013, 9:19:10 AM10/4/13
to osm...@googlegroups.com
Using your instructions I set up the Gb_postcodes.obf and it works very well on both my old Huawei G300 phone and my shiny new Nexus 7.  The source file of postcodes could not be loaded for a while which held me up and I had to up the -Xmx parameter for OsmAnd Map Creator to avoid running out of memory for that last step.  This may be because the resulting .obf is around 474MB rather than 100MB - maybe the source file has more in it now?
Anyway, many thanks.

Harry van der Wolf

unread,
Oct 9, 2013, 11:48:01 AM10/9/13
to osmand



2013/10/9 Harry van der Wolf <hvd...@gmail.com>


I used grep to remove the GPSBabel tag (grep -v 'GPSBabel-1.4.3' Gb_postcodes.osm > Gb_postcodes.osm.tmp)

I meant: grep -v 'created_by' Gb_postcodes.osm > Gb_postcodes.osm.tmp

Stupid copy&paste action.

Harry van der Wolf

unread,
Oct 9, 2013, 11:36:04 AM10/9/13
to osmand
Hi,

I had an hour to spare this afternoon, so I created the Gb_postcodes.obf (to stay "compatible" with OsmAnd's naming system even though it "only" contains England and Wales postcodes).

And of course I also used Daniel Rigby's "howto" to create it, but made some minor modifications.
Thanks Daniel for this clear description.

I used grep to remove the GPSBabel tag (grep -v 'GPSBabel-1.4.3' Gb_postcodes.osm > Gb_postcodes.osm.tmp)
Then I renamed the "note" tag to "description" tag as OsmAnd uses that to display the info (sed -e 's+note+description+' Gb_postcodes.osm.tmp > Gb_postcodes.osm).
Using description instead of note means that you can see it in the "Grey Bar" as last option (Show POI description) once you have found the "POI".

You have to use spaces in the postcodes like CT14 8EU.

You can find the zip containing the obf (and a Readme) in my public Dropbox Osmand folder:
 https://www.dropbox.com/sh/6hbu1sbfwy6pel6/WStvZZKb8t/Osmand

Harry

Chris

unread,
Apr 7, 2014, 5:55:59 PM4/7/14
to osm...@googlegroups.com
Hi Harry,
An old post but its a big issue not having a good postcode search for UK .

Anyway, I am not sure if its a coincidence but the search does not work if the postcode is made up of 6 characters (inc space)  i.e N9 8AB but it will work if another space is added N9  8AB (7 characters inc spaces).

Rgds
Chris

Harry van der Wolf

unread,
Apr 9, 2014, 1:15:00 PM4/9/14
to osmand
Hi Chris,

You are completely right: all 6-digit postcodes with (single) space were somehow converted to 7-digit postcodes with double spaces.
I corrected those postcodes. The "N9 8AB" (and all others) is no longer "N9  8AB".
You can download the corrected version again as a  zip containing the obf (and a Readme) in my public Dropbox Osmand folder:
 https://www.dropbox.com/sh/6hbu1sbfwy6pel6/WStvZZKb8t/Osmand

Harry


--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris

unread,
Apr 10, 2014, 4:29:20 PM4/10/14
to osm...@googlegroups.com, letme...@googlemail.com
Thanks Harry - It works perfectly now. You are a gent !!

Its a shame the Post Code search is not part of the main address search tab. Also, I guess, your file will not be included in the regular updates.

Thanks again
Chris 

Ydrol

unread,
Apr 25, 2014, 4:49:52 PM4/25/14
to osm...@googlegroups.com
How do you search post codes > 62.1 miles away? I'm using search -> POI -> Search by Name  and entering the postcode there..

Ydrol

unread,
Apr 25, 2014, 4:54:12 PM4/25/14
to osm...@googlegroups.com
Oops RTFM - search again!

Dean Lee

unread,
May 23, 2014, 6:05:04 PM5/23/14
to osm...@googlegroups.com, letme...@googlemail.com
Just installed your postcode file & after a restart of the phone to get it to recognise the poi database it now works great.
Thanks for sorting this out - it really should be included in the main program.

Cheers, Dean.

On Friday, 21 January 2011 10:18:58 UTC, TallSteve wrote:
I have a UK postcode file with postcodes with their latitude and
longitude.

This is important in the UK as the UK postcode contains on average 15
address points.  Thus a street with 30 houses will have 2 postcodes.
From this you can see how convenient it is for UK Satnav.  Ask your
friend/business contact for their postcode (which we all know) and ta
daa you have a way of quickly programming the sat nav to take you to
their end of their street.  A UK post code looks like AB1 3TJ.

I suggest that if a UK/GB map is loaded then the "Specify Point" page
gets a new box - UK Postcode.  This then looks up the latitude and
longitude in the file and fills in the other boxes.  The file has the
lat and long in DDD.DDDDDD format.

I am not a Java programmer or I would do it for you, but I am happy to
create and provide the file.  It is based on data released by the UK
Government's Ordnance Survey Openpoint file released under a very
liberal licence.

Let me know if you would like it.  It would make all UK user's lives a
lot easier.

Harry van der Wolf

unread,
May 24, 2014, 2:03:04 AM5/24/14
to osmand, letme...@googlemail.com
We are investigating on how to incorporate it as an "address" map, and not a POI map, but that's not as easy as it seems.
It does require a code change in OsmAndMapCreator.
To create an address OsmAndMapCreator needs a "place" (city/village/hamlet), a street, possibly a housenumber, and if it contains a postcode that postcode can be used as well as "address" to search on.

In this case I have a lat/lon, a postcode, a city and a county (by now I combined 2 databases. Combined they have more information).
It is on the list but not of the highest priority as the POI file does work even though it is less convenient and less user-friendly.

Harry


--

Harry van der Wolf

unread,
Aug 3, 2014, 4:30:05 AM8/3/14
to osmand
Hi,

I created a new POI file with postcodes for Great Britain including England, Scotland, Wales and Northern Ireland.

In a POI file you store a POI as a "name". You can also add a description "description" which contained again the postcode in the
previous two versions.
I now merged the "old" database with a new one which also contains cities and counties. The description is now:
"postcode - city - county". The new database is however not entirely complete on counties and for Wales no county is displayed anyway.
The previous version only contained UK postcodes, now Great Britain is covered.
The previous version also contained inactive, removed postcodes. The new database also contains the old, remeoved postcodes but
they are marked with a "terminated" date. These have not been included from the POI file.

W.r.t. the address way of searching for postcodes. Due to new functionality introduced in July I can now create postcodes files and I have a good working Wales, Scotland and Northern Ireland postcode address search, but OsmAnd can't handle the 1.3 million postcodes for England (let alone the 1.64 million for entire Great Britain). The first (alphabetically) work fine but any postcode over C## ### can't be found by OsmAnd. It searches for minutes and returns nothing.

You can find the "Gb_postcodes_poi_europe.obf.zip" again at my public Dropbox folder: https://www.dropbox.com/sh/6hbu1sbfwy6pel6/WStvZZKb8t/Osmand.
= Note that it has been renamed so you need to remove the old one from the OsmAnd folder =


And from the Readme.txt which is in the zip file as well:
====
This is a POI database of postcodes for Great Britain including England, Scotland, Wales and Northern Ireland.

When you want to search for a postcode you don't do this in the address search but in the POI search (below the (i) icon. This
is the first search screen "POI (Point of interest) search" where you use the "Search by name" option.

Enter the postcode (with a space in the middle), and it should find it quickly if it's less than 100 kms away;
click 'search' again if it's further away.

If you have found your postode and sigle-tap it, the white option bar is displayed. If you drag from right to left you will see the
"show POI description" which now shows "Postcode - City - County" (where county available or relevant).

=== Versions ===
Aug 3rd, 2014
In a POI file you store a POI as a "name". You can also add a description "description" which contained again the postcode in the
previous two versions.
I now merged the "old" database with a new one which also contains cities and counties. The description is now:
"postcode - city - county". The new database is however not entirely complete on counties and for Wales no county is displayed anyway.
The previous version only contained UK postcodes, now Great Britain is covered.
The previous version also contained inactive, removed postcodes. The new database also contains the old, removed postcodes but
they are marked with a "terminated" date. These have been removed from the POI file.


Apr 9th, 2014
6 digit postcodes like "N9 8AB" were stored as 7-digit postcodes containing double spaces like "N9  8AB".
A general search & replace was performed to replace all double spaces to single spaces.

Oct 7th, 2013
This is a POI database of postcodes for the UK. To stay "compatible" with the OsmAnd naming convention
I called the file Gb_postcodes.obf even though it only contains UK postcodes.

= Thanks to Daniel Rigby who posted a "howto" in the OsmAnd mailing group. =

Modifications to Daniels setup:
- I removed the "created_by" tag of GPSBabel.
- I changed the "note" tag to "description" as OsmAnd doesn't show notes, but it does show descriptions for POIs.
  It is the last option in the "Grey bar" once you have found a POI.

=====


Areg

unread,
Oct 13, 2014, 7:37:54 AM10/13/14
to osm...@googlegroups.com, letme...@googlemail.com
Hi

Seems the download is disabled by DropBox ....

Regards,
Areg

Harry van der Wolf

unread,
Oct 13, 2014, 7:41:59 AM10/13/14
to osmand

--

Harry van der Wolf

unread,
Oct 13, 2014, 7:45:14 AM10/13/14
to osmand
I didn't look carefully enough. I thought the file was missing but too much traffic is obviously generated from those links. I'll have to think of something else.

Harry

Mark Young

unread,
Oct 14, 2014, 4:07:57 AM10/14/14
to osm...@googlegroups.com
Perhaps try to share the file via MEGA
https://mega.co.nz/ - 50GB of free storage and 10GB of free bandwidth (ref: http://alternativeto.net/software/mega/)

Harry van der Wolf

unread,
Oct 14, 2014, 4:59:03 AM10/14/14
to osmand

Mark Young

unread,
Oct 14, 2014, 12:56:12 PM10/14/14
to osm...@googlegroups.com
Thanks Harry! :)

AllanR

unread,
Mar 21, 2015, 1:49:20 PM3/21/15
to osm...@googlegroups.com, letme...@googlemail.com
Harry,  Many thanks for making this available. The lack of usable UK Post Codes was the one thing preventing me from retiring my aging Sat Nav.
Popped your Gb_postcodes_poi_europe.obf file into the osmand folder on my Galaxy Tab 3 8", restarted and post codes now work in the POI search, brilliant.

Allan.

P Wat

unread,
Mar 22, 2015, 1:29:52 PM3/22/15
to osm...@googlegroups.com
Hi Harry vd W.
Thanks for the link to Post Code File.
Can you (or anyone) comment? - Is the file at Harry's link https://mega.co.nz/#!sMFjkLSK!es74KWhNNlNppqZTEc1hu9_mBDtR5wOzzICimcHlvT0 ("created 3/8/14") a replacement for, and any better than, the one found here > GB Postcodes < ("created 9/4/14") ?
If so, does it need to be filed in the same location?
Thanks
PW
===========

Harry van der Wolf

unread,
Mar 22, 2015, 2:06:58 PM3/22/15
to osmand
Hi,

2015-03-22 18:29 GMT+01:00 P Wat <pwat...@googlemail.com>:
Hi Harry vd W.
Thanks for the link to Post Code File.
Can you (or anyone) comment? - Is the file at Harry's link https://mega.co.nz/#!sMFjkLSK!es74KWhNNlNppqZTEc1hu9_mBDtR5wOzzICimcHlvT0 ("created 3/8/14") a replacement for, and any better than, the one found here > GB Postcodes < ("created 9/4/14") ?
If so, does it need to be filed in the same location?
Thanks
PW
===========


No, it is not the same. The one on the New-Zealand Mega site is newer. It is more complete due to the fact that it has a more descriptive address next to the postcode itself. Also the previous contained inactive postcodes that not even exited anymore.
From the changelog:
Aug 3rd, 2014
In a POI file you store a POI as a "name". You can also add a description "description" which contained again the postcode in the
previous two versions. 
I now merged the "old" database with a new one which also contains cities and counties. The description is now:
"postcode - city - county". The new database is however not entirely complete on counties and for Wales no county is displayed anyway.
The previous version only contained UK postcodes, now Great Britain is covered.
The previous version also contained inactive, removed postcodes. The new database also contains the old, removed postcodes but
they are marked with a "terminated" date. These have been removed from the POI file.



I did not even know Victor had loaded that file onto the OsmAnd download server.

I will ask Victor to replace the current one with the one from the Mega download site.

Harry

P Wat

unread,
Mar 22, 2015, 2:14:33 PM3/22/15
to osm...@googlegroups.com
Hello Harry.
Thanks for your speedy feedback, and for offering to contact Victor about the file.  I'll install the newer one on my device ASAP.
PW
==============

Areg

unread,
Apr 15, 2015, 2:03:35 AM4/15/15
to osm...@googlegroups.com
Hi

I just would like to check if the file from Mega is uploaded to the OsmAnd special directory http://download.osmand.net/special-maps/ ?

Regards,
Areg

Harry van der Wolf

unread,
Apr 15, 2015, 8:04:51 AM4/15/15
to osmand
No not yet. Some personal affairs came in between which took my full attention and afterwards I had completely forgotten. I will pick it up.

Harry

Areg

unread,
Apr 15, 2015, 8:45:55 AM4/15/15
to osm...@googlegroups.com
Thanks !

Dave Booth

unread,
Apr 16, 2015, 9:41:03 AM4/16/15
to osm...@googlegroups.com
Many thanks for the file (downloading the Mega updated version later, when home from work).
Just downloaded the "special maps" version to try, & after a phone reboot, I'm truly impressed with even the "old" file for finding postcodes. Brilliant!
CHEERS !
:-)
Message has been deleted

Dave Booth

unread,
Apr 16, 2015, 3:24:15 PM4/16/15
to osm...@googlegroups.com
Got the Mega updated file. Been able to find every postcode I can think of, so far. This is SO useful.
Many thanks Harry! Genius.

P Wat

unread,
Apr 16, 2015, 3:31:07 PM4/16/15
to osm...@googlegroups.com
And I'd like to support that vote of thanks.  Agreed, the PostCode search is a really useful facility.  Thank you.
PW
=============

John H

unread,
May 19, 2015, 4:55:38 AM5/19/15
to osm...@googlegroups.com
I found this forum while searching for solution to the UK postcode issue and would like to add my thanks for the good work that has been carried out here. My postcode searches are now functioning perfectly.
John

Richard Venn

unread,
Aug 4, 2015, 3:23:58 PM8/4/15
to Osmand
Yes, many thanks to Harry and all this group. Osmand+ is truly wonderful (used it for walking in France in July) and now this postcode file makes it even better.
Just putting the .obf file in the Osmand directory and rebooting did the job.
Fabulous!!!
Thanks again to all.
Message has been deleted

peweuk

unread,
Nov 8, 2015, 6:32:48 AM11/8/15
to Osmand
Can someone post a new link to download the UK postcode file - the Dropbox link no longer works due to to many visitors (account suspended).

Thanks

Harry van der Wolf

unread,
Nov 8, 2015, 6:34:23 AM11/8/15
to osmand
I created a new one with new links.
see this mail to the group:

Harry

2015-11-08 12:32 GMT+01:00 peweuk <pe...@pewe.co.uk>:
Can someone post a new link to download the UK postcode file - the Dropbox link no longer works due to to many visitors (account suspended).

Thanks

--

peweuk

unread,
Nov 10, 2015, 6:48:14 AM11/10/15
to Osmand
Many thanks for the link - will download the files later today.

P Wat

unread,
Nov 10, 2015, 9:19:00 AM11/10/15
to Osmand

Hello Harry

Please clarify.  My device has “Gb_postcodes_poi_europe.obf” dated 23/3/15.

Should I replace it and if so, should I go to https://github.com/hvdwolf/OsmAnd-UKpostcodes/releases  and use “United Kingdom ..., or combinations of England, NI, Scotland, Wales?

Thanks

Paul W

Harry van der Wolf

unread,
Nov 10, 2015, 4:45:43 PM11/10/15
to osmand
Yes, it is a newer version.

I can't tell what you need. I don know what more to explain then in my mail and that readme on https://github.com/hvdwolf/OsmAnd-UKpostcodes/.

For Scotland, Ireland and Wales I would pick the address file(s). 
For England the POI file wich is indeed for the UK.


Harry

--

P Wat

unread,
Nov 10, 2015, 6:22:23 PM11/10/15
to Osmand
Thanks Harry - Done - Only with the "United-kingdom....." file.  Seems fine.
Why is "England-postcodes...." file three times the size?
Paul W

Harry van der Wolf

unread,
Nov 11, 2015, 4:47:23 PM11/11/15
to osmand
That's the way address files are built.

In a POI file a POI  is simply a "record" with a name, sometimes some extra info and a set of coordinates. That's all there is in the file: a set of POIs.

An address needs a lot of admin areas (country, regions, cities, etc.) which are all (multi)polygons. The address "record" as such is also bigger.

Harry


--

P Wat

unread,
Nov 12, 2015, 6:38:36 PM11/12/15
to Osmand
Ah.  OK.  In that case I'll pop the "England Postcodes Address fnle in also.
Thanks
Paul W
Reply all
Reply to author
Forward
0 new messages