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