[mapserver-users] thin lines in SVG format (size < 1) (and float size values)

José María Michia jose.maria.michia at gmail.com
Wed Dec 17 13:50:24 PST 2008


I have the mapsvg.c file modified to write floating sizes.

I sent a patch to the trac site. The "Ticket" is here:

http://trac.osgeo.org/mapserver/ticket/2835

If the patch file does not work, I have a file of traditional
differences, and of course the file itself, with the modifications.

Saludos
José María

2008/12/17 thomas bonfort <thomas.bonfort at gmail.com>:
> José,
>
> the svn version of mapserver (what will be mapserver 5.4) comes with
> size and widths unrounded in the the style object. Please post your
> patch to mapsvg.c in the trac bugtracker so it can be incorporated
> alongside in 5.4
>
> regards,
> thomas
>
> On Wed, Dec 17, 2008 at 20:58, José María Michia
> <jose.maria.michia at gmail.com> wrote:
>> Hello.
>>
>> I'm using MapServer to make maps in SVG format.
>>
>> I wish draw lines of 0.5 pixel of width. But, the "stroke-width" in
>> SVG output are integers.
>>
>> So, I going to try to modify code to use decimal values in SIZE and WIDTH.
>>
>> I've made some changes in mapsvg.c. But, the problem is that style
>> object arrives to svg functions with size and with values rounded. So,
>> I need to modify something at style level.
>>
>> Thanks for any advice.
>> Saludos
>> José María
>> _______________________________________________
>> 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