2025-04-18     2025-04-19     2025-04-20

each island lat/lng should be within its bounding box

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

select geoname.geonameid,countrycode,name,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,'http://map.immofacts.ch/shape/' || geoshapeid || '/' as geoshapeid 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	fcl	fcode	shape	geoshapeid	
1680578	MY	Turtle Islands	T	ISLS	http://map.immofacts.ch/servlet/geonames?srv=781&lat=6.2113&lng=118.094	null	
1821133	PH	Kalayaan Islands	T	ISLS	http://map.immofacts.ch/servlet/geonames?srv=781&lat=10.671404468527436&lng=115.8453369140625	null	
2125578	RU	Ostrov Getabu	T	ISL	http://map.immofacts.ch/servlet/geonames?srv=781&lat=52.224349&lng=143.139149	http://map.immofacts.ch/shape/738402/	
5879148	US	Aleutian Islands	T	ISLS	http://map.immofacts.ch/servlet/geonames?srv=781&lat=52.0969444&lng=-173.5005556	null	
1821005	null	Spratly Islands	T	ISLS	http://map.immofacts.ch/servlet/geonames?srv=781&lat=10&lng=114	null