cadena
Código PHP:
"POLYGON((-74.060215 4.673753,-74.060234 4.673628,-74.06047 4.673677,-
74.060319 4.674571,-74.060187 4.674543,-74.060062 4.674531,-74.060215
4.673753))"
asi
$x[]=array('x'=>,'y'=>);
yo lo hice asi.
Código PHP:
$cadenatmp= substr($cadena,9,-2);
$cadenatmp=explode(',',$cadenatmp);
$count=count($cadenatmp);
for($i=0;$i<$count;++$i){
$polygon[$i]=explode(" ",$cadenatmp[$i]);
}