- API (データ&プログラム) -API(data&program)

土壌図取得API(縮尺20万分の1):Get

提供ベンダー:
システム名:
Farms
利用条件:
ベーシックAPI(申込不要)

概要

API名称
20_1SoilMap
説明

縮尺20万分の1土壌図

データの更新頻度
元データの更新が発生した場合
カテゴリー
添付ファイル

リクエスト

URL

https://api.wagri.net/API/Public/20_1SoilMap/Get?Latitude={Latitude}&Longitude={Longitude}

説明

指定した緯度経度の点の範囲に存在する縮尺20万分の1土壌図を取得する

HTTPメソッド
GET
パラメータ

URLデータ定義
土壌図取得:緯度経度指定

名称 値の説明
Latitude 緯度 number Required
Longitude 緯度 number Required
呼出例
GET https://api.wagri.net/API/Public/20_1SoilMap/Get?Latitude={Latitude}&Longitude={Longitude}
header X-Authorization:{アクセストークン}

レスポンス

レイアウト

レスポンスデータ定義
縮尺20万分の1土壌図返却用

名称 値の説明
PrefectureCode 県コード string  
SoilName 土壌名 string  
SoilLargeCode 土壌群コード string  
SoilMiddleCode 土壌亜群コード string  
SoilSmallCode 土壌統群コード string  
Polygons ポリゴン array of Polygons  
レスポンス例

サンプルコードでのレスポンス(抜粋)

