SVG Labels not Wrapping

Rob McCulley RMcCulley at COUNTY24.COM
Thu Nov 15 09:47:54 PST 2007


 

Hi All,

 

I'm playing around with SVG output, and I'm having a problem with the
labels.  My label class looks like this:

 

          CLASS

               TEXT (Legal: [Address]*Owner: [Owner]*[Area] Acres)

               NAME "Owner Labels Small-Large"

               EXPRESSION ('[Type]' eq 'label' and [Area] < 5)

               MAXSCALEDENOM 1500

               LABEL

                    WRAP "*"

                    TYPE TRUETYPE

                    FONT "alberta"

                    SIZE 10

                    POSITION CC

                    COLOR 0 0 0

                    BUFFER 0

                    PARTIALS FALSE

                    PRIORITY 5

                    FORCE TRUE

               END

          END

 

If I output that to a .png file, the labels look fine, and are wrapped
accordingly.  If I output it to an .svg file, the labels are not
wrapped.  The '*' character is removed from the label, but it is not
wrapped.  I've attached a sample .png and .svg to compare.

 

Is this something I'm doing wrong, or is this a bug?

 

Thanks,

Rob McCulley

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071115/a3a368ab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svgTest.png
Type: image/png
Size: 32628 bytes
Desc: svgTest.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071115/a3a368ab/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svgTest.svg
Type: application/octet-stream
Size: 5744 bytes
Desc: svgTest.svg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071115/a3a368ab/attachment.obj>


More information about the MapServer-users mailing list