{"swagger":"2.0","info":{"description":"**API จาก** [Agri-Map](https://agri-map-online.moac.go.th) \nแหล่งข้อมูลจาก กรมพัฒนาที่ดิน (2564)\n\n**คำอธิบายข้อมูล**\nข้อมูลการใช้ที่ดินเป็นข้อมูลที่ได้จากการสำรวจ จำแนกสภาพการใช้ที่ดินปัจจุบัน (Present Land Use)  ทั้งนี้ API การใช้ที่ดิน สามารถให้รายละเอียดการใช้ประโยชน์ที่ดินโดยการระบุพิกัด\n\n **การเรียกใช้**\nผู้ใช้งานต้องดำเนินการตามนี้\n1.ทำการขอ token ที่ https://thagri.in.th\n2.นำ token ที่ได้จาก https://thagri.in.th/ ไปใช้เป็น Parameter ใน API\n ","version":"1.0.0","title":"การใช้ที่ดิน"},"host":"api.thagri.in.th","tags":[{"name":"Soil_API"}],"schemes":["https","http"],"paths":{"/Soil_API/landuse_f_v3":{"post":{"responses":{"200":{"description":"Success","schema":{"type":"object","properties":{"status":{"type":"string"},"data":{"type":"object","properties":{"lat":{"type":"string"},"lon":{"type":"string"},"marker_datas":{"type":"array","items":{"type":"object","properties":{"shape_id":{"type":"string"},"layer_name":{"type":"string"},"meta_id":{"type":"string"},"attribute_style_id":{"type":"string"},"datas":{"type":"array","items":{"type":"object","properties":{"atibute_title":{"type":"string"},"atibute_value":{"type":"string"},"atibute_unit":{"type":"string"},"is_marker_title":{"type":"string","format":"nullable"}}}}}}}}}}}}},"summary":"คำอธิบาย : ใช้สำหรับดึงข้อมูล การใช้ที่ดิน","description":"ใช้สำหรับดึงข้อมูล  การใช้ที่ดินตามพิกัดที่สนใจ","operationId":"agri_landuse_f_th_v3_db2","parameters":[{"name":"lat","in":"query","type":"number","default":"20.2985142","required":true,"description":"ละติจูด เช่น 20.2985142"},{"name":"lon","in":"query","type":"number","default":"99.8081724","required":true,"description":"ลองจิจูด เช่น 99.8081724"},{"name":"tgtoken","in":"query","type":"string","required":false,"description":"รหัสที่ใช้ระบุตัวตนเพื่อเข้าถึงการใช้งานข้อมูล"}],"tags":["Soil_API"]}}},"definitions":{"data_output":{"type":"object","properties":{"status":{"type":"string"},"data":{"type":"object","properties":{"lat":{"type":"string"},"lon":{"type":"string"},"marker_datas":{"type":"array","items":{"type":"object","properties":{"shape_id":{"type":"string"},"layer_name":{"type":"string"},"meta_id":{"type":"string"},"attribute_style_id":{"type":"string"},"datas":{"type":"array","items":{"type":"object","properties":{"atibute_title":{"type":"string"},"atibute_value":{"type":"string"},"atibute_unit":{"type":"string"},"is_marker_title":{"type":"string","format":"nullable"}}}}}}}}}}}}}