Hello all, I have a problem to build the MosaicIndexBuilder jar with the eclipse fat-jar plugin. First the build runs great and the MosaicIndexBuilder.jar also, but my problem is, it isn't possible to run the MosaicIndexBuilder.jar with tiff,tfw and with geotiff. Sometimes I have tiff files with tfw files, and another time I have geotiff files.
The MosaicIndexBuilder runs with one of both formats, but with the same builded jar not with the other format. If I take the gt2-image-2.4.5.jar within the bild I can run the tiff and tfw version with the GridFormat org.geotools.gce.image.WorldImageFormatFactory If I take the gt2-geotiff-2.4.5.jar within the bild I can run the geotiff version with the GridFormat org.geotools.gce.geotiff.GeoTiffFormatFactorySpi I have take a look at the META-INF\services\org.geotools.coverage.grid.io.GridFormatFactorySpi and there is always one single line which gives the full name of the implementing class: org.geotools.gce.image.WorldImageFormatFactory or org.geotools.gce.geotiff.GeoTiffFormatFactorySpi How I can get both formats? If I take both jar references (gt2-geotiff-2.4.5.jar and gt2-image-2.4.5.jar) within the bild than only the WorldImageFormatFactory will referenced. Has anyone a idea how I can define the build, or what I have to do to get both formats at work? Or is it not possible to use both formats? Realy thanks for every help, best regards 2StepForward -- View this message in context: http://www.nabble.com/Two-GridFormat-is-it-possible--tp20678653p20678653.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
