[mapserver-dev] [Support for reading SVG
symbols-MapServer-GSoC]Kiran Anjaneya Varma
Dan Little
danlittle at yahoo.com
Tue Apr 28 10:15:50 EDT 2009
Oh no, I wasn't trying to suggest rendering it into a Raster. Just to do something like...
STYLE
SYMBOL '../my_svg_symbols/watermark.svg'
ROTATE 45 # Rotate the SVG symbol 45*
SIZE 10 # scale it up 10 times
END
This way the individual renders could handle the appropriate drawing and coloring of the SVG symbol.
----- Original Message ----
> From: Daniel Morissette <dmorissette at mapgears.com>
> To: mapserver-dev at lists.osgeo.org
> Sent: Monday, April 27, 2009 3:10:56 PM
> Subject: Re: [mapserver-dev] [Support for reading SVG symbols-MapServer-GSoC]Kiran Anjaneya Varma
>
> Dan Little wrote:
> > (additional spit balling)
> >
> > Wouldn't the raster-symbol handler be more appropriate for the SVG symbols (as
> opposed to the SYMBOL functionality) as SVG can carry color information...
> raster-symbols can also be rotated and scaled properly.
> >
>
> Scaling and rotating raster symbols results in a loss of quality, so it's not
> enough to just render the SVG into a raster and then treat (scale/rotate) it as
> a raster symbol. However a simple way to approach this could be to scale and
> rotate the SVG vectors first, render that with colors into a small raster and
> then run it through the raster-symbol handling code... I believe that's more or
> less what the vector symbol code does already.
>
> Daniel
> -- Daniel Morissette
> http://www.mapgears.com/
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list