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

unlocodes with high functions are matched

number of errors=11
number of warnings=0
Group=chkGrpUnlocode

select cc,code,name,function,iata,geonameid,longlat from UNLOCODE20241 where (function like '1234%' or array_length(regexp_split_to_array(function,'-'),1)<6) and geonameid is null and code <>'' order by cc,code

cc	code	name	function	iata	geonameid	longlat	
CN	UIA	Hui'an,Quanzhou	123--6--	null	null	(118.93333333333334,25.033333333333335)	
CN	ULZ	Urumqi International Lugang	-23-56--	null	null	(87.6,43.81666666666667)	
CN	XAG	Xianguojilugang	123-56--	null	null	null	
IR	AMD	Bandar Amirabad	123-56--	null	null	(53.35,36.78333333333333)	
IR	NEK	Bandar Neka	1-3-56--	null	null	(53.53333333333333,36.86666666666667)	
KZ	BKZ	Baikonur	-234-6--	null	null	null	
KZ	HOR	Horgos	-23-56--	null	null	null	
US	PMV	Port MacKenzie	123--6--	null	null	(-149.91666666666666,61.266666666666666)	
US	RGJ	Rivergate	123--6--	null	null	(-122.76666666666667,45.61666666666667)	
US	TWM	Stewart, McLeod	123--6--	null	null	(-94.35,44.71666666666667)	
VN	TAM	Tanamexco ICD	1-3--67-	null	null	null