How to create tiles accurately with MapServer?
Manfred Meier
m.meier at SPIEKERMANN.DE
Sat Oct 28 07:24:09 PDT 2006
Hello,
some month ago the was a mail from Thomas Hammerlund. He sent the
screenshots, which I append here. Perhaps this is the same problem. I
don't know if this problem was solved. Perhaps he knows an answer.
Greetings
Manfred
Stephen Woodbridge schrieb:
> Teemu Mäkelä wrote:
>
>>
>> Hi,
>>
>> I should create tiles. I have linear features and in mapfile I've
>> defined the line to be drawn with width of 1 pixel.
>>
>> On the border of tiles:
>> CASE A:
>> - Line continues OK from tile A to tile B, if line crosses the tile
>> border with angle of 45-90 degrees.
>> CASE B:
>> - Line does not continue (small gap), if line crosses the tile border
>> with angle of 0-45 degrees. Gap is the problem! Size of the gap
>> depends on the angle. If angle is 5 degress, gap is about 10 pixels;
>> if angle is 30 degrees, gap is about 3 pixels.
>>
>> Any idea how to get rid of the gaps on lines?
>>
>> Teemu
>
>
> Hi Teemu,
>
> I think we will need more info to help. Can you post your mapfile
> please. Also how are you generating the tiles? ka-map?, mapserv cgi,
> mapscript? Are you projecting the data? How do you determine the extents
> of tile A and B?
>
> -Steve W
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: #1.jpg
Type: image/jpeg
Size: 15593 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061028/1a42eebb/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: #2.jpg
Type: image/jpeg
Size: 17762 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061028/1a42eebb/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: problem.jpg
Type: image/jpeg
Size: 9404 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061028/1a42eebb/attachment-0002.jpg>
More information about the MapServer-users
mailing list