2025-03-04     2025-03-05     2025-03-06

shape valid admin code 4 for IT

number of errors=0
number of warnings=0
country=IT
Group=chkGrpShp

select geonameid,name,countrycode,admincode1,admincode2,admincode3,admincode4 from geoname where countrycode='IT' and featurecode='ADM4' and not exists (select 1 from geoname_shape where level=5 and geoname_shape.countrycode=geoname.countrycode and geoname_shape.admincode1=geoname.admincode1 and geoname_shape.admincode2=geoname.admincode2 and geoname_shape.admincode3=geoname.admincode3 and geoname_shape.admincode4=geoname.admincode4)

geonameid	name	countrycode	admincode1	admincode2	admincode3	admincode4