[mapserver-users] White lines when reprojecting aerial photo

2010-12-19 Thread Ivan Mincik
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] White lines when reprojecting aerial photo

2010-12-21 Thread Mark Korver
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  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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] White lines when reprojecting aerial photo

2010-12-21 Thread Ivan Mincik
>
> 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.

Thanks a lot Mark, I totally forgot on resampling methods. I have
tried BICUBIC which doesn't work, but BILINEAR is working fine.

Ivan
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users