Pixel Shift

Jukka Sirviö Jukka.Sirvio at ARBONAUT.COM
Fri Nov 3 02:16:33 EST 2006


There was no answers on mapserver users -list for this issue. Is this a
'known-problem'? We are able to reproduce with 4.8 and 4.10. Bugzilla
number 1956.

Jukka

----- Forwarded by Jukka Sirviö/arbonaut/fi on 03.11.2006 09:01 -----
                                                                           
             Teemu                                                         
             Mäkelä/arbonaut/f                                             
             i                                                          To 
                                       Jukka Sirviö/arbonaut/fi at mail       
             03.11.2006 08:29                                           cc 
                                                                           
                                                                   Subject 
                                       Mapserver                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



We are generating tiles for a uDig -based mapping application using
MapServer's WMS connection. We simply give the extents of each image
requested - extents are calculated so that we always gain images on size
1024 x 1024 pixels. Extend coordinates in WMS query should be ok.

The issue is that lines are uncontinuos on the border of the tiles. If line
crosses the tile border on the angle 45 - 90 degrees no problems appear.
However, if the angle is between 0 - 45 degrees the line is broken. See
attached image. On the image the yellow line respresents tile border and
the red line represents trail. White pixels are the MapServer's raster
intepretation of the red line. The problem is that the "trail" line is
broken (uncontinuous) on the border of tile.

(See attached file: broken_border.jpg)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?iso-8859-1?Q?broken=5Fborder.jpg?=
Type: image/jpeg
Size: 28458 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20061103/70a6be2a/iso-8859-1Qbroken5Fborder.jpe


More information about the mapserver-dev mailing list