Hi Matthew, Thanks for that. Actually, the reason that I asked was because I though some code changes had been made between 2.7 and 8.0 but it looks like someone (me) forgot to do it.
So, as Matthijs pointed out, the coverage is returned directly by the static helper method process. Alternatively, if you are running it via the process API it is returned in a Map by the execute method where the key is VectorToRasterFactory.RESULT.key, although that doesn't really matter because the coverage is the only value in the Map. In version 8.0 this class is going to be re-jigged to conform to the shiny, new annotation-driven API that Andrea and Jody have been working on. To get an idea of what's coming you can look at the PolygonExtractionProcess class. This has replaced the previous RasterToVectorProcess class in version 8.0. To use it directly you just create an instance and call its execute method. If someone (me) can be prodded into action, VectorToRasterProcess will be rewritten in a similar fashion before the next version 8 milestone. Michael On 2 November 2011 22:41, Matthew L. Sisk <[email protected]> wrote: > Ah, should have included that info. I currently have maven pointed at > 8.0-M2. > Thanks, > -m > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
