| | |
| | | import com.moon.server.entity.sys.ResEntity; |
| | | import com.moon.server.helper.*; |
| | | import com.moon.server.service.data.MetaService; |
| | | import com.moon.server.service.data.RasterService; |
| | | import com.moon.server.service.data.UploadService; |
| | | import com.moon.server.service.sys.ArgsService; |
| | | import com.moon.server.service.sys.BlacklistService; |
| | | import com.moon.server.service.sys.ReportService; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.core.env.Environment; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | @Service |
| | | @SuppressWarnings("AlibabaRemoveCommentedCode") |
| | | public class TestService { |
| | | @Autowired |
| | | @Resource |
| | | PathHelper pathHelper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | ArgsService argsService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | PermsService permsService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | BlacklistService blacklistService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | Environment env; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | ReportService reportService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | UploadService uploadService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | MetaService metaService; |
| | | |
| | | @Resource |
| | | RasterService rasterService; |
| | | |
| | | private final static Log log = LogFactory.getLog(TestService.class); |
| | | |
| | |
| | | // |
| | | } |
| | | } |
| | | |
| | | public void testRaster() { |
| | | MetaFileEntity mf1 = new MetaFileEntity(); |
| | | rasterService.readRasterInfo(mf1, "D:\\Moon\\data\\20230828\\5154.00-415.50.tif"); |
| | | |
| | | //MetaFileEntity mf2 = new MetaFileEntity(); |
| | | //rasterService.readRasterInfo(mf2, "D:\\xyz\\dem\\dem\\33b.tif"); |
| | | |
| | | //MetaFileEntity mf3 = new MetaFileEntity(); |
| | | //rasterService.readRasterInfo(mf3, "D:\\Moon\\data\\dom_tif\\moon.tif"); |
| | | } |
| | | } |