[gdal-dev] GDAL_GRID Dateline Issue

Even Rouault even.rouault at mines-paris.org
Thu Dec 27 11:22:56 PST 2012


Le jeudi 27 décembre 2012 20:14:40, Andrew Smith a écrit :
> Hi,
> 
> I am trying to use gdal_grid to interpolate some data and I am having
> trouble making gdal_grid treat spatial data (WGS84 lat/lon coordinates) as
> points on a continuous plane.  It seems to be ignoring the dateline so for
> example values at 45, 179 are not properly interacting with values at 45,
> -179 and so on.  I'm using the following gdal_grid command:
> 

Yes gdal_grid is completely unaware of dateline issues. One way to fix this is 
to duplicate the lines of your csv file by adding 360 to the longitude of the 
original lines.


More information about the gdal-dev mailing list