Sounds like a good time Andrea - and yes I am interested. Can you make 
an jira issue so this change shows up in the release notes; I would also 
ask that we add an XML Fragment to the user guide based on your email here.

Jody
Aside: Were the bugs in the renderer interesting? Or just silly mistakes

Andrea Aime wrote:
> Hi,
> last weekend I've tried to provide basic hatched
> fill support for GeoTools/GeoServer. If you're
> not familiar with hatches, you can find attached
> a sample of a simple map with hatched fills
> (generated by the code I've wrote).
>
> What I've done is basically to create a new
> dynamic symbolizer mark factory, that
> accepts the following symbol names:
> - shape://horline (a single horizontal line)
> - shape://verline (a single horizontal line)
> - shape://slash (a upwards diagonal line)
> - shape://backslash (a downwards diagonal line)
> - shape://plus (a cross)
> - shape://times (a diagonal cross)
>
> These shapes are made so that they tile without
> issues, that is, if you generate an image out
> of them and tile it up to make a fill, you
> get a hatched fill.
> Controlling the size of the mark you get
> denser or looser fills, and you can still
> play with color and line thickness to generate
> different effects.
>
> I was thinking to donate it back to GeoTools
> along with a bunch of fixes in the renderer
> that I had to perform in order to make Mark
> based fills to work (it wasn't working at all).
>
> Interested? If so I'll commit on 2.5.x and trunk.
>
> Also, anybody can think of better names than
> the above?
>
> Another thing that I'd like to add to this
> factory is programmatic registration of new
> symbols, so that you can call ShapeMarkFactory.addShape(name, Shape)
> or ShapeMarkFactory.addShape(name, JTS geometry)
> and add a new custom shape.
> Couple this with something that reads a property
> file somewhere that describes the geometries
> of the shapes in WKT format and you have
> some decent extensibility for the whole Mark
> thing outside of making new dingbat TTF fonts
> (the ones used by the ttf://fontname#code
> factory).
>
> Opinions, suggestions?
> Cheers
> Andrea
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to