Código PHP:
while($res=$this->conn->obtener_fila($result,0)){
$cadena= substr($res->poligono,9,-2);
$array[]=explode(',',$cadena);
$arrayPro[]=$res->idpropiedad;
$arrayCentro[]=$res->centro;
}
$count=count($array);
for($i=0;$i<$count;++$i){
$count2=count($array[$i]);
for($j=0;$j<$count2;++$j){
$this->output->allProperty[$i]->polygon[$j]=explode(" ",$array[$i][$j]);
$this->output->allProperty[$i]->idproperty=$arrayPro[$i];
$this->output->allProperty[$i]->center=explode(" ",$arrayCentro[$i]);
}
}
quiciera saber que cosas puedo arreglar para que sean mas rapidos.
saludos