Michael, Adnila, I apologize for my ignorance, I did know we had a
Raster2Vector process but I did not know we had a Vector2Raster
process.

Michael, I think it is wiser for me to let you speak out on this.  I
will probably try to check your eventual suggestion.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:      +39 0584983027
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------



On Wed, Mar 24, 2010 at 11:05 AM, Michael Bedward
<[email protected]> wrote:
> 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&#174; 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
>

------------------------------------------------------------------------------
Download Intel&#174; 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