- Download GeoNames JP postal code database (142K entries) - Create geocode_japan_postal.py with postal code lookup - Handle unicode hyphen variants in postal codes - Add manual mappings for remote Tokyo islands (Hachijojima, Miyakejima) - Implement prefix fallback for company postal codes - Total JP files geocoded: 540 (99.81% coverage) This brings overall geocoding coverage from 97.84% to 99.81%
49 lines
2.8 KiB
Text
49 lines
2.8 KiB
Text
Readme for GeoNames Postal Code files :
|
|
|
|
allCountries.zip: all supported countries, for CA,NL and UK only the first part of the codes.
|
|
The full codes for CA are in the CA_full.csv.zip, same for NL and UK.
|
|
<iso countrycode>: country specific subset also included in allCountries.zip
|
|
This work is licensed under a Creative Commons Attribution 4.0 License.
|
|
This means you can use the dump as long as you give credit to geonames (a link on your website to www.geonames.org is ok)
|
|
see http://creativecommons.org/licenses/by/3.0/
|
|
UK (GB_full.csv.zip): Contains Royal Mail data Royal Mail copyright and database right 2022.
|
|
The Data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.
|
|
|
|
This readme describes the GeoNames Postal Code dataset.
|
|
The main GeoNames gazetteer data extract is here: http://download.geonames.org/export/dump/
|
|
|
|
|
|
Supported countries: nearly 100 countries are currently supported. New countries area added when the national postal service starts publishing data under a compatible license.
|
|
|
|
For many countries lat/lng are determined with an algorithm that searches the place names in the main geonames database
|
|
using administrative divisions and numerical vicinity of the postal codes as factors in the disambiguation of place names.
|
|
For postal codes and place name for which no corresponding toponym in the main geonames database could be found an average
|
|
lat/lng of 'neighbouring' postal codes is calculated.
|
|
Please let us know if you find any errors in the data set. Thanks
|
|
|
|
For Chile we have only the first digits of the full postal codes (for copyright reasons)
|
|
|
|
For China we have only the first digits of the full postal codes ending with 00
|
|
|
|
For Ireland we have only the first letters of the full postal codes (for copyright reasons)
|
|
|
|
For Malta we have only the first letters of the full postal codes (for copyright reasons)
|
|
|
|
The Argentina data file contains the first 5 positions of the postal code.
|
|
|
|
For Brazil only major postal codes are available (only the codes ending with -000 and the major code per municipality).
|
|
|
|
The data format is tab-delimited text in utf8 encoding, with the following fields :
|
|
|
|
country code : iso country code, 2 characters
|
|
postal code : varchar(20)
|
|
place name : varchar(180)
|
|
admin name1 : 1. order subdivision (state) varchar(100)
|
|
admin code1 : 1. order subdivision (state) varchar(20)
|
|
admin name2 : 2. order subdivision (county/province) varchar(100)
|
|
admin code2 : 2. order subdivision (county/province) varchar(20)
|
|
admin name3 : 3. order subdivision (community) varchar(100)
|
|
admin code3 : 3. order subdivision (community) varchar(20)
|
|
latitude : estimated latitude (wgs84)
|
|
longitude : estimated longitude (wgs84)
|
|
accuracy : accuracy of lat/lng from 1=estimated, 4=geonameid, 6=centroid of addresses or shape
|