On 2011-11-01 16:51, Matthew L. Sisk wrote: > Hello all, > This is my first time posting, so I hope that I have sent this out > correctly. As part of a larger project I'm trying to convert moderately > large shapefiles into rasters (for later calculation of zonal > statistics). I've been trying to use VectorToRasterProcess.process to > do this, but I keep running to problems with the covName variable. It > requires a string and seems to run correctly, but I cannot figure out > how to later access this coverage. If anyone could point me in the > right direction, or provide some sample code I would greatly appreciate it.
The output coverage is the return value of VectorToRasterProcess.process(). The covName parameter isn't important for the process itself, it is used for the name of the newly created coverage returned by AbstractCoverage.getName(). For some reason coverages are immutable, so you can't change it later. Matthijs ------------------------------------------------------------------------------ RSA® 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
