insert into osmworkssd.cache_adminlevelswithin (md,result) values ('7588e932462169622428543c4053a268',compress('a:17:{i:1640136;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1640136";s:4:"name";s:10:"West Coast";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25948570";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:16:"3.99476929777029";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1640138;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1640138";s:4:"name";s:5:"Otago";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25948572";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"4.424985108187684";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1640159;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1640159";s:4:"name";s:9:"Southland";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25948573";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"6.393962075956097";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1643812;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1643812";s:4:"name";s:8:"Taranaki";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25956326";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"1.325609294298829";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:2094141;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"2094141";s:4:"name";s:8:"Auckland";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"26694344";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"1.6256961913809391";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:2094142;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"2094142";s:4:"name";s:7:"Waikato";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"26694345";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"3.5645528124478005";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:2133870;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"2133870";s:4:"name";s:9:"Northland";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"26757848";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"2.985124134812395";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:4266977;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"4266977";s:4:"name";s:11:"Marlborough";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"29703587";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"1.912396657168756";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:4266979;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"4266979";s:4:"name";s:6:"Tasman";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"29703590";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"1.5894419049723183";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1638992;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1638992";s:4:"name";s:17:"Manawatu-Wanganui";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25945083";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"2.6682765616342294";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1643811;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1643811";s:4:"name";s:11:"Hawke's Bay";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25956325";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"2.240158097398762";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1790755;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1790755";s:4:"name";s:13:"Bay of Plenty";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"26158790";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"2.247642782986077";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:2643819;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"2643819";s:4:"name";s:8:"Gisborne";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"27445586";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"1.4222661291451004";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1638991;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1638991";s:4:"name";s:10:"Wellington";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25945082";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"1.7107645909359235";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:4266962;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"4266962";s:4:"name";s:6:"Nelson";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"29703577";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"0.1325478870930965";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:1640137;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"1640137";s:4:"name";s:10:"Canterbury";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"25948571";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:17:"6.320445879284307";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}i:2647558;a:14:{s:4:"stt2";s:4:"stt2";s:5:"arole";s:5:"outer";s:2:"id";s:7:"2647558";s:4:"name";s:15:"Chatham Islands";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"oid";s:8:"27450550";s:1:"v";s:1:"4";s:3:"kid";s:3:"222";s:4:"type";s:8:"boundary";s:4:"area";s:18:"1.4473644296090242";s:7:"mbrline";s:5:"dummy";s:11:"admin_level";s:1:"4";}}'))
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Bay";s:4:"role";s:5:"outer";s:4:"line";s:1:"x";s:8:"centroid";s:5:"dummy";s:3:"o' at line 1