The primary purposes of RAP are to document the legal framework for the resettlement, develop the stakeholder engagement approach, and determine the appropriate compensation mechanisms for the affected persons.