code: private float getYEncodedLocation(float y,
  			GriddedCoverageEncodingType encodingType) {
  
  		float yLocation = y;
  
  		switch (encodingType) {
  		case CENTER:
  		case AREA:
  			yLocation += 0.5f;
  			break;
  		case CORNER:
  			yLocation += 1.0f;
  			break;
  		default:
  			throw new GeoPackageException("Unsupported Encoding Type: "
  					+ encodingType);
  		}
  
  		return yLocation;
  	}
docs: Get the Y encoded location from the base provided y
  
  @param y
  y location
  @param encodingType
  pixel encoding type
  @return encoded y location