2025-02-28     2025-03-01     2025-03-02

distance between postal code centroid and wikipedia article

number of errors=35
number of warnings=0
Group=chkGrpPostalCode
Group=ckgGrpWP

select distinct zip_code.countrycode,wp_postalcode.title,placename,code,to_char(longlat<->estlonglat,'99.99') as dist,url,'http://www.geonames.org/maps/google_' || wp_postalcode.longlat[1] || '_' || wp_postalcode.longlat[0] || '.html' as wpurl,zip_code.geonameid from wp_postalcode_code,wp_postalcode,zip_code where wp_postalcode.wikipediaid=wp_postalcode_code.wikipediaid and wp_postalcode.language=wp_postalcode_code.language and code=zip and wp_postalcode.countrycode=zip_code.countrycode and longlat<->estlonglat>1 and title=placename and iswithinccbounds and zip_code.countrycode not in ('TR','CN','AU','ES','FR','IN','IT','MX','US','ZA') order by zip_code.countrycode

[{key=RO,number=9}, {key=GR,number=6}, {key=PH,number=4}, {key=DZ,number=3}, {key=MA,number=3}, {key=BR,number=1}, {key=CA,number=1}, {key=CL,number=1}, {key=CZ,number=1}, {key=DE,number=1}, {key=GB,number=1}, {key=GL,number=1}, {key=NO,number=1}, {key=PK,number=1}, {key=SE,number=1}]
CA=http://www.canadapost.ca/cpotools/apps/fpc/personal/findByCity?execution=e2s1
DE=http://www.deutschepost.de/plzsuche/

