| | |
| | | @Value(value = "${pointCloud.url}") |
| | | private String cloudUrl; |
| | | |
| | | @Value(value = "${pointCloud.type}") |
| | | private String cloudType; |
| | | |
| | | @Autowired |
| | | private IArdPointCloudService ardPointCloudService; |
| | | |
| | |
| | | ardPointCloud.setFileSize(formatFileSize(file.getSize())); |
| | | int dotIndex = originalFilename.lastIndexOf('.'); |
| | | String folderName = (dotIndex > 0) ? originalFilename.substring(0, dotIndex) : originalFilename; |
| | | String cloudType = "/tileset.json"; |
| | | String zipP = cloudUrl + folderName + cloudType; |
| | | ardPointCloud.setFilePath(zipP); |
| | | ardPointCloud.setFolderName(folderName); |