Is it possible to convert geotools GridCoverage2D to gdal java bindings Dataset without writing into file system

38 Views Asked by At

I am creating a geoserver wps process. The geoserver wps input provides a tiff data in geotools GridCoverage2D format. I want to convert it into gdal java binding's Dataset. Is there any way I can directly convert it into Dataset without writing into file system?

Currently I am writing the coverage into file system and opening with gdal java binding

1

There are 1 best solutions below

0
Ian Turton On

Provided that you have installed the GDAL datastore correctly you can write a GridCoverage out to it in the same way as any other coverage store.