[gdal-dev] MODIS re-projection issues (gdalwarp -tps)

Andre Joost andre+joost at nurfuerspam.de
Wed Apr 16 10:22:02 PDT 2014


Am 16.04.2014 16:27, schrieb Giuseppe Amatulli:

>
>
> Is there is a way to solve this problem?
> I think that, cut the image considering the -180 +180 transition would
> solve the problem but has to be cut at GCP level and i do not have any clue
> how to do it.
>

There are no GCP points in the file, but subdataset 51 and 52 contain 
longitude and latitude for every cell in WGS84.

You get those GCP if you export to VRT.

You can also try one of my solutions here:
http://gis.stackexchange.com/questions/81361/how-to-reproject-modis-swath-data-to-wgs84

Another choice is to load the longitude layer, create a contour line at 
180°, and clip the data layer to that.

HTH,
André Joost



More information about the gdal-dev mailing list