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

each adm5 lat/lng should be within its bounding box

number of errors=0
number of warnings=0
Group=chkGrpBBox

select geoname.geonameid,countrycode,name,admincode1 as adm1,featureclass as fcl,geoname.featurecode as fcode,'http://map.immofacts.ch/servlet/geonames?srv=781&lat=' || GEONAME.longlat[1] || '&lng=' || GEONAME.longlat[0] as shape from geoname_bbox,geoname where geoname.geonameid=geoname_bbox.geonameid and (south>longlat[1] or longlat[1]>north or (westeast)) or (west>east and ((longlat[0]<0 and longlat[0]>west) or (longlat[0]>0 and longlat[0]

geonameid	countrycode	name	adm1	fcl	fcode	shape