diff --git a/FarmmapsZonering/Data/sentinel2_L2A_B04.tiff b/FarmmapsZonering/Data/sentinel2_L2A_B04.tiff new file mode 100644 index 0000000..a4a5c1e Binary files /dev/null and b/FarmmapsZonering/Data/sentinel2_L2A_B04.tiff differ diff --git a/FarmmapsZonering/Data/sentinel2_L2A_B08.tiff b/FarmmapsZonering/Data/sentinel2_L2A_B08.tiff new file mode 100644 index 0000000..e2d0c89 Binary files /dev/null and b/FarmmapsZonering/Data/sentinel2_L2A_B08.tiff differ diff --git a/FarmmapsZonering/FarmmapsZonering.csproj b/FarmmapsZonering/FarmmapsZonering.csproj index 10ba86c..b9ae3fa 100644 --- a/FarmmapsZonering/FarmmapsZonering.csproj +++ b/FarmmapsZonering/FarmmapsZonering.csproj @@ -24,8 +24,4 @@ - - - - diff --git a/FarmmapsZonering/ZoneringInput.json b/FarmmapsZonering/ZoneringInput.json index a2ebd87..9063113 100644 --- a/FarmmapsZonering/ZoneringInput.json +++ b/FarmmapsZonering/ZoneringInput.json @@ -1,47 +1,93 @@ [ - { - "InputItemOne": "20201106_Sentinel2_L2A_B04.tiff", - "InputItemTwo": "20201106_Sentinel2_L2A_B08.tiff", - "Formula": "([1]-[0])/([1]+[0])", - "CreatedLayerName": "Biomassa", - "CalculatedQuantity": "NDVI", - "CalculatedUnit": "ndviValue", + "InputItemOne": "data_9001.tif", + "InputItemTwo": "data_times_two_4326.tiff", + "Formula": "if [0] >= 1.28 then [1] else 0", + "CreatedLayerName": "Remove", + "CalculatedQuantity": "Nonsense", + "CalculatedUnit": "m&m", - "OutputFileName": "FullField_NDVI", - "CropFieldName": "FullField", - "CreateNewCropfield": false, + "OutputFileName": "NonsenseRemove", + "CropFieldName": "Cropfield VRA Zonering", + "CreateNewCropfield": true, "CropYear": 2020, "geometryJson": { "type": "Polygon", "coordinates": [ [ - [ 4.9593709, 52.8014339 ], - [ 4.9675488, 52.7943149 ], - [ 4.9735195, 52.7968665 ], - [ 4.9667833, 52.8030414 ], - [ 4.9593709, 52.8014339 ] + [ 5.670991253771027, 52.796788997702613 ], + [ 5.671526456638633, 52.797291618546666 ], + [ 5.671275936147413, 52.797422436717852 ], + [ 5.671959173850738, 52.798269302728798 ], + [ 5.670649634919365, 52.798778791408822 ], + [ 5.671503682048522, 52.799591206957416 ], + [ 5.675159003761311, 52.798193567415474 ], + [ 5.673029579585948, 52.796024727480535 ], + [ 5.670991253771027, 52.796788997702613 ] + ] ] } } - //{ - // "File": "Points.json", - // "geometryJson": { - // "type": "Polygon", - // "coordinates": [ - // [ - // [ 5.66886041703652044, 52.52929999060298627 ], - // [ 5.6716230923214912, 52.52946316399909676 ], - // [ 5.67185376229668581, 52.5280565894154563 ], - // [ 5.66903207841337231, 52.52790646510525363 ], - // [ 5.66886041703652044, 52.52929999060298627 ] - // ] - // ] - // } - //} + //{ + // "InputItemOne": "sentinel2_L2A_B04.tiff", + // "InputItemTwo": "sentinel2_L2A_B08.tiff", + // //"InputItemOne": "data_9001.tif", + // //"InputItemTwo": "data_times_two_4326.tiff", + // "Formula": "([1]-[0])/([1]+[0])", + // "CreatedLayerName": "Biomassa", + // "CalculatedQuantity": "NDVI", + // "CalculatedUnit": "ndviValue", + + // "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 ] + // ] + // ] + // } + //} ]