forked from FarmMaps/FarmMapsApiClient
Update appsettings, included the three environments test, acceptance and production. + update the NBS sample code to the newest flow (backwards compatible
This commit is contained in:
@@ -1,111 +1,59 @@
|
||||
[
|
||||
//{
|
||||
// "UseCreatedCropfield": true,
|
||||
// "file": "Scan_1_20190605.json",
|
||||
// "inputVariable": "irmi",
|
||||
// "inputLayerName": "",
|
||||
// "outputFileName": "vranbs1",
|
||||
// "fieldName": "testJson_irmi",
|
||||
// "storeSatelliteStatistics": true,
|
||||
// "plantingDate": "2019-04-18",
|
||||
// "measurementDate": "2019-06-05",
|
||||
// "potatoPurposeType": "consumption",
|
||||
// "targetYield": 45,
|
||||
// "geometryJson": {
|
||||
// "type": "Polygon",
|
||||
// "coordinates": [
|
||||
// [
|
||||
// [ 3.40843828875524, 50.638966444680605 ],
|
||||
// [ 3.408953272886064, 50.639197789621612 ],
|
||||
// [ 3.409242951459603, 50.639469958681836 ],
|
||||
// [ 3.409328782148028, 50.639612846807708 ],
|
||||
// [ 3.409457528180712, 50.639789755314411 ],
|
||||
// [ 3.409639918393741, 50.640014292074966 ],
|
||||
// [ 3.409833037442765, 50.640211611372706 ],
|
||||
// [ 3.410069071836049, 50.640395321698435 ],
|
||||
// [ 3.410380208081761, 50.640572227259661 ],
|
||||
// [ 3.410605513638958, 50.640715112034222 ],
|
||||
// [ 3.411925160474145, 50.641177783561204 ],
|
||||
// [ 3.411935889310142, 50.640728720085136 ],
|
||||
// [ 3.412590348309737, 50.63948356709389 ],
|
||||
// [ 3.413244807309242, 50.638224772339846 ],
|
||||
// [ 3.413400375432099, 50.637901562841307 ],
|
||||
// [ 3.413539850300779, 50.637449065809889 ],
|
||||
// [ 3.413475477284437, 50.637418445552932 ],
|
||||
// [ 3.40999396998362, 50.637449065810451 ],
|
||||
// [ 3.409940325803365, 50.638102293212661 ],
|
||||
// [ 3.409575545377398, 50.638483338338325 ],
|
||||
// [ 3.409060561246574, 50.638707881340494 ],
|
||||
// [ 3.40843828875524, 50.638966444680605 ]
|
||||
// ]
|
||||
// ]
|
||||
// },
|
||||
|
||||
// "GenerateTaskmap": true,
|
||||
// "OutputType": "shape", // "shape" or "isoxml" if isoxml also add ddiCode
|
||||
// "Precision": "2",
|
||||
// "MaximumClasses": "4",
|
||||
// "DdiCode": "0006",
|
||||
// "CellWidth": "3",
|
||||
// "CellHeight": "10",
|
||||
// "Centered": "true",
|
||||
// "StartPoint": {
|
||||
// "type": "Point",
|
||||
// "coordinates": [ 3.409341600000000, 50.638991900000001 ]
|
||||
// },
|
||||
// "EndPoint": { // if no angle
|
||||
// "type": "Point",
|
||||
// "coordinates": [ 3.411897000000000, 50.638981500000000 ]
|
||||
// }
|
||||
// //"Angle": "317.0" // if no endpoint
|
||||
|
||||
//},
|
||||
|
||||
{
|
||||
"UseCreatedCropfield": false,
|
||||
"file": "", // keep emptpy to use satellite image
|
||||
"inputVariable": "wdvi",
|
||||
"InputLayerName": "wdvi",
|
||||
"outputFileName": "rtest1",
|
||||
"fieldName": "test_satelliteWDVI",
|
||||
"storeSatelliteStatistics": true,
|
||||
"plantingDate": "2020-05-01",
|
||||
"measurementDate": "2020-06-14",
|
||||
"potatoPurposeType": "consumption",
|
||||
"targetYield": 60,
|
||||
"geometryJson": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[ 4.960707146896585, 52.800583669708487 ],
|
||||
[ 4.960645975538824, 52.800470217610922 ],
|
||||
[ 4.962140695752897, 52.799177147194797 ],
|
||||
[ 4.967523821195745, 52.801502400041208 ],
|
||||
[ 4.966336768950911, 52.802543735879809 ],
|
||||
[ 4.961711880764330, 52.801009996856429 ],
|
||||
[ 4.960707146896585, 52.800583669708487 ]
|
||||
]
|
||||
]
|
||||
},
|
||||
|
||||
"GenerateTaskmap": true,
|
||||
"OutputType": "shape", // "shape" or "isoxml" if isoxml also add ddiCode
|
||||
"Precision": "2",
|
||||
"MaximumClasses": "4",
|
||||
"DdiCode": "0006",
|
||||
"CellWidth": "3",
|
||||
"CellHeight": "10",
|
||||
"Centered": "true",
|
||||
"StartPoint": {
|
||||
"type": "Point",
|
||||
"coordinates": [ 4.960707146896585, 52.800583669708487 ]
|
||||
},
|
||||
"EndPoint": { // if no angle
|
||||
"type": "Point",
|
||||
"coordinates": [ 4.961711880764330, 52.801009996856429 ]
|
||||
}
|
||||
//"Angle": "317.0" // if no endpoint
|
||||
}
|
||||
|
||||
{
|
||||
"UseCreatedCropfield": false,
|
||||
"file": "Scan_1_20190605_sample.json",
|
||||
"inputVariable": "irmi",
|
||||
"inputLayerName": "irmi",
|
||||
"outputFileName": "vranbs_sample",
|
||||
"fieldName": "sampleJson_irmi",
|
||||
"storeSatelliteStatistics": true,
|
||||
"plantingDate": "2019-04-18",
|
||||
"measurementDate": "2019-06-05",
|
||||
"potatoPurposeType": "consumption",
|
||||
"targetYield": 45,
|
||||
"geometryJson": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[ 5.63217247936348731, 51.96438066944019596 ],
|
||||
[ 5.6321047379532132, 51.96445630006819982 ],
|
||||
[ 5.63206782435562925, 51.96450152306518078 ],
|
||||
[ 5.63189463337882312, 51.96471369141583807 ],
|
||||
[ 5.63125445938590019, 51.96545230717740793 ],
|
||||
[ 5.63038475519850046, 51.96645153536461237 ],
|
||||
[ 5.6302190722686376, 51.96664178312045124 ],
|
||||
[ 5.63010295472675626, 51.96676711160860407 ],
|
||||
[ 5.63204023224759265, 51.96725135278578023 ],
|
||||
[ 5.63281523134503814, 51.96638856753320823 ],
|
||||
[ 5.63281527471734655, 51.96638851620966904 ],
|
||||
[ 5.63366926331355611, 51.96542171716968284 ],
|
||||
[ 5.63397637358524683, 51.96498159324188748 ],
|
||||
[ 5.6341135965418534, 51.96474743038492505 ],
|
||||
[ 5.63219031197733688, 51.96438405049333653 ],
|
||||
[ 5.63217541872332195, 51.96438123226843686 ],
|
||||
[ 5.63217247936348731, 51.96438066944019596 ]
|
||||
]
|
||||
]
|
||||
},
|
||||
"GenerateTaskmap": false
|
||||
}
|
||||
// "GenerateTaskmap": true,
|
||||
// "OutputType": "shape", // "shape" or "isoxml" if isoxml also add ddiCode
|
||||
// "Precision": "0",
|
||||
// "MaximumClasses": "4",
|
||||
// "DdiCode": "0006",
|
||||
// "CellWidth": "27",
|
||||
// "CellHeight": "10",
|
||||
// "Centered": "false",
|
||||
// "StartPoint": {
|
||||
// "type": "Point",
|
||||
// "coordinates": [ 5.6322, 51.9644 ]
|
||||
// },
|
||||
// "EndPoint": { // if no angle
|
||||
// "type": "Point",
|
||||
// "coordinates": [ 5.6341, 51.9647 ]
|
||||
// }
|
||||
// //"Angle": "317.0" // if no endpoint
|
||||
|
||||
//}
|
||||
]
|
Reference in New Issue
Block a user