2025-09-11     2025-09-12     2025-09-13

duplicates for populated places within shape

number of errors=5
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	
Los Bajíos	MX	PPL	8757645	3997886	
Lomas de Colosio	MX	PPL	8872080	8752651	
El Kipur	MX	PPL	8882071	8762003	
El Venadito	MX	PPL	4011611	4009568	
Breitefeld	DE	PPL	11594408	2944759