This python script generates soil map with a shapefile.
It takes basin shapefile as an input and generate soil map using hwsd provided by FAO. More about hwsd can be found on the following link:
HOW TO USE:
-
It uses arcpy to generate soil map, make sure arcpy is installed.
-
Open the "soil_hwsd.py" and put the paths of required data (mentioned in the script)
-
Extract the ZIP file and provide the path of 'hwsd.bil' file from there
-
All the required files (hwsd.bi, hwsd class data, soil class) are provided with the code. Edit the path of these file in 'soil_hwsd.py' file.
A soil map of whole globe has been prepared using HWSD FAO data and uploaded in world_soil.rar file in the repo. User can download that and extract soil map for desired area.