|
@@ -304,6 +304,7 @@ public class CadastreManageServiceImpl implements CadastreManageService {
|
|
|
checkInfoResult.setUploadId(uploadFile.getId());
|
|
checkInfoResult.setUploadId(uploadFile.getId());
|
|
|
|
|
|
|
|
String gdbPath = uploadFile.getUnzipPath();
|
|
String gdbPath = uploadFile.getUnzipPath();
|
|
|
|
|
+ theFileName = uploadFile.getName();//这里需要使用解压处理后的文件名称进行读取
|
|
|
DataSource ds = ogr.Open(gdbPath + "/" + theFileName, 0); // 0 = 只读
|
|
DataSource ds = ogr.Open(gdbPath + "/" + theFileName, 0); // 0 = 只读
|
|
|
if (ds == null) {
|
|
if (ds == null) {
|
|
|
log.warn("无法打开 gdb");
|
|
log.warn("无法打开 gdb");
|