2025-05-30     2025-05-31     2025-06-01

duplicates for populated places within shape

number of errors=4
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	
Salate de los Tapias	MX	PPL	8869536	4007727	
Bacausa de Abajo	MX	PPL	8884303	9017312	
Palmar de los Ríos	MX	PPL	8870574	4008803	
Alfonso G. Calderón Velarde	MX	PPL	8858625	3981767