2025-03-02     2025-03-03     2025-03-04

duplicates for populated places within shape

number of errors=0
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