| | |
| | | RestTemplate restTemplate; |
| | | |
| | | public boolean test(DataPo data) throws Exception { |
| | | /*String token = getToken(); |
| | | GeDb db = getSeDb(token); |
| | | db.setBbox(bbox); |
| | | |
| | | List<GeLayer> layers = getLayers(token, db); |
| | | queryData(token, db, layers); |
| | | |
| | | String basePath = inPath + File.separator + taskName; |
| | | createPath(basePath); |
| | | createShps(basePath, layers); |
| | | |
| | | GeDb fileDb = getFileDb(token); |
| | | String fileId = getFileId(token, fileDb.getDbid()); |
| | | List<GeFile> files = getFileNames(token, fileDb.getDbid(), fileId); |
| | | |
| | | String filePath = inPath + File.separator + fileDb.getDbid(); |
| | | downloadFiles(token, filePath, files, fileDb.getDbid(), fileId); |
| | | clipDemFile(filePath, files, basePath, bbox, 4548);*/ |
| | | createPath(inPath + File.separator + data.getInPath()); |
| | | |
| | | String token = getToken(); |
| | | GeDb db = connectGedb(token, data); |