| | |
| | | package com.se.simu.service; |
| | | |
| | | import com.se.simu.domain.LayerVo; |
| | | import com.se.simu.helper.GdalHelper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | String dataPath; |
| | | |
| | | public LayerVo getLayer(String serviceName) { |
| | | String file = "D:/simu/test/DEM_M.tif"; |
| | | GdalHelper.createPyramid(file); |
| | | |
| | | String file2 = "D:/simu/test/DOM_M.tif"; |
| | | GdalHelper.createPyramid(file2); |
| | | |
| | | LayerVo layer = new LayerVo(); |
| | | layer.setVer(ver); |
| | | layer.setDuration(new LayerVo.Duration(1719812810225L, 1719812810225L)); |