[mapserver-users] White lines when reprojecting aerial photo

Mark Korver mwkorver at gmail.com
Tue Dec 21 11:00:04 EST 2010


Dont know if this relates to your problem, but its easy to check.  We
normally  use the GD/JPEG driver when doing image data.  My
understanding is that AGG is more useful for outputting vectors to
PNG.

Also, this will slow it down but in the raster layer

PROCESSING "RESAMPLE=BICUBIC" rather than default NEAREST is effective
especially for hi-rez data.


On Sun, Dec 19, 2010 at 1:26 PM, Ivan Mincik <ivan.mincik at gmail.com> wrote:
> Hi,
> we are trying to provide aerial photo images in multiple projections
> using on-the-fly reprojection in JPEG format. When reprojecting layer
> from our country's local projection to Google Mercator, thin white
> lines appearing through the whole image (see
> http://gista.sk/home/ivo/dl/white_lines.jpeg).
>
> We are using 'AGG/JPEG' driver, Mapserver 5.2 with following
> outputformat configuration:
>
>       RESOLUTION 72
>       OUTPUTFORMAT
>                NAME 'AGG_JPEG'
>                DRIVER 'AGG/JPEG'
>                MIMETYPE 'image/jpeg'
>                IMAGEMODE RGB
>                FORMATOPTION 'QUALITY=85'
>                EXTENSION 'jpg'
>        END
>
> Any idea what I can improve to get these white lines out ?
>
> Thanks,
> Ivan
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list