countrycode	title	placename	code	dist	url	wpurl	geonameid	
BR	Capanema	Capanema	68700-000	 25.48	http://en.wikipedia.org/wiki/Capanema	http://www.geonames.org/maps/google_-25.671944444444446_-53.80888888888889.html	6319391	
CA	Kinistino	Kinistino	S0J 1H0	  1.61	http://en.wikipedia.org/wiki/Kinistino	http://www.geonames.org/maps/google_51.311_-104.995.html	null	
CL	Punta Arenas	Punta Arenas	6200000	  1.24	http://it.wikipedia.org/wiki/Punta_Arenas	http://www.geonames.org/maps/google_-53.1583_-70.898895.html	8261182	
CZ	Zbraslav	Zbraslav	156 00	  1.33	http://en.wikipedia.org/wiki/Zbraslav	http://www.geonames.org/maps/google_49.9675_14.386666666666667.html	3061755	
DE	Bernried	Bernried	82347	  1.89	http://en.wikipedia.org/wiki/Bernried	http://www.geonames.org/maps/google_48.9167_12.8667.html	2949976	
DZ	Djanet	Djanet	33002	  4.02	http://fr.wikipedia.org/wiki/Djanet	http://www.geonames.org/maps/google_24.555_9.485277777777776.html	null	
DZ	In Ghar	In Ghar	11004	  3.52	http://fr.wikipedia.org/wiki/In_Ghar	http://www.geonames.org/maps/google_27.103927_1.904645.html	null	
DZ	Ouled Dahmane	Ouled Dahmane	34033	  1.33	http://fr.wikipedia.org/wiki/Ouled_Dahmane	http://www.geonames.org/maps/google_36.366667_3.466667.html	null	
GB	Naunton Beauchamp	Naunton Beauchamp	WR10	  1.40	http://nl.wikipedia.org/wiki/Naunton_Beauchamp	http://www.geonames.org/maps/google_51.8006_-0.6932.html	null	
GL	Qeqertarsuaq	Qeqertarsuaq	3953	  8.06	http://en.wikipedia.org/wiki/Qeqertarsuaq	http://www.geonames.org/maps/google_69.243611_-53.553056.html	3420636	
GR	Ampelonas	Ampelonas	404 00	  2.02	http://it.wikipedia.org/wiki/Ampelonas	http://www.geonames.org/maps/google_39.74527777777778_22.361941666666667.html	254749	
GR	Fourni	Fourni	834 00	  2.46	http://sv.wikipedia.org/wiki/Fourni	http://www.geonames.org/maps/google_37.583333333333336_26.483333333333334.html	262269	
GR	Kollines	Kollines	220 11	  1.19	http://en.wikipedia.org/wiki/Kollines	http://www.geonames.org/maps/google_37.28666666666667_22.36.html	null	
GR	Lagkadia	Lagkadia	220 03	  1.91	http://it.wikipedia.org/wiki/Lagkadia	http://www.geonames.org/maps/google_37.68333333333333_22.033333333333335.html	258599	
GR	Leros	Leros	854 00	  1.07	http://en.wikipedia.org/wiki/Leros	http://www.geonames.org/maps/google_37.1563012_26.8516412.html	null	
GR	Lipsi	Lipsi	850 01	  1.23	http://nl.wikipedia.org/wiki/Lipsi	http://www.geonames.org/maps/google_37.3_26.766666666666666.html	null	
MA	Figuig	Figuig	61000	  1.75	http://pt.wikipedia.org/wiki/Figuig	http://www.geonames.org/maps/google_32.13_-1.2300000000000002.html	null	
MA	Midelt	Midelt	54350	  1.08	http://pt.wikipedia.org/wiki/Midelt	http://www.geonames.org/maps/google_32.68333333333333_-4.736111111111112.html	null	
MA	Tinghir	Tinghir	45800	  1.65	http://fr.wikipedia.org/wiki/Tinghir	http://www.geonames.org/maps/google_31.51472_-5.53278.html	null	
NO	Svarstad	Svarstad	3275	  2.62	http://en.wikipedia.org/wiki/Svarstad	http://www.geonames.org/maps/google_61.7_11.216666666666667.html	null	
PH	Agutaya	Agutaya	5320	  2.00	http://es.wikipedia.org/wiki/Agutaya	http://www.geonames.org/maps/google_11.14861111111111_120.94222222222223.html	null	
PH	Brooke's Point	Brooke's Point	5305	  1.35	http://en.wikipedia.org/wiki/Brooke%27s_Point	http://www.geonames.org/maps/google_8.783333333333333_117.83333333333333.html	null	
PH	Cagayancillo	Cagayancillo	5321	  2.50	http://es.wikipedia.org/wiki/Cagayancillo	http://www.geonames.org/maps/google_9.576944444444445_121.20722222222223.html	null	
PH	Culion	Culion	5315	  1.07	http://en.wikipedia.org/wiki/Culion	http://www.geonames.org/maps/google_11.88888888888889_120.02027777777778.html	null	
PK	Fateh Jang	Fateh Jang	43350	  1.17	http://en.wikipedia.org/wiki/Fateh_Jang	http://www.geonames.org/maps/google_33.56888888888889_72.63777777777779.html	1451052	
RO	Aninoasa	Aninoasa	335100	  1.01	http://es.wikipedia.org/wiki/Aninoasa	http://www.geonames.org/maps/google_45.37861111111111_22.310000000000002.html	686315	
RO	Borcea	Borcea	917015	  1.32	http://nl.wikipedia.org/wiki/Borcea	http://www.geonames.org/maps/google_44.333330555555555_27.756944444444443.html	null	
RO	Desa	Desa	207225	  1.05	http://it.wikipedia.org/wiki/Desa	http://www.geonames.org/maps/google_43.86666666666667_23.033333333333335.html	null	
RO	Jina	Jina	557110	  1.02	http://nl.wikipedia.org/wiki/Jina	http://www.geonames.org/maps/google_45.78444444444444_23.681944444444447.html	null	
RO	Lăcusteni	Lăcusteni	247764	  3.78	http://it.wikipedia.org/wiki/L%C4%83custeni	http://www.geonames.org/maps/google_44.606944444444444_27.675555555555558.html	675092	
RO	Moisei	Moisei	437195	  1.16	http://nl.wikipedia.org/wiki/Moisei	http://www.geonames.org/maps/google_47.65611111111111_24.53805555555556.html	null	
RO	Negoi	Negoi	207430	  1.80	http://it.wikipedia.org/wiki/Negoi	http://www.geonames.org/maps/google_45.6_22.75.html	672417	
RO	Săpata	Săpata	117640	  1.38	http://nl.wikipedia.org/wiki/S%C4%83pata	http://www.geonames.org/maps/google_43.88333333333333_23.666666666666668.html	null	
RO	Vărbilău	Vărbilău	107650	  1.01	http://nl.wikipedia.org/wiki/V%C4%83rbil%C4%83u	http://www.geonames.org/maps/google_45.178_26.9576.html	663178	
SE	Idre	Idre	790 91	  3.07	http://sv.wikipedia.org/wiki/Idre	http://www.geonames.org/maps/google_61.856667_12.716667.html	null