BarChart.setPicTitle(docxDocument,"Figure "+(number+2)+" Statistical data on land use types");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the total area of field is "+landUses.get(0).getArea()+" hm², the building is "+landUses.get(1).getArea()+" hm², the road is "+landUses.get(2).getArea()+" hm², the water is "+landUses.get(3).getArea()+" hm², the forest is "+landUses.get(4).getArea()+" hm², the grass is "+landUses.get(5).getArea()+" hm², the soil is "+landUses.get(6).getArea()+" hm², the desert is "+landUses.get(7).getArea()+" hm², the rock is "+landUses.get(8).getArea()+" hm², and other land use types are "+landUses.get(9).getArea()+" hm².");
BarChart.createSecondLevelTopic(docxDocument,i+2+".2 Monitoring results of planting suitability evaluation index");
for(inti=0;i<zoneList.length;i++){
//2.2.1海拔、坡向、坡度
Stringzone=zoneList[i];
//海拔
//2.1
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.1. Monitoring results of terrain index");
BarChart.createFirstLevelTopic(docxDocument,i+2+". Results of remote sensing monitoring of planting suitability"+"( zone:"+zone+")");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with an altitude lower than 400m is "+main.getAltitudes().get(0).getLevel1()+" hm², the area with 400-600m is "+main.getAltitudes().get(0).getLevel2()+" hm², the area with 600-1000m is "+main.getAltitudes().get(0).getLevel3()+" hm², and the area with 1000-1500m is "+main.getAltitudes().get(0).getLevel4()+" hm². The area with an altitude higher than 1500m is "+main.getAltitudes().get(0).getLevel5()+" hm².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+6)+" Classification statistics of aspect");
BarChart.fun(landUses.get(8).getArea()*0.01),
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with the north aspect is "+main.getAspects().get(0).getNorth()+" hm², the area with the northeast aspect is "+main.getAspects().get(0).getNortheast()+" hm², the area with the east aspect is "+main.getAspects().get(0).getEast()+" hm², the area with the southeast aspect is "+main.getAspects().get(0).getSoutheast()+" hm², and the area with the south aspect is "+main.getAspects().get(0).getNorth()+" hm², the area with the southwest aspect is "+main.getAspects().get(0).getSouthwest()+" hm², the area with the west aspect is "+main.getAspects().get(0).getWest()+" hm², and the area with the northwest aspect is "+main.getAspects().get(0).getNorthwest()+" hm².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+2)+" Statistical data on land use types");
BarChart.setPicTitle(docxDocument,"Figure "+(number+7)+"Spatial distribution data of slope");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the total area of field is "+BarChart.fun(landUses.get(0).getArea()*0.01)+"km², the building is "+BarChart.fun(landUses.get(1).getArea()*0.01)+" km², the road is "+BarChart.fun(landUses.get(2).getArea()*0.01)+
" km², the water is "+BarChart.fun(landUses.get(3).getArea()*0.01)+" km², the forest is "+BarChart.fun(landUses.get(4).getArea()*0.01)+" km², the grass is "+BarChart.fun(landUses.get(5).getArea()*0.01)+" km², the soil is "+BarChart.fun(landUses.get(6).getArea()*0.01)+" km², the desert is "+
BarChart.fun(landUses.get(7).getArea()*0.01)+" km², the rock is "+BarChart.fun(landUses.get(8).getArea()*0.01)+" km², and other land use types are "+BarChart.fun(landUses.get(9).getArea()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+8)+" Classification statistics of slope");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of slope less than 10° is "+main.getSlopes().get(0).getLevel1()+" hm2, the area of 10°-30° is "+main.getSlopes().get(0).getLevel2()+" hm2, the area of 30°-50° is "+main.getSlopes().get(0).getLevel3()+" hm2, and the area of 50°-70° is "+main.getSlopes().get(0).getLevel4()+"hm2. The area greater than 70° is "+main.getSlopes().get(0).getLevel5()+" hm2.");
//2.2.2 沙化指数、湿度指数、盐渍化指数
BarChart.createSecondLevelTopic(docxDocument,i+2+".2 Monitoring results of planting suitability evaluation index");
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.2. Monitoring results of soil index");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil desertification factor less than 0.1 is "+main.getSoilDesertifications().get(0).getLevel1()+" hm2, the area of 0.1-0.3 is "+main.getSoilDesertifications().get(0).getLevel2()+"hm2, the area of 0.3-0.5 is "+main.getSoilDesertifications().get(0).getLevel3()+" hm2, and the area of 0.5-0.7 is "+main.getSoilDesertifications().get(0).getLevel4()+" hm2. The area greater than 0.7 is "+main.getSoilDesertifications().get(0).getLevel5()+" hm2.");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with an altitude lower than 400m is "+BarChart.fun(main.getAltitudes().get(0).getLevel1()*0.01)+" km², the area with 400-600m is "+BarChart.fun(main.getAltitudes().get(0).getLevel2()*0.01)+" km², the area with 600-1000m is "+BarChart.fun(main.getAltitudes().get(0).getLevel3()*0.01)+" km², and the area with 1000-1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel4()*0.01)+" km². The area with an altitude higher than 1500m is "+BarChart.fun(main.getAltitudes().get(0).getLevel5()*0.01)+" km².");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil moisture factor less than 0.1 is "+main.getSoilMoistures().get(0).getLevel1()+" hm2, the area of 0.1-0.3 is "+main.getSoilMoistures().get(0).getLevel2()+" hm2, the area of 0.3-0.5 is "+main.getSoilMoistures().get(0).getLevel3()+" hm2, and the area of 0.5-0.7 is "+main.getSoilMoistures().get(0).getLevel4()+"hm2. The area greater than 0.7 is "+main.getSoilMoistures().get(0).getLevel5()+" hm2.");
BarChart.setPicTitle(docxDocument,"Figure "+(number+14)+" Classification statistics of soil salinization factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, In 01 area, the area of soil salinization factor less than "+main.getSoilSalinizations().get(0).getLevel1()+" is 252 hm2, the area of 0.1-0.3 is "+main.getSoilSalinizations().get(0).getLevel2()+" hm2, the area of 0.3-0.5 is "+main.getSoilSalinizations().get(0).getLevel3()+" hm2, and the area of 0.5-0.7 is "+main.getSoilSalinizations().get(0).getLevel4()+" hm2. The area greater than 0.7 is "+main.getSoilSalinizations().get(0).getLevel5()+" hm2.");
BarChart.createSecondLevelTopic(docxDocument,"2.2.3. Monitoring results of regional index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+6)+" Classification statistics of aspect");
//道路因子
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area with the north aspect is "+BarChart.fun(main.getAspects().get(0).getNorth()/100)+" km², the area with the northeast aspect is "+BarChart.fun(main.getAspects().get(0).getNortheast()/100)+" km², the area with the east aspect is "+BarChart.fun(main.getAspects().get(0).getEast()/100)+" km², the area with the southeast aspect is "+BarChart.fun(main.getAspects().get(0).getSoutheast()/100)+" km², and the area with the south aspect is "+BarChart.fun(main.getAspects().get(0).getNorth()/100)+" km², the area with the southwest aspect is "+BarChart.fun(main.getAspects().get(0).getSouthwest()/100)+" km², the area with the west aspect is "+BarChart.fun(main.getAspects().get(0).getWest()/100)+" km², and the area with the northwest aspect is "+BarChart.fun(main.getAspects().get(0).getNorthwest()/100)+" km².");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of road factor less than 0.1 is "+main.getRoadFactors().get(0).getLevel1()+" hm2, the area of 0.1-0.3 is "+main.getRoadFactors().get(0).getLevel2()+" hm2, the area of 0.3-0.5 is "+main.getRoadFactors().get(0).getLevel3()+" hm2, and the area of 0.5-0.7 is "+main.getRoadFactors().get(0).getLevel4()+" hm2. The area greater than 0.7 is "+main.getRoadFactors().get(0).getLevel5()+"hm2.");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of slope less than 10° is "+BarChart.fun(main.getSlopes().get(0).getLevel1()*0.01)+" km², the area of 10°-30° is "+BarChart.fun(main.getSlopes().get(0).getLevel2()*0.01)+" km², the area of 30°-50° is "+BarChart.fun(main.getSlopes().get(0).getLevel3()*0.01)+" km², and the area of 50°-70° is "+BarChart.fun(main.getSlopes().get(0).getLevel4()*0.01)+"km². The area greater than 70° is "+BarChart.fun(main.getSlopes().get(0).getLevel5()*0.01)+" km².");
BarChart.createSecondLevelTopic(docxDocument,i+2+".2.2. Monitoring results of soil index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+18)+" Classification statistics of water factor");
//沙化指数
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of water factor less than 0.1 is "+main.getWaterFactors().get(0).getLevel1()+" hm2, the area of 0.1-0.3 is "+main.getWaterFactors().get(0).getLevel2()+" hm2, the area of 0.3-0.5 is "+main.getWaterFactors().get(0).getLevel3()+" hm2, and the area of 0.5-0.7 is "+main.getWaterFactors().get(0).getLevel4()+" hm2. The area greater than 0.7 is "+main.getWaterFactors().get(0).getLevel5()+" hm2.");
BarChart.setPicTitle(docxDocument,"Figure "+(number+10)+" Classification statistics of soil desertification factor");
Doublex2=suitability.getSuitable();
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil desertification factor less than 0.1 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel2()*0.01)+"km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilDesertifications().get(0).getLevel5()*0.01)+" km².");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+suitability.getVerySuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getVerySuitable()/suitability.getTotalArea())*100)+"%. The area of suitable grade was "+suitability.getSuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getSuitable()/suitability.getTotalArea())*100)+"%. The area of unsuitable area was "+suitability.getNotSuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getNotSuitable()/suitability.getTotalArea())*100)+"%.");
BarChart.setPicTitle(docxDocument,"Figure "+(number+12)+" Classification statistics of soil moisture factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of soil moisture factor less than 0.1 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel4()*0.01)+"km². The area greater than 0.7 is "+BarChart.fun(main.getSoilMoistures().get(0).getLevel5()*0.01)+" km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+14)+" Classification statistics of soil salinization factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, In 01 area, the area of soil salinization factor less than "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel1()*0.01)+" is 252 km², the area of 0.1-0.3 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getSoilSalinizations().get(0).getLevel5()*0.01)+" km².");
//2.2.3 水域因子、道路因子
BarChart.createSecondLevelTopic(docxDocument,"2.2.3. Monitoring results of regional index");
BarChart.setPicTitle(docxDocument,"Figure "+(number+16)+" Classification statistics of road factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of road factor less than 0.1 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getRoadFactors().get(0).getLevel5()*0.01)+"km².");
BarChart.setPicTitle(docxDocument,"Figure "+(number+18)+" Classification statistics of water factor");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+zone+" region, the area of water factor less than 0.1 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel1()*0.01)+" km², the area of 0.1-0.3 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel2()*0.01)+" km², the area of 0.3-0.5 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel3()*0.01)+" km², and the area of 0.5-0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel4()*0.01)+" km². The area greater than 0.7 is "+BarChart.fun(main.getWaterFactors().get(0).getLevel5()*0.01)+" km².");
//2.3
BarChart.createSecondLevelTopic(docxDocument,i+2+".3. Monitoring results of planting suitability");
BarChart.setPicTitle(docxDocument,"Figure "+(number+20)+" Classification statistics of planting suitability");
BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+BarChart.fun(suitability.getVerySuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getVerySuitable()/suitability.getTotalArea()))+"%. The area of suitable grade was "+BarChart.fun(suitability.getSuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getSuitable()/suitability.getTotalArea()))+"%. The area of unsuitable area was "+BarChart.fun(suitability.getNotSuitable()/100)+" km², accounting for "+BarChart.getDoubleNumber((suitability.getNotSuitable()/suitability.getTotalArea()))+"%.");
number+=20;
}
response.setCharacterEncoding("UTF-8");
response.setContentType("application/msword");
//文件名
StringfileName="Evaluation report of planting monitoring in ITBA Nature Reserve - "+"Year:"+year+"("+zoneString+")"+".docx";
// " hm², the vegetation survival area was "+seedingSuccessRate.getSeedingSuccessArea()+" hm², and the seeding success rate was "+seedingSuccessRate.getSeedingSuccess()+"%.");
// " km², the vegetation survival area was "+seedingSuccessRate.getSeedingSuccessArea()+" km², and the seeding success rate was "+seedingSuccessRate.getSeedingSuccess()+"%.");
// }
// }
// //第三段的标题
// //第三段的标题
// BarChart.createFirstLevelTopic(docxDocument, "3.Results of remote sensing monitoring of vegetation health");
// BarChart.createFirstLevelTopic(docxDocument, "3.Results of remote sensing monitoring of vegetation health");
@ -755,9 +820,9 @@ public class DateUploadController {
// BarChart.setPicTitle(docxDocument, "Statistical data on vegetation health");
// BarChart.setPicTitle(docxDocument, "Statistical data on vegetation health");
// BarChart.createParagraphAndInsertWord(docxDocument, ""+BarChart.changeDate(vegetationHealth_m.getImageDate())+". Based on the monitoring results of high resolution satellite images, the area of healthy vegetation growth in "+vegetationHealth_m.getZone()+" region was "+vegetationHealth_m.getHealthy()+" hm², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getHealthy()/vegetationHealth_m.getTotalArea())*100)+"%. The area with normal vegetation growth was "+vegetationHealth_m.getNormal()+" hm², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getNormal()/vegetationHealth_m.getTotalArea())*100)+"%. The area of unhealthy vegetation growth was "+vegetationHealth_m.getNotHealthy()+" hm², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getNotHealthy()/vegetationHealth_m.getTotalArea())*100)+"%.");
// BarChart.createParagraphAndInsertWord(docxDocument, ""+BarChart.changeDate(vegetationHealth_m.getImageDate())+". Based on the monitoring results of high resolution satellite images, the area of healthy vegetation growth in "+vegetationHealth_m.getZone()+" region was "+vegetationHealth_m.getHealthy()+" km², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getHealthy()/vegetationHealth_m.getTotalArea())*100)+"%. The area with normal vegetation growth was "+vegetationHealth_m.getNormal()+" km², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getNormal()/vegetationHealth_m.getTotalArea())*100)+"%. The area of unhealthy vegetation growth was "+vegetationHealth_m.getNotHealthy()+" km², accounting for "+BarChart.getDoubleNumber((vegetationHealth_m.getNotHealthy()/vegetationHealth_m.getTotalArea())*100)+"%.");
// }
// }
// }
// }
// //第三段的第二个小标题
// //第三段的第二个小标题
@ -776,9 +841,9 @@ public class DateUploadController {
// BarChart.setPicTitle(docxDocument, "Statistical data on vegetation health");
// BarChart.setPicTitle(docxDocument, "Statistical data on vegetation health");
// BarChart.createParagraphAndInsertWord(docxDocument, "" + BarChart.changeDate(vegetationHealth_h.getImageDate()) + ". Based on the monitoring results of high resolution satellite images, the area of healthy vegetation growth in " + vegetationHealth_h.getZone() + " region was " + vegetationHealth_h.getHealthy() + " hm², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getHealthy() / vegetationHealth_h.getTotalArea()) * 100) + "%. The area with normal vegetation growth was " + vegetationHealth_h.getNormal() + " hm², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getNormal() / vegetationHealth_h.getTotalArea()) * 100) + "%. The area of unhealthy vegetation growth was " + vegetationHealth_h.getNotHealthy() + " hm², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getNotHealthy() / vegetationHealth_h.getTotalArea()) * 100) + "%.");
// BarChart.createParagraphAndInsertWord(docxDocument, "" + BarChart.changeDate(vegetationHealth_h.getImageDate()) + ". Based on the monitoring results of high resolution satellite images, the area of healthy vegetation growth in " + vegetationHealth_h.getZone() + " region was " + vegetationHealth_h.getHealthy() + " km², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getHealthy() / vegetationHealth_h.getTotalArea()) * 100) + "%. The area with normal vegetation growth was " + vegetationHealth_h.getNormal() + " km², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getNormal() / vegetationHealth_h.getTotalArea()) * 100) + "%. The area of unhealthy vegetation growth was " + vegetationHealth_h.getNotHealthy() + " km², accounting for " + BarChart.getDoubleNumber((vegetationHealth_h.getNotHealthy() / vegetationHealth_h.getTotalArea()) * 100) + "%.");
// }
// }
// }
// }
// //第四个标题
// //第四个标题
@ -798,7 +863,7 @@ public class DateUploadController {
// BarChart.setPicTitle(docxDocument,"Classification statistics of planting suitability");
// BarChart.setPicTitle(docxDocument,"Classification statistics of planting suitability");
// BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+suitability.getVerySuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getVerySuitable()/suitability.getTotalArea())*100)+"%. The area of suitable grade was "+suitability.getSuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getSuitable()/suitability.getTotalArea())*100)+"%. The area of unsuitable area was "+suitability.getNotSuitable()+" hm², accounting for "+BarChart.getDoubleNumber((suitability.getNotSuitable()/suitability.getTotalArea())*100)+"%.");
// BarChart.createParagraphAndInsertWord(docxDocument,"In "+suitability.getZone()+" region, the area of very suitable region was "+suitability.getVerySuitable()+" km², accounting for "+BarChart.getDoubleNumber((suitability.getVerySuitable()/suitability.getTotalArea())*100)+"%. The area of suitable grade was "+suitability.getSuitable()+" km², accounting for "+BarChart.getDoubleNumber((suitability.getSuitable()/suitability.getTotalArea())*100)+"%. The area of unsuitable area was "+suitability.getNotSuitable()+" km², accounting for "+BarChart.getDoubleNumber((suitability.getNotSuitable()/suitability.getTotalArea())*100)+"%.");
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.