WWIO.saveBuffer(byteBuffer, file, forceFilesystemWrite);
}
protected void writeWorldFile(AVList values, java.io.File file) throws java.io.IOException
{
Sector sector = (Sector) values.getValue(AVKey.SECTOR);
int[] size = (int[]) values.getValue(WorldFile.WORLD_FILE_IMAGE_SIZE);
double xPixelSize = sector.getDeltaLonDegrees() / (size[0] - 1);
double yPixelSize = -sector.getDeltaLatDegrees() / (size[1] - 1);
double xCoeff = 0.0;
double yCoeff = 0.0;
double xLocation = sector.getMinLongitude().degrees;
double yLocation = sector.getMaxLatitude().degrees;
java.io.PrintWriter out = new java.io.PrintWriter(file);
try
{
out.println(xPixelSize);