feiyu02
2025-01-23 698f8f0f22af4c66581ce284407e986ca036aec6
src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt
@@ -3,12 +3,13 @@
import com.flightfeather.uav.biz.satellite.SatelliteGridManage
import com.flightfeather.uav.common.exception.BizException
import com.flightfeather.uav.domain.entity.GridCell
import com.flightfeather.uav.domain.entity.GridGroup
import com.flightfeather.uav.domain.repository.SatelliteGridRep
import com.flightfeather.uav.lightshare.service.SatelliteDataCalculateService
import org.springframework.stereotype.Service
/**
 *
 * 卫星网格坐标及监测数据二次计算
 * @date 2025/1/15
 * @author feiyu02
 */
@@ -45,7 +46,14 @@
        return cellList
    }
    override fun splitGrid(groupId: Int): List<GridCell?> {
        TODO("Not yet implemented")
    override fun splitGrid(groupId: Int, scale: Int): List<GridCell?> {
        // 检查该网格下该种类的细分网格是否存在,若不存在,则新建
        satelliteGridRep.fetchGridGroup(groupId)
        // 获取具体网格信息
        val cellList = satelliteGridRep.fetchGridCell(groupId)
        // 按照给定的拆分系数进行拆分
//        val subCellList = SatelliteGridManage.splitGrid(cellList, scale)
        return emptyList()
    }
}