Looks like that causes the same effect as setting PROCESSING "LOAD_WHOLE_IMAGE=YES"
> -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:mapserver-users- > [email protected]] Im Auftrag von Heiko Schröter > Gesendet: Dienstag, 17. Dezember 2013 14:09 > An: [email protected] > Betreff: [mapserver-users] Rewarping/Reprojection with GDAL and -wo > EXTRA_SOURCE parameter > > To make use of it in mapserver a hint has been given in an old > mailing > thread (sorry, lost the source) to adjust the following code snippet > in > resample.c: > > Version: mapserver-6.4.0 > resample.c > <snip> > /* ------------------------------------------------------------------ > -- */ > /* Project desired extents out by 2 pixels, and then strip > to */ > /* available > data. */ > /* > -------------------------------------------------------------------- > */ > memcpy( &sOrigSrcExtent, &sSrcExtent, sizeof(sSrcExtent) ); > sSrcExtent.minx = floor(sSrcExtent.minx-1.0); > sSrcExtent.maxx = ceil (sSrcExtent.maxx+1.0); > sSrcExtent.miny = floor(sSrcExtent.miny-1.0); > sSrcExtent.maxy = ceil (sSrcExtent.maxy+1.0); > <snap> > > Changing the -/+1.0 to -/+1250.0, for example, warps the RASTER image > correctly. > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
