update zonering testData

This commit is contained in:
jits 2020-12-18 14:03:35 +01:00
parent 79cc135bbd
commit 693c82db2e
4 changed files with 76 additions and 34 deletions

Binary file not shown.

Binary file not shown.

View File

@ -24,8 +24,4 @@
<ProjectReference Include="..\FarmmapsApi\FarmmapsApi.csproj" /> <ProjectReference Include="..\FarmmapsApi\FarmmapsApi.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Data" />
</ItemGroup>
</Project> </Project>

View File

@ -1,47 +1,93 @@
[ [
{ {
"InputItemOne": "20201106_Sentinel2_L2A_B04.tiff", "InputItemOne": "data_9001.tif",
"InputItemTwo": "20201106_Sentinel2_L2A_B08.tiff", "InputItemTwo": "data_times_two_4326.tiff",
"Formula": "([1]-[0])/([1]+[0])", "Formula": "if [0] >= 1.28 then [1] else 0",
"CreatedLayerName": "Biomassa", "CreatedLayerName": "Remove",
"CalculatedQuantity": "NDVI", "CalculatedQuantity": "Nonsense",
"CalculatedUnit": "ndviValue", "CalculatedUnit": "m&m",
"OutputFileName": "FullField_NDVI", "OutputFileName": "NonsenseRemove",
"CropFieldName": "FullField", "CropFieldName": "Cropfield VRA Zonering",
"CreateNewCropfield": false, "CreateNewCropfield": true,
"CropYear": 2020, "CropYear": 2020,
"geometryJson": { "geometryJson": {
"type": "Polygon", "type": "Polygon",
"coordinates": [ "coordinates": [
[ [
[ 4.9593709, 52.8014339 ], [ 5.670991253771027, 52.796788997702613 ],
[ 4.9675488, 52.7943149 ], [ 5.671526456638633, 52.797291618546666 ],
[ 4.9735195, 52.7968665 ], [ 5.671275936147413, 52.797422436717852 ],
[ 4.9667833, 52.8030414 ], [ 5.671959173850738, 52.798269302728798 ],
[ 4.9593709, 52.8014339 ] [ 5.670649634919365, 52.798778791408822 ],
[ 5.671503682048522, 52.799591206957416 ],
[ 5.675159003761311, 52.798193567415474 ],
[ 5.673029579585948, 52.796024727480535 ],
[ 5.670991253771027, 52.796788997702613 ]
] ]
] ]
} }
} }
//{ //{
// "File": "Points.json", // "InputItemOne": "sentinel2_L2A_B04.tiff",
// "geometryJson": { // "InputItemTwo": "sentinel2_L2A_B08.tiff",
// "type": "Polygon", // //"InputItemOne": "data_9001.tif",
// "coordinates": [ // //"InputItemTwo": "data_times_two_4326.tiff",
// [ // "Formula": "([1]-[0])/([1]+[0])",
// [ 5.66886041703652044, 52.52929999060298627 ], // "CreatedLayerName": "Biomassa",
// [ 5.6716230923214912, 52.52946316399909676 ], // "CalculatedQuantity": "NDVI",
// [ 5.67185376229668581, 52.5280565894154563 ], // "CalculatedUnit": "ndviValue",
// [ 5.66903207841337231, 52.52790646510525363 ],
// [ 5.66886041703652044, 52.52929999060298627 ] // "OutputFileName": "FullField_NDVI",
// ] // "CropFieldName": "FullField",
// ] // "CreateNewCropfield": true,
// } // "CropYear": 2020,
//} // "geometryJson": {
// "type": "Polygon",
// "coordinates": [
// [
// [ 4.958640119816389, 52.80350324727047 ],
// [ 4.958730764622494, 52.793849575420225 ],
// [ 4.974049736854337, 52.793804253017171 ],
// [ 4.973959092048232, 52.803457924867416 ],
// [ 4.958640119816389, 52.80350324727047 ]
// ]
// ]
// }
//},
//{
// "InputItemOne": "Points.json",
// "Formula": "[0]*100",
// "CreatedLayerName": "PointsX100",
// "CalculatedQuantity": "NDVI",
// "CalculatedUnit": "PointsX100",
// "OutputFileName": "PointsX100",
// "CropFieldName": "PointsField",
// "CreateNewCropfield": true,
// "CropYear": 2020,
// "geometryjson": {
// "type": "polygon",
// "coordinates": [
// [
// [ 5.66886041703652044, 52.52929999060298627 ],
// [ 5.6716230923214912, 52.52946316399909676 ],
// [ 5.67185376229668581, 52.5280565894154563 ],
// [ 5.66903207841337231, 52.52790646510525363 ],
// [ 5.66886041703652044, 52.52929999060298627 ]
// ]
// ]
// }
//}
] ]