Maps > Predefined Readers > The GeoTIFF Reader > The IlvGeoTIFFTiler Class
 
The IlvGeoTIFFTiler Class
The IlvGeoTIFFTiler class is used to re-encode an already existing TIFF file to a tiled GeoTIFF file. Here is an example of how to use the tiler:
IlvGeoTIFFTiler* tiler =
new IlvGeoTIFFTiler(filename,
"out.tif",
getTileWidth(),
getTileHeight());
IlvMapsError status = tiler->getInitStatus();
if(status != IlvMaps::NoError())
return status;
IlvTIFFStreamer streamer;
status = tiler->performTiling(streamer);
return status;

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.