2025-03-01     2025-03-02     2025-03-03

shape valid admin code 4 for FR

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

select geonameid,name,countrycode,admincode1,admincode2,admincode3,admincode4 from geoname where countrycode='FR' 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