2025-03-28     2025-03-29     2025-03-30

duplicates for populated places within shape

number of errors=3
number of warnings=0

select a.name,a.countrycode,a.featurecode,a.geonameid,b.geonameid from geoname a, geoname b, geoname_bbox bb where a.featureclass='P' and b.featureclass='P' and a.geonameid=bb.geonameid and accuracylevel=10 and st_within(b.geography::geometry,wkb_geometry) and a.geonameid<>b.geonameid and lower(a.name)=lower(b.name)

name	countrycode	featurecode	geonameid	geonameid	
Eaglescliffe	GB	PPL	6694830	13269241	
Blairgowrie	GB	PPL	2655394	13268594	
West Cornforth	GB	PPL	2634467	13265249