修改报告单位及点显示
parent
60d786cf4a
commit
e0eaea4e48
|
@ -241,31 +241,31 @@ export default {
|
||||||
let prodDes = null;
|
let prodDes = null;
|
||||||
switch (this.pdSubType) {
|
switch (this.pdSubType) {
|
||||||
case productSubTypeVal.ACS_DEM:
|
case productSubTypeVal.ACS_DEM:
|
||||||
prodDes = "米";
|
prodDes = "高程:m";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_BACKSCATTERINGCOEFFICIENT:
|
case productSubTypeVal.ACS_BACKSCATTERINGCOEFFICIENT:
|
||||||
prodDes = "dB";
|
prodDes = "后向散射系数:dB";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_ATMOSPHERICDELAYCORRECTION:
|
case productSubTypeVal.ACS_ATMOSPHERICDELAYCORRECTION:
|
||||||
prodDes = "米";
|
prodDes = "大气延迟:m";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_DEFORMATION:
|
case productSubTypeVal.ACS_DEFORMATION:
|
||||||
prodDes = "米";
|
prodDes = "形变量:m";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_SOILMOISTURE:
|
case productSubTypeVal.ACS_SOILMOISTURE:
|
||||||
prodDes = "立方厘米/立方厘米";
|
prodDes = "体积含水量:cm³/cm³";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_SOILSALINITYINVERSION:
|
case productSubTypeVal.ACS_SOILSALINITYINVERSION:
|
||||||
prodDes = "克/千克";
|
prodDes = "土壤盐碱度:g/kg";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_SURFACEROUGHNESS:
|
case productSubTypeVal.ACS_SURFACEROUGHNESS:
|
||||||
prodDes = "厘米";
|
prodDes = "均方根高度:cm";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_GROUNDVEGETATIONHEIGHT:
|
case productSubTypeVal.ACS_GROUNDVEGETATIONHEIGHT:
|
||||||
prodDes = "厘米";
|
prodDes = "植被高度:cm";
|
||||||
break;
|
break;
|
||||||
case productSubTypeVal.ACS_GROUNDLEAFAREAINDEX:
|
case productSubTypeVal.ACS_GROUNDLEAFAREAINDEX:
|
||||||
prodDes = "LAI值";
|
prodDes = "叶面积指数:LAI";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return prodDes;
|
return prodDes;
|
||||||
|
@ -341,6 +341,7 @@ export default {
|
||||||
predictedValues.push(errorVala[i].cre_imageValue);
|
predictedValues.push(errorVala[i].cre_imageValue);
|
||||||
}
|
}
|
||||||
const x_limit = Math.abs((Math.max(...xArr) - Math.min(...xArr)) / xArr.length);
|
const x_limit = Math.abs((Math.max(...xArr) - Math.min(...xArr)) / xArr.length);
|
||||||
|
// const y_limit = Math.abs((Math.max(...observedValues) - Math.min(...observedValues)) / observedValues.length);
|
||||||
//多项式回归
|
//多项式回归
|
||||||
let wcpf = data.map(a=>{
|
let wcpf = data.map(a=>{
|
||||||
return Math.pow((a[1]-a[0]),2)
|
return Math.pow((a[1]-a[0]),2)
|
||||||
|
@ -469,12 +470,13 @@ export default {
|
||||||
},
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
name: "实测值(" + this.getProductDes() + ")",
|
name: "实测值(" + this.getProductDes() + ")",
|
||||||
|
// min: Number((Math.min(...observedValues) - y_limit).toFixed(0)),
|
||||||
nameTextStyle: {
|
nameTextStyle: {
|
||||||
lineHeight: 30,
|
lineHeight: 30,
|
||||||
height: 60,
|
height: 60,
|
||||||
// fontWeight: "bold",
|
// fontWeight: "bold",
|
||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
padding: [0, 0, 10, 0],
|
padding: [0, 0, 20, 0],
|
||||||
},
|
},
|
||||||
nameRotate: 90, // 因为是在rightMiddle 所以需要其翻转 将其改为负值
|
nameRotate: 90, // 因为是在rightMiddle 所以需要其翻转 将其改为负值
|
||||||
nameLocation: "center", // y轴name处于y轴的什么位置
|
nameLocation: "center", // y轴name处于y轴的什么位置
|
||||||
|
|
|
@ -165,7 +165,7 @@ class CesiumUtils {
|
||||||
static addPoint(pLon, pLat, pAlt, isSelected = false,pointId = null) {
|
static addPoint(pLon, pLat, pAlt, isSelected = false,pointId = null) {
|
||||||
var pointEntity = this.viewer.entities.add({
|
var pointEntity = this.viewer.entities.add({
|
||||||
id: pointId,
|
id: pointId,
|
||||||
position: Cesium.Cartesian3.fromDegrees(pLon, pLat, pAlt),
|
position: Cesium.Cartesian3.fromDegrees(pLon, pLat, 10),
|
||||||
point: {
|
point: {
|
||||||
pixelSize: 10,
|
pixelSize: 10,
|
||||||
color: isSelected ? Cesium.Color.RED : Cesium.Color.YELLOW,
|
color: isSelected ? Cesium.Color.RED : Cesium.Color.YELLOW,
|
||||||
|
|
|
@ -283,10 +283,10 @@ export default {
|
||||||
const pm = (self.productMsg = am.productMsg);
|
const pm = (self.productMsg = am.productMsg);
|
||||||
self.geoWorkSpace = pm.geoWorkspace;
|
self.geoWorkSpace = pm.geoWorkspace;
|
||||||
self.geoLayerName = pm.geoLayerName;
|
self.geoLayerName = pm.geoLayerName;
|
||||||
// self.tifPath = pm.ftpPath;
|
self.tifPath = pm.ftpPath;
|
||||||
//由于空天院内网服务无法拉取外网资源,先改成内网资源访问
|
//由于空天院内网服务无法拉取外网资源,先改成内网资源访问
|
||||||
let rt = pm.ftpPath.split('/');
|
// let rt = pm.ftpPath.split('/');
|
||||||
self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1];
|
// self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1];
|
||||||
self.projection = pm.projection;
|
self.projection = pm.projection;
|
||||||
self.microwaveDataJson = self.productMsg.microwaveDataJson
|
self.microwaveDataJson = self.productMsg.microwaveDataJson
|
||||||
// 赋值真实性检验方法
|
// 赋值真实性检验方法
|
||||||
|
|
Loading…
Reference in New Issue