Andrea,

If those two processes are not working...can I look anywhere in the Geoserver 
code to see how it does the conversion? I've always seen Geoserver able to 
replicate WFS features to WMS rasters....

I'm basically trying to replicate that same code using Geotools without using 
Geoserver....

Thanks,

Ronak Patel

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea 
Aime
Sent: Wednesday, December 08, 2010 1:27 AM
To: Patel, Ronak Avinash (US SSA)
Cc: [email protected]
Subject: Re: [Geoserver-users] VectorToRasterFactory and VectorToRasterProcess 
sample code

On Tue, Dec 7, 2010 at 8:23 PM, Patel, Ronak Avinash (US SSA)
<[email protected]> wrote:

> http://docs.geotools.org/latest/javadocs/org/geotools/process/raster/VectorToRasterProcess.html#process(org.geotools.data.simple.SimpleFeatureCollection,
> java.lang.Object, java.awt.Dimension, org.opengis.geometry.Envelope,
> java.lang.String, org.opengis.util.ProgressListener)
>
>
>
> and it's not clear with the java.lang.Object attribute should be. Should
> this be an attribute in the vector file? What if there is no attribute that
> is a number?
>
>
>
> Is there any sample code available to show how to use this code?

Those two processes never worked for me, we just inherited them from
the geotools sample code.
You should ask on the geotools-users mailing list, as far as I know Michael
is busy porting the core of that code into the jai-tools library and there
is a bit of discussion ongoing about

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to