[gdal-dev] GDAL Java Bindings - Convert raster from [0, 360] to [-180, 180]
even.rouault at gmail.com
Tue Jul 14 08:03:10 PDT 2015
In fact I added the possibility of specifying warping options to
gdal.ReprojectImage() just 3 weeks ago in the development version (2.1dev)
So if you can affort running trunk, you could benefit from that. Note that
I only tested with Python but I'm confident this should also now be
available in the Java bindings as well.
2015-07-14 9:43 GMT+02:00 johie <jesse.hietanen at gmail.com>:
> Thank you for your answers. Hmm I think that approach is quite complicated
> and makes my app quite messy. I would like just to stay using the Java
> bindings and get some approach that works on every file I process (only few
> files have this 0-360 problem). The gdal.SetConfigOption("CENTER_LONG",
> "0"); basically does what I want, but the problem is the too small buffer
> (which can be solved in the command line with: -wo SOURCE_EXTRA=1000) but
> there seems to be no way to pass this using the Java bindings?
> If there is no way to pass it to the process, would it be possible set it
> default somewhere?
> View this message in context:
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev