Python – How to Determine Ground Type from Given Coordinates

coordinatespythonsoil

I would like to know what type of soil (ground) is a given coordinate (lat&lon). For instance, if a coordinate is rural soil, a road, a building, etc. Is it possible? I've tried:

import requests
url = "https://rest.isric.org/soilgrids/v2.0/properties/query?lon=34.5&lat=1.299"
r = requests.get(url)
print(r.json())

However, the output JSON is not clear the type of soil.

Best Answer

I guess you're looking for landcover classifications...

Some good global open-access datasets are:

Related Question