On 24 March 2010 20:46, Simone Giannecchini wrote:

> So what you are talking about is feasible but you need to code most
> part of that yourself. As an instance you might want to create a
> WritableRaster of specific (W,H) and with a specific number of bands (
> I assume one is enough for your case), then you need to start looping
> onto it, getting the value from the shapefile and setting it on the
> raster.

I think using the VectorToRasterProcess class would be a lot less work
than coding the above by hand. But it's certainly good to know about
other ways of skinning the same cat if it turns out that the
requirements are beyond what the simple algorithm in that class can
handle.

Michael

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to