|
|
@@ -390,7 +390,7 @@ FROM information_schema.triggers
|
|
|
$structure=self::describe_table_value($table);
|
|
|
foreach($structure as $Field=>$Struct) {
|
|
|
//echo $Struct->Type;
|
|
|
- if((strstr($Struct->Type,"multipoint") )||strstr($Struct->Type,"linestring") ||strstr($Struct->Type,"polygon"))
|
|
|
+ if((strstr($Struct->Type,"point") )|| strstr($Struct->Type,"multipoint") || strstr($Struct->Type,"linestring") ||strstr($Struct->Type,"polygon"))
|
|
|
$col[]=' ST_AsText("'.$Field.'") as "'.$Field.'"';
|
|
|
else $col[]='"'.$Field.'"';
|
|
|
}
|