By Geographic Coordinates
Description:
you can call by geographic coordinates. API responds with list of results that match a searching
word.
API Call:
domain/api/soildata?lat={lat}&lon={lon}
Parameters:
Lat, Lon coordinates of the location of Nepal
Examples of API calls:
JSON:
Click here for demo..
API response:
{
"coord": {
"lon": 80.807,
"lat": 28.574,
"elevation": 1.72
},
"ph": "7.69 ",
"organic_matter": "1.67 %",
"total_nitrogen": "0.08 %",
"potassium": "198.02 kg/ha",
"p2o5": "38.9 kg/ha",
"boron": "0.14 ppm",
"zinc": "0.42 ppm",
"sand": "29.96 %",
"clay": "16.54 %",
"slit": "55.51 %",
"parentsoil": "Fluvial non calcareous",
"province": "Sudurpaschim",
"district": "Kailali",
"palika": "Kailari Gaunpalika",
"fertilizer": {
"Maize": {
"OPV": {
"MOP": "2.23",
"DAP": "4.34",
"UREA1": "1.21",
"UREA2": "2.9",
"UREA3": "2.9",
"organic": "10",
"zinc": "2",
"boron": "1.5"
},
"Hybrid": {
"MOP": "3.34",
"DAP": "4.34",
"UREA1": "1.93",
"UREA2": "3.62",
"UREA3": "3.62",
"organic": "10",
"zinc": "2",
"boron": "1.5"
}
},
"Rice": {
"OPV": {
"MOP": "1.67",
"DAP": "2.17",
"UREA1": "1.57",
"UREA2": "2.42",
"UREA3": "2.42",
"organic": "6",
"zinc": "2",
"boron": "1"
},
"Hybrid": {
"MOP": "1.67",
"DAP": "2.17",
"UREA1": "1.57",
"UREA2": "2.42",
"UREA3": "2.42",
"organic": "6",
"zinc": "2",
"boron": "1"
}
},
"Wheat": {
"OPV": {
"MOP": "2.78",
"DAP": "3.62",
"UREA1": "1.61",
"UREA2": "3.02",
"UREA3": "3.02",
"organic": "6",
"zinc": "NA",
"boron": "1.5"
}
}
}
}
Parameters:
coord
coord.lon
geo location, longitude
coord.lat
geo location, latitude
parent_soil
Parent Soil.
Ph
Ph value of the soil.
Clay
Clay Contents in the soil. Unit Default:percentage
organic_matter
Organic Matter Contents in the soil. Unit Default:percentage
total_nitrogen
Total Nitrogen Contents in the soil. Unit Default:percentage
boron
Boron Contents in the soil. Unit Default:Parts Per Millions
p2o5
P2o5 Contents in the soil.
sand
sand Contents in the soil.
zinc
zinc Contents in the soil.
potassium
potassium Contents in the soil.