js,php 使用正则表达式解析GPS数据
形如(116.414922,40.035715,0.0)(116.415122,40.035715,0.0)(116.415122,40.035515,0.0)(116.414922,40.035515,0.0) ...这种数据可以使用正则表达式解析数据
php中
$result = array();
preg_match_all("/\((\d{0,3}.\d{1,6})*
原创
2015-09-01 10:33:56 ·
948 阅读 ·
0 评论