AbstractGridCoverage2DReader에서 객체를 가져올 때 문제가 있습니다. CoordinateReferenceSystem과 적용 범위가 필요합니다.geotools reader
File file = new File("Resource/new.tif");
AbstractGridFormat format = GridFormatFinder.findFormat(file);
System.out.println("here we have format: "+format);
AbstractGridCoverage2DReader reader = format.getReader(file);
System.out.println("here we have reader: "+reader);
형식 괜찮습니다 "[email protected]". 그러나 독자는 항상 NULL입니다.
아이디어가 있으십니까?
tiff 또는 geotiff입니까? 파일에 –
이 있습니다. – porterjr
System.out.println ("desc :"+ format.getDescription()); 내게 준 : 지형 정보가 포함 된 태그가있는 이미지 파일 형식 – porterjr