[gdal-dev] VRTDataset in Java

2014-06-09 Thread Ivan Lucena
Hi there, What is the best option to create in memory VRT Dataset with the GDAL Java API? I would like to do thing like gdal_translate does [0], band selection and window cropping for example. It seems like the VRTDataset class is not wrapped in Java, so I would need to write the XML myself o

Re: [gdal-dev] VRTDataset in Java

2014-06-10 Thread Ivan Lucena
( VRTSourcedRasterBandH, VRTSourceH ); CPLErr CPL_DLL CPL_STDCALL VRTAddSimpleSource( VRTSourcedRasterBandH, CPLErr CPL_DLL CPL_STDCALL VRTAddComplexSource( VRTSourcedRasterBandH, From: lucena_i...@hotmail.com To: gdal-dev@lists.osgeo.org Date: Mon, 9 Jun 2014 16:58:12 -0400 Subject: [gdal-dev] VRTDataset

Re: [gdal-dev] VRTDataset in Java

2014-06-10 Thread Even Rouault
sgeo.org > Date: Mon, 9 Jun 2014 16:58:12 -0400 > Subject: [gdal-dev] VRTDataset in Java > > > > > Hi there, > > What is the best option to create in memory VRT Dataset with the GDAL Java > API? > > I would like to do thing like gdal_translate does [0], band selecti

Re: [gdal-dev] VRTDataset in Java

2014-06-10 Thread Ivan Lucena
Hi Even, > Date: Tue, 10 Jun 2014 17:43:50 +0200 > From: even.roua...@mines-paris.org > To: lucena_i...@hotmail.com > CC: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] VRTDataset in Java > > Ivan, > > gdal_vrt.h is an already installed header file and the symb

Re: [gdal-dev] VRTDataset in Java

2014-06-10 Thread Even Rouault
> The VRT driver is the usual solution to a lot of problem but we cannot > automatize the solution on environment other than C/C++ or command > scripts. But unfortunately, even if we add those two function much of the > VRT magic is still not on the VRT code but in gdal_translate.cpp [0]. Yes, som