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

each sea lat/lng should be within its bounding box

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

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