2025-01-24     2025-01-25     2025-01-26

duplicates for cities15000

number of errors=4
number of warnings=0

select a.countrycode,a.geonameid,b.geonameid,a.name,a.admincode1,b.admincode1 from geoname a, geoname b where a.geonameid <> b.geonameid and a.featureclass='P' and b.featureclass='P' and lower(a.name)=lower(b.name) and a.longlat<->b.longlat<0.25 and a.iscities15000 and b.iscities15000 and a.admincode1=b.admincode1

countrycode	geonameid	geonameid	name	admincode1	admincode1	
CN	8417604	1815878	Longxing	33	33	
CN	1815878	8417604	Longxing	33	33	
US	13157362	5756758	Tigard	OR	OR	
US	5756758	13157362	Tigard	OR	OR