Jesse, In fact I added the possibility of specifying warping options to gdal.ReprojectImage() just 3 weeks ago in the development version (2.1dev) : http://trac.osgeo.org/gdal/changeset/29424/ 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.
Even 2015-07-14 9:43 GMT+02:00 johie <[email protected]>: > Hi, > > 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 > as > default somewhere? > > Thanks > > Jesse > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/gdal-dev-GDAL-Java-Bindings-Convert-raster-from-0-360-to-180-180-tp5215366p5215512.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > -- -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