{
    "PrefectureCode": "43",
    "SoilName": "灰色低地土",
    "SoilLargeCode": "F3",
    "SoilMiddleCode": "F3",
    "SoilSmallCode": "F3",
    "Polygons": [
        {
            "Coordinates": [
                {
                    "Latitude": "32.886669384308163",
                    "Longitude": "130.536908157154869"
                },
                {
                    "Latitude": "32.888886655841119",
                    "Longitude": "130.53816131518829"
                },
                {
                    "Latitude": "32.89520349114067",
                    "Longitude": "130.540992840858848"
                },
                {
                    "Latitude": "32.899124203932786",
                    "Longitude": "130.543606679336506"
                },
                {
                    "Latitude": "32.902609403039961",
                    "Longitude": "130.545349201104614"
                },
                {
                    "Latitude": "32.906530075107675",
                    "Longitude": "130.545784613795945"
                },
                {
                    "Latitude": "32.908288213234314",
                    "Longitude": "130.546306747794574"
                },
                {
                    "Latitude": "32.908453437040421",
                    "Longitude": "130.546306743455432"
                },
                {
                    "Latitude": "32.909795554801434",
                    "Longitude": "130.546993302007309"
                },
                {
                    "Latitude": "32.914479227604275",
                    "Longitude": "130.548764426366688"
                },
                {
                    "Latitude": "32.916014336910791",
                    "Longitude": "130.549315430361048"
                },
                {
                    "Latitude": "32.916880081094426",
                    "Longitude": "130.549669547725102"
                },
                {
                    "Latitude": "32.917588623204566",
                    "Longitude": "130.55037809055375"
                },
                {
                    "Latitude": "32.917982198897398",
                    "Longitude": "130.550968574122919"
                },
                {
                    "Latitude": "32.918100258285712",
                    "Longitude": "130.551519630968812"
                },
                {
                    "Latitude": "32.918315516071175",
                    "Longitude": "130.551990692435368"
                },
                {
                    "Latitude": "32.918059717224715",
                    "Longitude": "130.552419832542284"
                },
                {
                    "Latitude": "32.917694501330296",
                    "Longitude": "130.553277827685235"
                },
                {
                    "Latitude": "32.917329001813066",
                    "Longitude": "130.554007209372116"
                },
                {
                    "Latitude": "32.916927380388593",
                    "Longitude": "130.5542646968334"
                },
                {
                    "Latitude": "32.91645244799323",
                    "Longitude": "130.55499408139724"
                },
                {
                    "Latitude": "32.916488855340589",
                    "Longitude": "130.55610954289557"
                },
                {
                    "Latitude": "32.916269741850392",
                    "Longitude": "130.557482488017911"
                },
                {
                    "Latitude": "32.916227859545039",
                    "Longitude": "130.558442404785694"
                },
                {
                    "Latitude": "32.914577749131126",
                    "Longitude": "130.559706489279847"
                },
                {
                    "Latitude": "32.913121563422663",
                    "Longitude": "130.561398875776945"
                },
                {
                    "Latitude": "32.911980322338628",
                    "Longitude": "130.562461591718659"
                },
                {
                    "Latitude": "32.911000733047167",
                    "Longitude": "130.563850375734432"
                },
                {
                    "Latitude": "32.910022814021502",
                    "Longitude": "130.565163338383627"
                },
                {
                    "Latitude": "32.908849086040114",
                    "Longitude": "130.566311891237717"
                },
                {
                    "Latitude": "32.906599645413905",
                    "Longitude": "130.56793624220137"
                },
                {
                    "Latitude": "32.904615727607521",
                    "Longitude": "130.569052303641342"
                },
                {
                    "Latitude": "32.902408225979705",
                    "Longitude": "130.570594723353054"
                },
                {
                    "Latitude": "32.900927304476056",
                    "Longitude": "130.571644941542473"
                },
                {
                    "Latitude": "32.900256843135125",
                    "Longitude": "130.572563759591446"
                },
                {
                    "Latitude": "32.900061046011899",
                    "Longitude": "130.573449802481548"
                },
                {
                    "Latitude": "32.900172992728947",
                    "Longitude": "130.574204731852888"
                },
                {
                    "Latitude": "32.900536294764606",
                    "Longitude": "130.574598569806199"
                },
                {
                    "Latitude": "32.901141811828296",
                    "Longitude": "130.575198624948825"
                },
                {
                    "Latitude": "32.900411055865533",
                    "Longitude": "130.57610205635666"
                },
                {
                    "Latitude": "32.900057784252326",
                    "Longitude": "130.576977823059934"
                },
                {
                    "Latitude": "32.90005428025141",
                    "Longitude": "130.57700800019029"
                },
                {
                    "Latitude": "32.899956439891156",
                    "Longitude": "130.5788354395537"
                },
                {
                    "Latitude": "32.899838413342174",
                    "Longitude": "130.57962287205828"
                },
                {
                    "Latitude": "32.899484300834857",
                    "Longitude": "130.580646117752678"
                },
                {
                    "Latitude": "32.898539714416884",
                    "Longitude": "130.58198436635405"
                },
                {
                    "Latitude": "32.89779175646833",
                    "Longitude": "130.582614040501085"
                },
                {
                    "Latitude": "32.896926023287634",
                    "Longitude": "130.58285042487779"
                },
                {
                    "Latitude": "32.896296095570264",
                    "Longitude": "130.582889609797348"
                },
                {
                    "Latitude": "32.895784485938805",
                    "Longitude": "130.582692968998003"
                },
                {
                    "Latitude": "32.895469789227626",
                    "Longitude": "130.582378005505291"
                },
                {
                    "Latitude": "32.895076212776289",
                    "Longitude": "130.581748369170498"
                },
                {
                    "Latitude": "32.894957872607868",
                    "Longitude": "130.58080372259235"
                },
                {
                    "Latitude": "32.895312258521024",
                    "Longitude": "130.579780195663204"
                },
                {
                    "Latitude": "32.895272806648492",
                    "Longitude": "130.579189968364346"
                },
                {
                    "Latitude": "32.894997276627116",
                    "Longitude": "130.578835569877072"
                },
                {
                    "Latitude": "32.893954335245944",
                    "Longitude": "130.578560059482641"
                },
                {
                    "Latitude": "32.893127763596596",
                    "Longitude": "130.578481478871595"
                },
                {
                    "Latitude": "32.892261747430439",
                    "Longitude": "130.578205963825781"
                },
                {
                    "Latitude": "32.891199075101284",
                    "Longitude": "130.577576345064813"
                },
                {
                    "Latitude": "32.890569411670022",
                    "Longitude": "130.576710314244792"
                },
                {
                    "Latitude": "32.890451360822084",
                    "Longitude": "130.576198691337027"
                },
                {
                    "Latitude": "32.89076631695179",
                    "Longitude": "130.57576567500746"
                },
                {
                    "Latitude": "32.892183080284489",
                    "Longitude": "130.575057091937822"
                },
                {
                    "Latitude": "32.89363928490333",
                    "Longitude": "130.573955214966645"
                },
                {
                    "Latitude": "32.89426919789603",
                    "Longitude": "130.573128600651785"
                },
                {
                    "Latitude": "32.894898834536811",
                    "Longitude": "130.57214450046456"
                },
                {
                    "Latitude": "32.895056302667705",
                    "Longitude": "130.571396797738601"
                },
                {
                    "Latitude": "32.895016841227367",
                    "Longitude": "130.570294663213986"
                },
                {
                    "Latitude": "32.8944263352127",
                    "Longitude": "130.569310610703155"
                },
                {
                    "Latitude": "32.893265330767228",
                    "Longitude": "130.568287389187958"
                },
                {
                    "Latitude": "32.887755068914473",
                    "Longitude": "130.565099491575324"
                },
                {
                    "Latitude": "32.886456314762867",
                    "Longitude": "130.564509016110719"
                },
                {
                    "Latitude": "32.885669183207021",
                    "Longitude": "130.564390992668223"
                },
                {
                    "Latitude": "32.884429321082322",
                    "Longitude": "130.564233539331553"
                },
                {
                    "Latitude": "32.883445265383614",
                    "Longitude": "130.564469661181647"
                },
                {
                    "Latitude": "32.882933666780936",
                    "Longitude": "130.56486324870076"
                },
                {
                    "Latitude": "32.882028513342156",
                    "Longitude": "130.566201480615348"
                },
                {
                    "Latitude": "32.8811033618979",
                    "Longitude": "130.56710698622436"
                },
                {
                    "Latitude": "32.879647144008338",
                    "Longitude": "130.567500598536725"
                },
                {
                    "Latitude": "32.877915401243065",
                    "Longitude": "130.567815334524369"
                },
                {
                    "Latitude": "32.873153173022587",
                    "Longitude": "130.568051828921057"
                },
                {
                    "Latitude": "32.870063540778318",
                    "Longitude": "130.568957110090821"
                },
                {
                    "Latitude": "32.869236953934809",
                    "Longitude": "130.568484674122146"
                },
                {
                    "Latitude": "32.867229642153042",
                    "Longitude": "130.566359354774875"
                },
                {
                    "Latitude": "32.865615894323099",
                    "Longitude": "130.564194591131184"
                },
                {
                    "Latitude": "32.865222315670586",
                    "Longitude": "130.563446902844305"
                },
                {
                    "Latitude": "32.865812464477209",
                    "Longitude": "130.559943857608914"
                },
                {
                    "Latitude": "32.866599547538065",
                    "Longitude": "130.55746405925089"
                },
                {
                    "Latitude": "32.867898506490555",
                    "Longitude": "130.553961011079707"
                },
                {
                    "Latitude": "32.868882233495924",
                    "Longitude": "130.551599525103711"
                },
                {
                    "Latitude": "32.869708782842842",
                    "Longitude": "130.550064375427723"
                },
                {
                    "Latitude": "32.870456729814137",
                    "Longitude": "130.548844465180139"
                },
                {
                    "Latitude": "32.871991522444901",
                    "Longitude": "130.547073193111089"
                },
                {
                    "Latitude": "32.875435515628872",
                    "Longitude": "130.543806161344548"
                },
                {
                    "Latitude": "32.877245830904954",
                    "Longitude": "130.541995448101204"
                },
                {
                    "Latitude": "32.878387349889451",
                    "Longitude": "130.541169101637593"
                },
                {
                    "Latitude": "32.878898952168122",
                    "Longitude": "130.540972152757547"
                },
                {
                    "Latitude": "32.879292526857938",
                    "Longitude": "130.541090194354297"
                },
                {
                    "Latitude": "32.880119119819042",
                    "Longitude": "130.542310344529085"
                },
                {
                    "Latitude": "32.882893850232207",
                    "Longitude": "130.544750615460373"
                },
                {
                    "Latitude": "32.883602386479396",
                    "Longitude": "130.545144155340097"
                },
                {
                    "Latitude": "32.884350084270899",
                    "Longitude": "130.545222745868557"
                },
                {
                    "Latitude": "32.885412734801932",
                    "Longitude": "130.545104673893263"
                },
                {
                    "Latitude": "32.886278744802979",
                    "Longitude": "130.54463247476599"
                },
                {
                    "Latitude": "32.886750900365982",
                    "Longitude": "130.544120836382035"
                },
                {
                    "Latitude": "32.886908367041322",
                    "Longitude": "130.543294234495818"
                },
                {
                    "Latitude": "32.886908330288769",
                    "Longitude": "130.541326082853487"
                },
                {
                    "Latitude": "32.886475551159613",
                    "Longitude": "130.538807148202807"
                },
                {
                    "Latitude": "32.886669384308163",
                    "Longitude": "130.536908157154869"
                }
            ]
        },
        {
            "Coordinates": [
                {
                    "Latitude": "32.878297181866444",
                    "Longitude": "130.56132257841756"
                },
                {
                    "Latitude": "32.878432186530958",
                    "Longitude": "130.562392744563681"
                },
                {
                    "Latitude": "32.878769668943995",
                    "Longitude": "130.563502636210785"
                },
                {
                    "Latitude": "32.879073537651792",
                    "Longitude": "130.564176474080114"
                },
                {
                    "Latitude": "32.879444607106869",
                    "Longitude": "130.564295344310892"
                },
                {
                    "Latitude": "32.879849554452747",
                    "Longitude": "130.563938685969049"
                },
                {
                    "Latitude": "32.880625833953424",
                    "Longitude": "130.562709892941882"
                },
                {
                    "Latitude": "32.881705935834781",
                    "Longitude": "130.560093708511261"
                },
                {
                    "Latitude": "32.882009484480292",
                    "Longitude": "130.558270520247561"
                },
                {
                    "Latitude": "32.881840866448222",
                    "Longitude": "130.557200354990357"
                },
                {
                    "Latitude": "32.881300912957499",
                    "Longitude": "130.556407377750929"
                },
                {
                    "Latitude": "32.880524609429109",
                    "Longitude": "130.555931886060705"
                },
                {
                    "Latitude": "32.879748309933845",
                    "Longitude": "130.556090509394267"
                },
                {
                    "Latitude": "32.879107003989759",
                    "Longitude": "130.556724641243648"
                },
                {
                    "Latitude": "32.878432102852827",
                    "Longitude": "130.55791370860041"
                },
                {
                    "Latitude": "32.878229656207253",
                    "Longitude": "130.559538849470528"
                },
                {
                    "Latitude": "32.878297181866444",
                    "Longitude": "130.56132257841756"
                }
            ]
        },
        {
            "Coordinates": [
                {
                    "Latitude": "32.896031846009009",
                    "Longitude": "130.562092309479908"
                },
                {
                    "Latitude": "32.897072316372302",
                    "Longitude": "130.563903791603309"
                },
                {
                    "Latitude": "32.898148602066293",
                    "Longitude": "130.564830625541219"
                },
                {
                    "Latitude": "32.899224590786901",
                    "Longitude": "130.564914769418635"
                },
                {
                    "Latitude": "32.900408622647724",
                    "Longitude": "130.564620030366541"
                },
                {
                    "Latitude": "32.902776105079781",
                    "Longitude": "130.563440355196917"
                },
                {
                    "Latitude": "32.903780426055498",
                    "Longitude": "130.562892596677784"
                },
                {
                    "Latitude": "32.904785021158958",
                    "Longitude": "130.561965708086348"
                },
                {
                    "Latitude": "32.905968743491997",
                    "Longitude": "130.560575246985422"
                },
                {
                    "Latitude": "32.906578380310535",
                    "Longitude": "130.559479766705635"
                },
                {
                    "Latitude": "32.90679360645607",
                    "Longitude": "130.558258214345926"
                },
                {
                    "Latitude": "32.90672193162866",
                    "Longitude": "130.557246916294901"
                },
                {
                    "Latitude": "32.906004486359684",
                    "Longitude": "130.555814563593572"
                },
                {
                    "Latitude": "32.904712944616087",
                    "Longitude": "130.554508605260935"
                },
                {
                    "Latitude": "32.902811753447416",
                    "Longitude": "130.553624007961332"
                },
                {
                    "Latitude": "32.90083862749217",
                    "Longitude": "130.552865510610161"
                },
                {
                    "Latitude": "32.899260192710443",
                    "Longitude": "130.55261280909383"
                },
                {
                    "Latitude": "32.898076444436462",
                    "Longitude": "130.553034185201909"
                },
                {
                    "Latitude": "32.896928540624103",
                    "Longitude": "130.554129671795238"
                },
                {
                    "Latitude": "32.89610366661163",
                    "Longitude": "130.555857038561498"
                },
                {
                    "Latitude": "32.895601263843268",
                    "Longitude": "130.558005749709082"
                },
                {
                    "Latitude": "32.895493816207143",
                    "Longitude": "130.560154169266411"
                },
                {
                    "Latitude": "32.896031846009009",
                    "Longitude": "130.562092309479908"
                }
            ]
        },
        {
            "Coordinates": [
                {
                    "Latitude": "32.907271693936693",
                    "Longitude": "130.562498930867662"
                },
                {
                    "Latitude": "32.907731366628511",
                    "Longitude": "130.562828607974438"
                },
                {
                    "Latitude": "32.908624875051764",
                    "Longitude": "130.562858581805585"
                },
                {
                    "Latitude": "32.909850564447339",
                    "Longitude": "130.562468865792027"
                },
                {
                    "Latitude": "32.912174170882423",
                    "Longitude": "130.561389182797399"
                },
                {
                    "Latitude": "32.912608281133906",
                    "Longitude": "130.561149192909909"
                },
                {
                    "Latitude": "32.913093497721704",
                    "Longitude": "130.560639491492566"
                },
                {
                    "Latitude": "32.913348727018509",
                    "Longitude": "130.559829854269651"
                },
                {
                    "Latitude": "32.913323162332944",
                    "Longitude": "130.55913991681723"
                },
                {
                    "Latitude": "32.913067898310757",
                    "Longitude": "130.558510245622188"
                },
                {
                    "Latitude": "32.912352971131966",
                    "Longitude": "130.558060585988073"
                },
                {
                    "Latitude": "32.910948410844775",
                    "Longitude": "130.55800062827592"
                },
                {
                    "Latitude": "32.90944192691331",
                    "Longitude": "130.558480343591214"
                },
                {
                    "Latitude": "32.908241798276485",
                    "Longitude": "130.559350031508529"
                },
                {
                    "Latitude": "32.907450245453376",
                    "Longitude": "130.560489653234242"
                },
                {
                    "Latitude": "32.907143915423589",
                    "Longitude": "130.561868990715396"
                },
                {
                    "Latitude": "32.907271693936693",
                    "Longitude": "130.562498930867662"
                }
            ]
        }
    ]
}

 

ステータスコード
コード 名称 値の説明
200 OK リクエストが成功しました。
400 Bad Request リクエストが不正です。
401 Unauthorized 認証情報が不正です。
403 Forbidden リソースのアクセスが禁止されています。
404 Not Found リソースが見つかりませんでした。
500 Internal Server Error サーバー内部でエラーが発生しました。

 

サンプルソースコード

ソースコード

Python(requestsモジュール)でのサンプルコード

パラメータ例:Latitude=32.87245 Longitude=130.55100

import requests

url = "https://api.wagri.net/API/Public/20_1SoilMap/Get"

payload = {
            'Latitude': '32.87245',
            'Longitude': '130.55100',
            }
headers = {
            'X-Authorization': 'アクセストークン',
          }

response = requests.get(url, headers=headers, params=payload)

print(response.text)

 

前に戻る
上部へスクロール