|
@@ -12,6 +12,7 @@ import com.jiayue.biz.domain.*;
|
|
import com.jiayue.biz.service.EmailService;
|
|
import com.jiayue.biz.service.EmailService;
|
|
import com.jiayue.biz.service.EmailWindTowerInfoService;
|
|
import com.jiayue.biz.service.EmailWindTowerInfoService;
|
|
import com.jiayue.biz.util.CalculationUtil;
|
|
import com.jiayue.biz.util.CalculationUtil;
|
|
|
|
+import com.jiayue.biz.util.CoordinateUtil;
|
|
import com.jiayue.common.utils.file.FileUtils;
|
|
import com.jiayue.common.utils.file.FileUtils;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -213,14 +214,16 @@ public class AnalysisDataImpl {
|
|
String[] strs_cell = valueString.split("\t");
|
|
String[] strs_cell = valueString.split("\t");
|
|
String[] s = strs_cell[1].split(" ");
|
|
String[] s = strs_cell[1].split(" ");
|
|
String split = s[2].substring(0, 2);
|
|
String split = s[2].substring(0, 2);
|
|
- latitude = s[1] + "." + split;
|
|
|
|
|
|
+ latitude = s[1] + " " + split;
|
|
|
|
+ latitude = CoordinateUtil.changeToDu(latitude);
|
|
}
|
|
}
|
|
if (valueString.contains("Longitude")) {
|
|
if (valueString.contains("Longitude")) {
|
|
//经度
|
|
//经度
|
|
String[] strs_cell = valueString.split("\t");
|
|
String[] strs_cell = valueString.split("\t");
|
|
String[] s = strs_cell[1].split(" ");
|
|
String[] s = strs_cell[1].split(" ");
|
|
String split = s[2].substring(0, 2);
|
|
String split = s[2].substring(0, 2);
|
|
- longitude = s[1] + "." + split;
|
|
|
|
|
|
+ longitude = s[1] + " " + split;
|
|
|
|
+ longitude = CoordinateUtil.changeToDu(longitude);
|
|
}
|
|
}
|
|
if (valueString.contains("Serial #")) {
|
|
if (valueString.contains("Serial #")) {
|
|
//记录仪编号
|
|
//记录仪编号
|