select `slug`,`county`,`neighbours` from `town_geometry` where `name` = 'Bridgend' and st_intersects(st_geometryfromtext('POLYGON((-3.58688478941628 51.5196831453907,-3.58606855941547 51.5202517053912,-3.58493663941463 51.5204468553913,-3.58411537941388 51.5208715853917,-3.58376942941309 51.5221171853928,-3.58103367941083 51.5230353353935,-3.57920242940867 51.5251012353953,-3.57931460940766 51.5275096353973,-3.57836140940647 51.5287094353983,-3.57470998940427 51.5281740253979,-3.57183055940266 51.5274483253972,-3.57033543940521 51.5196091753907,-3.56580257940189 51.5202452853912,-3.56287226940036 51.5192772553904,-3.56176281939885 51.5209735753918,-3.55989851939709 51.5220954353927,-3.55831826939596 51.5222513253929,-3.55663928939455 51.5228940853934,-3.55543170939255 51.5255268253956,-3.55529987939229 51.5258882653959,-3.55494973939173 51.5266122753965,-3.5541967293907 51.5277822453976,-3.54937883938963 51.5230261953935,-3.54626769938713 51.5239484953943,-3.54694340939031 51.5179418053893,-3.54680077939193 51.5141579753861,-3.54605381939198 51.5129538853851,-3.54573893939213 51.5121667253844,-3.54479475939218 51.5106684853832,-3.54426476939217 51.5099111253825,-3.54362520939181 51.5097486953824,-3.54279906939229 51.5074755553804,-3.5416158293923 51.505719655379,-3.53907031939034 51.5062926253795,-3.53806795939037 51.5047681153782,-3.5357958993884 51.505760055379,-3.53479687938799 51.5051886453786,-3.53427484938749 51.5055191953788,-3.53355691938678 51.5060231553793,-3.53217038938571 51.5063560153795,-3.53092160938461 51.50692983538,-3.53016264938443 51.5062113753794,-3.52902042938314 51.5073862653804,-3.52649384938132 51.5076709653807,-3.52560925938042 51.5083658853812,-3.52702732938207 51.5068187553799,-3.52864912938343 51.5061951453794,-3.52945787938747 51.498505285373,-3.53090933939044 51.4940981553692,-3.53227604939138 51.4940443353692,-3.53964883939653 51.4935341053688,-3.54254854939763 51.4953663653703,-3.54889785940289 51.4931335253684,-3.55173516940537 51.4918460853673,-3.55227469940467 51.4941589353693,-3.55273438940423 51.4958164053707,-3.55338772940383 51.4976601453722,-3.55960880940859 51.4963186553711,-3.56019000940892 51.4964637853712,-3.56205463941008 51.4966457853713,-3.56293880941079 51.4963822153711,-3.56418671941151 51.4966443353714,-3.56809387941484 51.49505447537,-3.56918821941558 51.49503983537,-3.57554214942134 51.4917264153672,-3.57938934942522 51.4888420953648,-3.57943480942428 51.4909906253666,-3.58086533942424 51.4932014253684,-3.58336703942541 51.4943096753693,-3.59114364943046 51.4946540153696,-3.59568923943248 51.4969392153715,-3.60345776943728 51.4978583453723,-3.60801062943996 51.498686225373,-3.60971665944085 51.4992652953734,-3.61294005944103 51.5036451953772,-3.60984074943638 51.5093259253819,-3.60919833943513 51.5111331953834,-3.60497921943003 51.5161457353877,-3.60083108942647 51.5178660053891,-3.59437767942246 51.5171446153885,-3.58695922941761 51.5168495953883,-3.58688478941628 51.5196831453907))'),`SHAPE`)There was an error running the query []