RAMBO is a quality assurance tool developed for the World Database on Protected Areas, and can be run in ArcGIS Pro. The quality assurance (QA) scripts have been written in Python.
Input: Feature class attribute table that conforms to the official WDPA format. Currently, polygon and point feature class attribute tables are the only allowed inputs.
Output: Excel Workbook with identified errors.
For in-depth usage and a description of Quality Assurance checks included, please check the Wiki page on this GitHub repository.
- ArcGIS Pro
2.4or later
Required, but included in ArcGIS Pro 2.4:
- Python
3.6.8or later (included in ArcGIS Pro2.4) - Python packages required (versions stated below or later):
- pandas
0.24.2 - numpy
1.16.2 - openpyxl
2.6.1
- pandas
Note: installing Anaconda is not required. Refrain from using any other Conda installation than the one that is installed by ArcGIS Pro by default.
- Download RAMBO (the WDPA QA tool), from this GitHub repository.
- Unzip the file in a folder of your choosing.
- Open a (non-empty / empty) project in ArcGIS Pro.
- On the ribbon, select Insert --> Toolbox --> Add Toolbox.
- Go to the folder where you unzipped RAMBO, select the
.tbxfile (with red icon), and press 'OK'. - Open the Catalog pane --> Toolboxes --> The WDPA QA toolbox should now be visible.
- Expand the toolbox, so that the embedded scripts become visible.
- Right-click the script to run (e.g. for polygons or points), click Open, and specify the input table (feature class attribute table) to be checked, and the output directory.
- Click Run, and click 'View Details' if you wish to see the progress.
- The Excel output will be present in the previously specified output directory.
- If you encounter errors, please refer to the Troubleshooting section in the Wiki.
Please refrain from committing directly to the master branch. Instead, create a different branch containing edits and submit a pull request.
git checkout -b {your branch} {base branch}Run tests with
python -m unittest- (Done) Add
METADATAIDcheck: compare theMETADATAIDs present in the WDPA Polygon and Point tables, to the Source Table. - (Done) Add a check for empty cells
- (Done) Improve invalid
ISO3check: currently, Protected Areas which have more than oneISO3value are flagged. Instead, split up those entries that contain multipleISO3values, separated by;, and compare those individually to the list of allowedISO3values. - (Duplicate?) Add a single check for
Nullvalues for all fields - (Done) Check whether there are any duplicate
WDPA_PIDs between Points and Polygon feature class attribute tables.
- Make the name of the input feature class a part of the Excel output's filename.
- If useful: add function that is the
GIS_M_AREAequivalent ofivd_no_tk_area_rep_m_area: flagWDPA_PIDswhoseNO_TAKEvalue isAll, butNO_TK_AREAis not the same value asGIS_M_AREA. - Add forbidden characters checks for the fields of the Source table.
Author: Stijn den Haan
Supervisor: Yichuan Shi
Bioinformatics internship • UNEP-WCMC • 10 June - 9 August 2019