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

Reply via email to