From: Thomas L. <ma...@gm...> - 2008-06-26 17:51:35
|
Thanks for your answer Martin and thanks for your offer, I already managed to get it running, basically I made the (stupid) mistake to put all gt jars on the classpath, this caused the gdal problems. I replied to my own post three hours ago with the "solution". I was interested in both the files and the shapefile, as I set up a small demo gis app using the pending-swing-widgets. Btw, great library, although it's really hard to get started, but the speed and features are impressive ! Greetings from vienna, Tom Martin Desruisseaux schrieb: > Thomas Lutz a écrit : >> I am trying to build an image pyramid out of an geo tiff with >> >> org.geotools.utils.imagepyramid.PyramidBuilder -s >> D:\shared\LondonMaps\london_2.tif -t 1024,1024 -f 2 -n 4 -w >> >> I've downloaded geotools 2.5-M2, added all the libs in there to my >> classpath and started... it creates lots of tiffs in a /pyramid/0 >> directory, but when trying to index the mosaic, it crashes with: > > Are you interrested only in the files, or do you need the indexed > shapefile as well? If you do not need the indexed shapefile, an > alternative is to use modules/unsupported/coverageio module, which has > the capability to generate mosaics as well. > > I have not yet done a main program to be launch from the command line > (basically because I have not investigated what should be the command > options - I guess it should be the same than GDAL or PyramidBuilder). > However I can give you a small main class that you can use for > invoking the proper classes. Do you still have a need for that? > > Martin > |