Hello,
I am currently developing an application which load at the beginning some 
raster files in GeoTiff format.
To cover all my area, I need many geotiff files. So I want to put all them into 
a single Coverage2D. 

I am trying to use the ImageMosaic utilities.
Currently, I got this :

MosaicIndexBuilder indexBuilder = new MosaicIndexBuilder();
indexBuilder.setLocationPath(coveragesPath);
indexBuilder.setIndexName(projName);
indexBuilder.setWildcardString("*.TIF");

where :
 - coveragesPath -> path to the directory containing my geotiff files,
 - projName -> The name of my project (I suppose that setIndexName set the name 
of shape file.... true ?)
 - *.TIF -> The extension of my geotiff files.

But now I do not know how to use the MosaicIndexBuilder to put all my geotiff 
files contained in coveragesPath into a Coverage2D ...??
Somebody can help me ?
Thanks

Anaxa.

PS : Another question about Coverage2D. I am displaying my Coverage2D in a 
JDefaultNavigableMap2D. But when I add a simple feature (like a point) to the 
map, there is a very long time to refresh the screen, due to the Coverage2D... 
Is there anybody who would have an idea to reduce (a lot) this time to refresh 
? Thanks !

_________________________________________________________________
Votre contact a choisi Hotmail, l'e-mail nouvelle génération. Créez un compte. 
http://www.windowslive.fr/hotmail/default.asp
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to