[mapserver-dev] Add support for bitmap patterns

thomas bonfort thomas.bonfort at gmail.com
Mon Oct 1 04:34:05 PDT 2012

Nice addition, it seems like the best thing to do if you need to
support those kind of symbols. I would favor a new BITMAP type symbol
rather than hacking the IMAGE in pixmap symbols, what do you think?


On Mon, Oct 1, 2012 at 12:55 PM, Tamas Szekeres <szekerest at gmail.com> wrote:
> Hi All,
> I've created a fairly simple addition for supporting bitmap patterns which
> can be specified inline as follows:
>     NAME "brushpattern"
>     IMAGE
> "|10001000|01000001|00100010|00010100|00001000|00000000|10101010|00000000"
> With this addition we could easily define brush patterns which are aware of
> color and backgroundcolor settings and rendered equally well with the
> various kind of renderers.
> It must be noted that defining the same with vector symbols can not provide
> the same look for most of the renderers (agg, cairo), due to the possible
> antialias behaviour of the line drawings.
> The proposed solution for this option can be found here:
> https://github.com/szekerest/mapserver/commit/47ec087de72515a73298f9c024b466dc4b3c1d77
> Let me know it that would be reasonable.
> Best regards,
> Tamas
> _______________________________________________
> 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