土壌図取得API(縮尺20万分の1):GetArea
- 更新日 2024-10-21
概要
API名称
20_1SoilMap
説明
縮尺20万分の1土壌図
データの更新頻度
元データの更新が発生した場合
カテゴリー
添付ファイル
ー
リクエスト
URL
https://api.wagri.net/API/Public/20_1SoilMap/GetArea?MaxLatitude={MaxLatitude}&MaxLongitude={MaxLongitude}&MinLatitude={MinLatitude}&MinLongitude={MinLongitude}
説明
指定した最大・最少緯度・経度の範囲に存在する縮尺20万分の1土壌図を取得する。
HTTPメソッド
GET
パラメータ
URLデータ定義
土壌図取得:最大最小緯度経度指定
名称 | 値 | 型 | 値の説明 |
---|---|---|---|
MaxLatitude | 最大緯度 | number | Required |
MaxLongitude | 最大経度 | number | Required |
MinLatitude | 最小緯度 | number | Required |
MinLongitude | 最小経度 | number | Required |
呼出例
GET https://api.wagri.net/API/Public/20_1SoilMap/GetArea?MaxLatitude={MaxLatitude}&MaxLongitude={MaxLongitude}&MinLatitude={MinLatitude}&MinLongitude={MinLongitude}
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.860356616743971", "Longitude": "130.555842149539444" }, { "Latitude": "32.860762631793548", "Longitude": "130.553259323530938" }, { "Latitude": "32.861372793052134", "Longitude": "130.550543160381153" }, { "Latitude": "32.861950746200939", "Longitude": "130.548619411426898" }, { "Latitude": "32.860906947692605", "Longitude": "130.54720486245202" }, { "Latitude": "32.85981480226242", "Longitude": "130.544489009514109" }, { "Latitude": "32.859493672258324", "Longitude": "130.541848426505339" }, { "Latitude": "32.859879148754999", "Longitude": "130.539585275532602" }, { "Latitude": "32.860778450350502", "Longitude": "130.537774586170769" }, { "Latitude": "32.861934685751436", "Longitude": "130.536492170850238" }, { "Latitude": "32.863411999692218", "Longitude": "130.535511391955367" }, { "Latitude": "32.865210680425818", "Longitude": "130.535209434410149" }, { "Latitude": "32.867073524973414", "Longitude": "130.535284925716269" }, { "Latitude": "32.868615302232605", "Longitude": "130.535662070259946" }, { "Latitude": "32.869578816263036", "Longitude": "130.53641642269514" }, { "Latitude": "32.87015710623956", "Longitude": "130.537472695653861" }, { "Latitude": "32.870927868723356", "Longitude": "130.538227060947804" }, { "Latitude": "32.872597958119911", "Longitude": "130.538528654201798" }, { "Latitude": "32.874396648689554", "Longitude": "130.538754969579713" }, { "Latitude": "32.875809822722012", "Longitude": "130.538679673663353" }, { "Latitude": "32.877094683833739", "Longitude": "130.539056824916429" }, { "Latitude": "32.878122353224128", "Longitude": "130.5397356277374" }, { "Latitude": "32.878941437987784", "Longitude": "130.540471102818685" }, { "Latitude": "32.879292526857938", "Longitude": "130.541090194354297" }, { "Latitude": "32.878898952168122", "Longitude": "130.540972152757547" }, { "Latitude": "32.878387349889451", "Longitude": "130.541169101637593" }, { "Latitude": "32.877245830904954", "Longitude": "130.541995448101204" }, { "Latitude": "32.875435515628872", "Longitude": "130.543806161344548" }, { "Latitude": "32.871991522444901", "Longitude": "130.547073193111089" }, { "Latitude": "32.870456729814137", "Longitude": "130.548844465180139" }, { "Latitude": "32.869708782842842", "Longitude": "130.550064375427723" }, { "Latitude": "32.868882233495924", "Longitude": "130.551599525103711" }, { "Latitude": "32.867898506490555", "Longitude": "130.553961011079707" }, { "Latitude": "32.866599547538065", "Longitude": "130.55746405925089" }, { "Latitude": "32.865812464477209", "Longitude": "130.559943857608914" }, { "Latitude": "32.865222315670586", "Longitude": "130.563446902844305" }, { "Latitude": "32.862702802310508", "Longitude": "130.55912679362757" }, { "Latitude": "32.860356616743971", "Longitude": "130.555842149539444" } ] } ] }, { "PrefectureCode": "43", "SoilName": "グライ低地土", "SoilLargeCode": "F2", "SoilMiddleCode": "F2", "SoilSmallCode": "F2", "Polygons": [ { "Coordinates": [ { "Latitude": "32.851714233130366", "Longitude": "130.524644672760587" }, { "Latitude": "32.860134391908815", "Longitude": "130.524439131027918" }, { "Latitude": "32.871243150633354", "Longitude": "130.525527910482424" }, { "Latitude": "32.877560010397865", "Longitude": "130.529666545758175" }, { "Latitude": "32.879302634682382", "Longitude": "130.532280152447413" }, { "Latitude": "32.883876898600164", "Longitude": "130.535329759073704" }, { "Latitude": "32.886669384308163", "Longitude": "130.536908157154869" }, { "Latitude": "32.886475551159613", "Longitude": "130.538807148202807" }, { "Latitude": "32.886908330288769", "Longitude": "130.541326082853487" }, { "Latitude": "32.886908367041322", "Longitude": "130.543294234495818" }, { "Latitude": "32.886750900365982", "Longitude": "130.544120836382035" }, { "Latitude": "32.886278744802979", "Longitude": "130.54463247476599" }, { "Latitude": "32.885412734801932", "Longitude": "130.545104673893263" }, { "Latitude": "32.884350084270899", "Longitude": "130.545222745868557" }, { "Latitude": "32.883602386479396", "Longitude": "130.545144155340097" }, { "Latitude": "32.882893850232207", "Longitude": "130.544750615460373" }, { "Latitude": "32.880119119819042", "Longitude": "130.542310344529085" }, { "Latitude": "32.879292526857938", "Longitude": "130.541090194354297" }, { "Latitude": "32.878941437987784", "Longitude": "130.540471102818685" }, { "Latitude": "32.878122353224128", "Longitude": "130.5397356277374" }, { "Latitude": "32.877094683833739", "Longitude": "130.539056824916429" }, { "Latitude": "32.875809822722012", "Longitude": "130.538679673663353" }, { "Latitude": "32.874396648689554", "Longitude": "130.538754969579713" }, { "Latitude": "32.872597958119911", "Longitude": "130.538528654201798" }, { "Latitude": "32.870927868723356", "Longitude": "130.538227060947804" }, { "Latitude": "32.87015710623956", "Longitude": "130.537472695653861" }, { "Latitude": "32.869578816263036", "Longitude": "130.53641642269514" }, { "Latitude": "32.868615302232605", "Longitude": "130.535662070259946" }, { "Latitude": "32.867073524973414", "Longitude": "130.535284925716269" }, { "Latitude": "32.865210680425818", "Longitude": "130.535209434410149" }, { "Latitude": "32.863411999692218", "Longitude": "130.535511391955367" }, { "Latitude": "32.861934685751436", "Longitude": "130.536492170850238" }, { "Latitude": "32.860778450350502", "Longitude": "130.537774586170769" }, { "Latitude": "32.859879148754999", "Longitude": "130.539585275532602" }, { "Latitude": "32.859493672258324", "Longitude": "130.541848426505339" }, { "Latitude": "32.85981480226242", "Longitude": "130.544489009514109" }, { "Latitude": "32.860906947692605", "Longitude": "130.54720486245202" }, { "Latitude": "32.859864868183074", "Longitude": "130.548325336194523" }, { "Latitude": "32.858949983818007", "Longitude": "130.548955022473137" }, { "Latitude": "32.857341287609145", "Longitude": "130.549585008153372" }, { "Latitude": "32.855763981219908", "Longitude": "130.550363034428585" }, { "Latitude": "32.855258478415848", "Longitude": "130.550067800696638" }, { "Latitude": "32.854627709491204", "Longitude": "130.54982116745208" }, { "Latitude": "32.853282562055007", "Longitude": "130.548389393519244" }, { "Latitude": "32.851264961048031", "Longitude": "130.545773008994729" }, { "Latitude": "32.849793719034835", "Longitude": "130.544785636020151" }, { "Latitude": "32.849898130534996", "Longitude": "130.543608793454155" }, { "Latitude": "32.849639534656681", "Longitude": "130.542758602990887" }, { "Latitude": "32.848708785129368", "Longitude": "130.541726219893064" }, { "Latitude": "32.847757582533298", "Longitude": "130.540604237894627" }, { "Latitude": "32.850114827749387", "Longitude": "130.53162764730331" }, { "Latitude": "32.85076826950236", "Longitude": "130.526617520723676" }, { "Latitude": "32.851203738191913", "Longitude": "130.524657134285007" }, { "Latitude": "32.851714233130366", "Longitude": "130.524644672760587" } ] } ] }, { "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" } ] } ] }, { "PrefectureCode": "43", "SoilName": "灰色低地土", "SoilLargeCode": "F3", "SoilMiddleCode": "F3", "SoilSmallCode": "F3", "Polygons": [ { "Coordinates": [ { "Latitude": "32.858919986799805", "Longitude": "130.563995065837446" }, { "Latitude": "32.857978135671168", "Longitude": "130.563312370465184" }, { "Latitude": "32.856821846033704", "Longitude": "130.561690327400015" }, { "Latitude": "32.855536965144196", "Longitude": "130.560256880173711" }, { "Latitude": "32.855527790666571", "Longitude": "130.559643326028663" }, { "Latitude": "32.855843026443345", "Longitude": "130.559124747057353" }, { "Latitude": "32.85647405863989", "Longitude": "130.558828374269524" }, { "Latitude": "32.856899841738972", "Longitude": "130.558587556569194" }, { "Latitude": "32.856994543508065", "Longitude": "130.558253974610238" }, { "Latitude": "32.856742059032783", "Longitude": "130.557550153683906" }, { "Latitude": "32.856142670016318", "Longitude": "130.556920491451763" }, { "Latitude": "32.855795765469722", "Longitude": "130.556994384544851" }, { "Latitude": "32.855480256980876", "Longitude": "130.557550186748188" }, { "Latitude": "32.855322519437046", "Longitude": "130.558513432675056" }, { "Latitude": "32.854628681994434", "Longitude": "130.557142745580848" }, { "Latitude": "32.854123705434226", "Longitude": "130.555327359018577" }, { "Latitude": "32.853871473619414", "Longitude": "130.55351198145911" }, { "Latitude": "32.854092258213306", "Longitude": "130.552104304967315" }, { "Latitude": "32.854754666409868", "Longitude": "130.551215211052295" }, { "Latitude": "32.855763981219908", "Longitude": "130.550363034428585" }, { "Latitude": "32.857341287609145", "Longitude": "130.549585008153372" }, { "Latitude": "32.858949983818007", "Longitude": "130.548955022473137" }, { "Latitude": "32.859864868183074", "Longitude": "130.548325336194523" }, { "Latitude": "32.860906947692605", "Longitude": "130.54720486245202" }, { "Latitude": "32.861950746200939", "Longitude": "130.548619411426898" }, { "Latitude": "32.861372793052134", "Longitude": "130.550543160381153" }, { "Latitude": "32.860762631793548", "Longitude": "130.553259323530938" }, { "Latitude": "32.860356616743971", "Longitude": "130.555842149539444" }, { "Latitude": "32.8600342015393", "Longitude": "130.558422754812341" }, { "Latitude": "32.858919986799805", "Longitude": "130.563995065837446" } ] } ] } ]
ステータスコード
コード | 名称 | 値の説明 |
---|---|---|
200 | OK | リクエストが成功しました。 |
400 | Bad Request | リクエストが不正です。 |
401 | Unauthorized | 認証情報が不正です。 |
403 | Forbidden | リソースのアクセスが禁止されています。 |
404 | Not Found | リソースが見つかりませんでした。 |
500 | Internal Server Error | サーバー内部でエラーが発生しました。 |
サンプルソースコード
ソースコード
Python(requestsモジュール)でのサンプルコード
パラメータ例:MaxLatitude=32.87 MaxLongitude=130.55 MinLatitude=32.86 MinLongitude=130.52854
import requests url = "https://api.wagri.net/API/Public/20_1SoilMap/GetArea" payload = { 'MaxLatitude': '32.87245', 'MaxLongitude': '130.55100', 'MinLatitude': '32.86031', 'MinLongitude': '130.52852' } headers = { 'X-Authorization': 'アクセストークン', } response = requests.get(url, headers=headers, params=payload) print(response.text)