create compressed GeoTiff in Java

المشرف العام

Administrator
طاقم الإدارة
I got a typical two-dimensional array in Java with values which represents a grid. Rows, columns, coordinate system (latlon), origin and cell size are known. I am able to export this data as ASCII Grid but I need to create compressed GeoTiff. And I would like to stay in the Java world, so doing it with gdal_translate is streight foreward but not the solution I am looking for.

I found the GeoTools GeoTiffWriterTest.java but am not able to extract the main part I need.

Can you please help me out?

Thanks in advanced and best regards,tee



أكثر...
 
أعلى