2025-03-05     2025-03-06     2025-03-07

distance between postal code centroid and linked geoname centroid

number of errors=57
number of warnings=0
Group=chkGrpPostalCode

select geoname.countrycode,geoname.geonameid,name,placename,zip,longlat<->estlonglat as dist,'http://www.geonames.org/maps/google_' || estlonglat[1] || '_' || estlonglat[0] || '.html' as gnurl from geoname,zip_code where geoname.geonameid=zip_code.geonameid and longlat<->estlonglat>1 order by geoname.countrycode,longlat<->estlonglat

[{key=UA,number=10}, {key=CA,number=8}, {key=RU,number=7}, {key=IT,number=4}, {key=US,number=4}, {key=ZA,number=4}, {key=BR,number=3}, {key=GB,number=3}, {key=MX,number=3}, {key=MH,number=2}, {key=AR,number=1}, {key=CH,number=1}, {key=ES,number=1}, {key=FI,number=1}, {key=HR,number=1}, {key=IN,number=1}, {key=KR,number=1}, {key=LV,number=1}, {key=RO,number=1}]
CA=http://www.canadapost.ca/cpotools/apps/fpc/personal/findByCity?execution=e2s1
ES=http://www.correos.es/comun/CodigosPostales/1010_s-CodPostal.asp
HR=http://www.posta.hr/default.aspx?pretpum&tvrsta=mjesto&id=3417
IN=http://www.indiapost.gov.in/
IT=http://poste.it/online/cercacap/home.do
US=https://tools.usps.com/go/ZipLookupAction!input.action
ZA=http://www.postoffice.co.za/postcodes/postcodesc.pdf

