Hi Martin, > I am obviously missing something. What is it? Maybe it is just my lack > of experience with factories/parameters, but so far I have used them for > coverages or shapefiles and all was good.
Welcome to 'unsupported' land :-) I'm afraid that the unit test for the raster to vector function is not a good guide for general use because it goes "behind the scenes" of the process api. That was me being lazy. > It also seems like the approach used in the UserGuide: > > features = Raster2Vector.process( gridCoverage, 2, Collections.EMPTY, null ); > > does not work - the method process is not offered for Raster2Vector. That example has a typo. It should be... features = Raster2VectorProcess.process(coverage, band, outsideValues, null); Hope this helps Michael ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
