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();
- 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 ?
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.