countrycode	geonameid	name	placename	zip	dist	gnurl	
AR	3430859	Partido de Presidente Perón	MAR DE OSTENDE	7167	2.6732384378154133	http://www.geonames.org/maps/google_-37.1333333_-56.8833333.html	
BR	6324179	Coari	Coari	69460-000	1.0102259692050228	http://www.geonames.org/maps/google_-4.085_-63.14138889.html	
BR	6324251	Iracema	Iracema	69348-000	1.0508858062312874	http://www.geonames.org/maps/google_2.37661290529974_-62.701969524761.html	
BR	3397966	Itaituba	Itaituba	68180-000	1.603383734865912	http://www.geonames.org/maps/google_-4.276111111_-55.98361111.html	
CA	7290228	Garibaldi Highlands	Highlands	V9B	1.314783992783305	http://www.geonames.org/maps/google_48.479301105108355_-123.52710803474507.html	
CA	6696259	Bathurst	Bathurst	E4A	1.4669021568783192	http://www.geonames.org/maps/google_46.15989007940908_-65.8102083620849.html	
CA	6137587	Saint-Charles-de-Bourget	Lac-Saint-Charles	G3G	1.6428727043710807	http://www.geonames.org/maps/google_46.924192483190375_-71.3958442719014.html	
CA	6138980	Saint-Raymond	Saint-Raymond	G3L	2.4775338432971052	http://www.geonames.org/maps/google_47.237399764830705_-71.87633405685442.html	
CA	8354586	Saint-Henri	Saint-Henri	H4C	2.798581447232103	http://www.geonames.org/maps/google_45.4736835454389_-73.5881959771899.html	
CA	6168788	Très-Saint-Rédempteur	Saint-Redempteur	G6K	3.325473769610085	http://www.geonames.org/maps/google_46.68799898275983_-71.3028104323501.html	
CA	6137533	Saint-Bruno	Saint-Bruno	J3V	3.388915734398173	http://www.geonames.org/maps/google_45.53199709940422_-73.34371744384336.html	
CA	6138047	Saint-Émile-de-Suffolk	Saint-Émile	G3E	3.6978135922483655	http://www.geonames.org/maps/google_46.87791868613988_-71.3408241641965.html	
CH	7670420	Strada	Strada	7558	1.2551320095499578	http://www.geonames.org/maps/google_46.840725265_10.43857927.html	
ES	3119216	La Pobla de Claramunt	Claramunt	25634	1.0910154291114365	http://www.geonames.org/maps/google_42.178796871920646_0.7825664455911491.html	
FI	654121	Karhunkylä	Karhunkylä	62160	1.2170995567061629	http://www.geonames.org/maps/google_62.94614518834691_23.146774775067744.html	
GB	2645817	Kenmore	Kenmore	IV54	2.0094794361988115	http://www.geonames.org/maps/google_57.5666667_-5.75.html	
GB	2652619	Colby	Colby	IM9	2.2297267463767763	http://www.geonames.org/maps/google_54.09508884615385_-4.692851769230769.html	
GB	2653019	Churchtown	Churchtown	IM7	2.342219360788041	http://www.geonames.org/maps/google_54.381528_-4.4273065.html	
HR	3215880	Starigrad	Stari Grad	21460	2.9691885853061604	http://www.geonames.org/maps/google_43.1729639_16.624871125.html	
IN	7302806	Bellampalli	Bellampalli	504251	1.0277376747122822	http://www.geonames.org/maps/google_19.515778729836136_78.57395431622608.html	
IT	3173699	Mattinata	Mattinata	71030	1.0030368041054016	http://www.geonames.org/maps/google_41.53234977484023_15.063893180923769.html	
IT	2522818	Ustica	Ustica	90010	1.0437978806411419	http://www.geonames.org/maps/google_37.97495889675621_13.934185297332759.html	
IT	2523890	Pantelleria	Pantelleria	91017	1.4047393245860789	http://www.geonames.org/maps/google_38.00487481470287_12.713643106757237.html	
IT	2524459	Lampedusa	Lampedusa	92010	2.1383581304323083	http://www.geonames.org/maps/google_37.51602715014869_13.326527989907861.html	
KR	6797648	Ulleung-eup	울릉읍	40240	1.0132760816618318	http://www.geonames.org/maps/google_37.23999663108911_131.86778999125463.html	
LV	10860650	Egļukalns	Egļukalns	LV-4580	1.7006765458464217	http://www.geonames.org/maps/google_57.21985811111111_27.36875033333333.html	
MH	6806225	Ebeye	Ebeye	96970	2.7092712882109566	http://www.geonames.org/maps/google_11.140496_166.410291.html	
MH	2113779	Majuro	Majuro	96960	6.411671855485676	http://www.geonames.org/maps/google_11.140496_166.410291.html	
MX	3801459	Francisco Villa	Francisco Villa	71230	1.370994857860531	http://www.geonames.org/maps/google_17.019021221878308_-96.748595246306.html	
MX	4027593	El Cantón	El Cantón	39937	1.4869535666721005	http://www.geonames.org/maps/google_16.957296459332824_-99.71434973508067.html	
MX	3821794	Vista Hermosa	Vista Hermosa	40906	1.5125298833829497	http://www.geonames.org/maps/google_17.405961345865318_-100.74443678520487.html	
RO	674294	Lupeni	Lupeni	335600	2.2272170667180493	http://www.geonames.org/maps/google_45.36028749590424_23.23831558227539.html	
RU	2124245	Kovran	Ковран	688621	1.9514309037747386	http://www.geonames.org/maps/google_59.15_156.9833333.html	
RU	2119701	Vostok	Восток	694201	5.984741607186086	http://www.geonames.org/maps/google_48.9166667_148.9.html	
RU	802798	Krasnaya Moskva	Москва 72	119072	6.353735120550532	http://www.geonames.org/maps/google_55.7522222_37.6155556.html	
RU	6846214	Novaya Moskva	Москва 51	127051	6.956041204094095	http://www.geonames.org/maps/google_55.7522222_37.6155556.html	
RU	524896	Moskovka	Москва 85	129085	9.184183767583772	http://www.geonames.org/maps/google_55.7522222_37.6155556.html	
RU	483444	Terek-Kuyu	Москва 17	119017	13.886900772510247	http://www.geonames.org/maps/google_55.752_37.615.html	
RU	1498362	Moskovka	Москва 78	107078	28.132923404128825	http://www.geonames.org/maps/google_55.7522222_37.6155556.html	
UA	693457	Smila	Сміла	20703	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20708	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20709	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20705	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20704	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20702	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20706	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20707	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	693457	Smila	Сміла	20701	1.6659662296258604	http://www.geonames.org/maps/google_49.13742916666667_33.547495555555564.html	
UA	687908	Zahaltsi	Загальці	07823	2.4457511174616697	http://www.geonames.org/maps/google_48.216667_29.804122.html	
US	4124358	Oak Grove	Oak Grove	72660	1.1994855798002992	http://www.geonames.org/maps/google_36.461347_-93.432129.html	
US	5474906	La Madera	La Madera	87539	1.2598729600462941	http://www.geonames.org/maps/google_36.465416_-106.578513.html	
US	8605009	Denali National Park	Denali National Park	99755	1.7369362471870022	http://www.geonames.org/maps/google_63.543571_-149.986676.html	
US	5220281	Yardley	Yap	96943	228.7575546208236	http://www.geonames.org/maps/google_7.138297_151.503116.html	
ZA	1014011	Carolina	Carolina	1185	2.0741817244803045	http://www.geonames.org/maps/google_-26.069274_30.114888.html	
ZA	971322	Newlands	Newlands	7700	4.742338316516532	http://www.geonames.org/maps/google_-33.97845641624045_18.448104858398438.html	
ZA	969583	Noupoort	Noupoort	5950	5.095597922116109	http://www.geonames.org/maps/google_-31.187355_24.94991.html	
ZA	987544	Kraaifontein	Kraaifontein	7570	7.908547031990202	http://www.geonames.org/maps/google_-33.848084_18.717235.html