On Thu, Nov 22, 2012 at 2:21 PM, Michael Bedward
<[email protected]>wrote:


> I'm particularly interested in the rasterizing elements. Do you see
> these as eventually replacing the existing VectorToRasterProcess ?
> That class has a list of long-standing issues and needs either a major
> rewrite or replacement with something better.
>


> My ambition with the sadly neglected VectorToRasterProcess was to
> follow the same path. You can probably see where this is heading :)
> Perhaps your rasterizing code could be generalized into a JAI
> operation for JAITools - what do you think ?
>

Yes, I took a look at VectorToRasterProcess when I was starting on this and
saw all the Graphics2D internals and the limitations they cause.  So I
tried to make my GeometryRasterizer interface flexible enough that it might
be used elsewhere using the RasterHandler functor.

At the moment the only GeometryRasterizers are Centroid and BoundingBox so
the real work would be in putting proper rasterization algotithms for lines
and polygons. I was planning to do lines when I got a bit of free time and
did a bit of poking at polygon scanline conversion algorithms as well, but
it's out of scope for my current project.

-- 
Kevin Smith
Junior Software Developer, OpenGeo
<[email protected]>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to