2025-05-25     2025-05-26     2025-05-27

each adm2 lat/lng should be within its bounding box

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

[{key=TR,number=2}]

geonameid	countrycode	name	adm1	fcl	fcode	shape	
7732341	TR	Yıldırım İlçesi	16	A	ADM2	http://map.immofacts.ch/servlet/geonames?srv=781&lat=40.195667&lng=29.036398	
8521536	TR	Sultangazi	34	A	ADM2	http://map.immofacts.ch/servlet/geonames?srv=781&lat=41.21791981422846&lng=28.717403411865234