|
@@ -71,6 +71,11 @@ public class ImageServiceImpl implements IImageService {
|
|
|
// 加载并添加 TIFF 栅格图层
|
|
|
System.out.println("影像地址:" + rsImage);
|
|
|
File file = new File(rsImage);
|
|
|
+ if(file.exists()){
|
|
|
+ System.out.println("文件存在");
|
|
|
+ }else {
|
|
|
+ System.out.println("文件不存在");
|
|
|
+ }
|
|
|
Hints tiffHints = new Hints();
|
|
|
tiffHints.add(new Hints(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.TRUE));
|
|
|
// 默认坐标系EPSG:3857
|