HI Michael, excellent, thanks - it is well possible that it appeared before, it was a part of the project that did not need rebuilds... But I am almost sure I built it from maven in november or december and it did not return errors.. .strange. MAybe it did not trickle down the repositories... Anyway, I am trying to downgrade to older process versions now, it all seems to cause errors... Argh. No idea why the envelope does not satisfy the code...
Thanks for your help, Martin On 3/11/2010 3:00 PM, Michael Bedward wrote: > Hi Martin, > > Sorry for this quick reply - it's late where I am. > > There haven't been any changes to the RasterToVector class since last > December and the bounds parameter was added back in September. > Perhaps it's a case of time flies when you're having fun ? > > I'll look at your error properly tomorrow unless someone else gets to it > first. > > cheers > Michael > > > On 12 March 2010 00:39, Martin Tomko<[email protected]> wrote: > >> Dear All, >> in the last month or so there must have been some changes to the >> geotools.process.raster.RasterToVector class in the 2.6-SNAPSHOT branch. >> >> while previously I was calling: >> FeatureColelction fc = RasterToVectorProcess.process(coverage, 0, >> outsideValues , progress); >> >> I now have to specifically give in the Envelope2D >> >> which is fine, I can do this: >> fc = RasterToVectorProcess.process(coverage, 0, >> coverage.getEnvelope2D(), outsideValues , progress); >> >> But I am getting the following error: >> >> Exception in thread "main" java.lang.NoSuchMethodError: >> org.geotools.coverage.grid.GridGeometry2D.worldToGrid(Lorg/geotools/geometry/Envelope2D;)Lorg/geotools/coverage/grid/GridEnvelope2D; >> at >> org.geotools.process.raster.RasterToVectorProcess.initialize(RasterToVectorProcess.java:411) >> at >> org.geotools.process.raster.RasterToVectorProcess.convert(RasterToVectorProcess.java:293) >> at >> org.geotools.process.raster.RasterToVectorProcess.process(RasterToVectorProcess.java:243) >> at >> ch.uzh.geo.tomko.viewshedservice.VectorizationUtils.convertRasterToVector(VectorizationUtils.java:68) >> >> and I cannot find the javadoc specifying this new use... >> >> Any help is welcome! >> Cheers >> M. >> >> ------------------------------------------------------------------------------ >> 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 >> >> > > -- Martin Tomko Postdoctoral Research Assistant Geographic Information Systems Division Department of Geography University of Zurich - Irchel Winterthurerstr. 190 CH-8057 Zurich, Switzerland email: [email protected] site: http://www.geo.uzh.ch/~mtomko mob: +41-788 629 558 tel: +41-44-6355256 fax: +41-44-6356848 ------------------------------------------------------------------------------ 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
