You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/industry/agriculture/imagery-partner-integration.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ Data, once available, can be visualized through the FarmBeats Accelerator and po
15
15
16
16
FarmBeats provides the ability to:
17
17
18
-
- Define custom image types, source, and file format by using ExtendedType APIs.
19
-
- Ingest imagery data from various sources via the Scene and SceneFile APIs.
18
+
- Define custom image types, source, and file format by using /ExtendedType APIs.
19
+
- Ingest imagery data from various sources via the /Scene and /SceneFile APIs.
20
20
21
21
The following information focuses on getting any form of imagery into the FarmBeats system.
22
22
@@ -104,7 +104,7 @@ curl -X GET "https://microsoft-farmbeats.azurewebsites.net/Device" -H
104
104
105
105
Most GET, POST, and PUT calls require a JSON request body.
106
106
107
-
The following sample request is to create a device. (This sample has an input JSON with the request body.)
107
+
The following sample request is to create a device. This sample has an input JSON with the request body.
108
108
109
109
110
110
```bash
@@ -121,7 +121,7 @@ JSON is a common language-independent data format that provides a simple text re
121
121
122
122
## Ingest imagery into FarmBeats
123
123
124
-
After the partner has credentials to connect to FarmBeats Datahub, the partner does the following in the Translator component.
124
+
After the partner has credentials to connect to FarmBeats Datahub, the partner takes the following stepsin the Translator component.
125
125
126
126
1. Create a new extended typeforthe following fields,in accordance with the type of imagery to be uploaded:
127
127
@@ -130,21 +130,21 @@ After the partner has credentials to connect to FarmBeats Datahub, the partner d
130
130
- **Scene File Type**: For example, chlorophyll index
131
131
- **Scene File Content Type**: For example, image/tiff
132
132
133
-
2. Call the Farms API to get the list of farms from within the Azure FarmBeats system.
133
+
2. Call the /Farms API to get the list of farms from within the Azure FarmBeats system.
134
134
3. Provide the customer with an ability to choose a single farm from the list of farms.
135
135
136
136
The partner system must show the farm within the partner software to do the path planning and drone flight and image collection.
137
137
138
-
4. Call the Scene API and provide required details to create a new scene with a unique scene ID.
139
-
5. Receive a blob SAS URL to upload the required images into the FarmBeats data hub, in the context of the chosen farm, in the FarmBeats system.
138
+
4. Call the /Scene API and provide required details to create a new scene with a unique scene ID.
139
+
5. Receive a blob SAS URL to upload the required images into FarmBeats Datahub, in the context of the chosen farm, in the FarmBeats system.
140
140
141
141
Here's a detailed flow on the API calls.
142
142
143
143
### Step 1: ExtendedType
144
144
145
-
Check in the ExtendedType API, if the type and file source are available on FarmBeats. To do so, call a GET on the /ExtendedType API.
145
+
Check in the /ExtendedType API to see whether the type and file source are available on FarmBeats. To do so, call a GET on the /ExtendedType API.
146
146
147
-
Following are the system-defined values:
147
+
Here are the system-defined values:
148
148
149
149
```json
150
150
{
@@ -328,7 +328,7 @@ Following are the system-defined values:
328
328
329
329
This step is a one-time setup. The scope of this new scene type is limited to the subscription in which the FarmBeats project is deployed.
330
330
331
-
For example, to add SceneSource: “SlantRange,” you do PUT on the ID of the /ExtendedType with the key "SceneSource" input payload.
331
+
For example, to add SceneSource: “SlantRange,” you do a PUT on the ID of the /ExtendedType API with the key "SceneSource" input payload.
332
332
333
333
```json
334
334
{
@@ -446,7 +446,7 @@ The scene ID returned in step 3 is the input for the scene file. The scene file
446
446
447
447
If the user requires a programmatic way of uploading a stream of images, the blob storage SDK can be used to define a method by using the scene file ID, location, and URL.
448
448
449
-
Example input payload for the POST call on the /Scenefile API:
449
+
Example input payload for the POST call on the /SceneFile API:
Copy file name to clipboardExpand all lines: articles/industry/agriculture/sensor-partner-integration.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: v-umha
11
11
12
12
This article provides information about the Azure FarmBeats Translator component, which enables sensor partner integration.
13
13
14
-
Using this component, partners can develop sensors that integrate with FarmBeats to use the API and send customer device data and telemetry to the FarmBeats data hub. Data is visualized by using the FarmBeats Accelerator. Data can be used for data fusion and for building machine learning/artificial intelligence models.
14
+
Using this component, partners can develop sensors that integrate with FarmBeats to use the API and send customer device data and telemetry to FarmBeats Datahub. Data is visualized by using the FarmBeats Accelerator. Data can be used for data fusion and for building machine learning/artificial intelligence models.
15
15
16
16
## Link a FarmBeats account
17
17
@@ -143,7 +143,7 @@ FarmBeats Datahub has the following APIs that enable device partners to create a
143
143
- /**SensorModel**: SensorModel corresponds to the metadata of the sensor, such as the manufacturer, the type of sensor, which is either analog or digital, and the sensor measure, such as ambient temperature and pressure.
144
144
- /**Sensor**: Sensor corresponds to a physical sensor that records values. A sensor is typically connected to a device with a device ID.
145
145
146
-
**DeviceModel**| DeviceModel corresponds to the metadata of the device, such as the manufacturer and the type of device, which is either gateway or node.
146
+
**DeviceModel** | |
147
147
--- | ---
148
148
Type (node, gateway) | 1 Star |
149
149
Manufacturer | 2 Star |
@@ -152,35 +152,35 @@ FarmBeats Datahub has the following APIs that enable device partners to create a
152
152
Name | Name to identify resource. For example, model name or product name. |
153
153
Description | Provide a meaningful description of the model. |
154
154
Properties | Additional properties from the manufacturer. |
155
-
**Device** | **Device corresponds to a physical device present on the farm. Each device has a unique device ID.** |
155
+
**Device** | |
156
156
DeviceModelId |ID of the associated device model. |
157
157
HardwareId |Unique ID for the device, such as a MAC address. |
158
-
reportingInterval |Reporting interval in seconds. |
158
+
ReportingInterval |Reporting interval in seconds. |
159
159
Location |Device latitude (-90 to +90), longitude (-180 to 180), and elevation (in meters). |
160
160
ParentDeviceId | ID of the parent device to which this device is connected. For example, if a node is connected to a gateway, the node has parentDeviceID as the gateway. |
161
161
Name | Name to identify the resource. Device partners need to send a name that's consistent with the device name on the device partner side. If the device name is user defined on the device partner side, the same user-defined name should be propagated to FarmBeats. |
162
162
Description | Provide a meaningful description. |
163
163
Properties |Additional properties from the manufacturer. |
164
-
**SensorModel** | **SensorModel corresponds to the metadata of the sensor, such as the manufacturer, the type of sensor, which is either analog or digital, and the sensor measure, such as ambient temperature and pressure.** |
164
+
**SensorModel** | |
165
165
Type (analog, digital) |Mention analog or digital sensor.|
166
166
Manufacturer | Name of manufacturer. |
167
167
ProductCode | Product code or model name or number. For example, RS-CO2-N01. |
168
168
SensorMeasures > Name | Name of the sensor measure. Only lowercase is supported. For measurements from different depths, specify the depth. For example, soil_moisture_15cm. This name has to be consistent with the telemetry data. |
169
-
sensorMeasures > DataType | Telemetry data type. Currently, double is supported. |
170
-
sensorMeasures > Type | Measurement type of the sensor telemetry data. Following are the system-defined types: AmbientTemperature, CO2, Depth, ElectricalConductivity, LeafWetness, Length, LiquidLevel, Nitrate, O2, PH, Phosphate, PointInTime, Potassium, Pressure, RainGauge, RelativeHumidity, Salinity, SoilMoisture, SoilTemperature, SolarRadiation, State, TimeDuration, UVRadiation, UVIndex, Volume, WindDirection, WindRun, WindSpeed, Evapotranspiration, PAR. To add more, refer to the /ExtendedType API.
171
-
sensorMeasures > Unit | Unit of sensor telemetry data. Following are the system-defined units: NoUnit, Celsius, Fahrenheit, Kelvin, Rankine, Pascal, Mercury, PSI, MilliMeter, CentiMeter, Meter, Inch, Feet, Mile, KiloMeter, MilesPerHour, MilesPerSecond, KMPerHour, KMPerSecond, MetersPerHour, MetersPerSecond, Degree, WattsPerSquareMeter, KiloWattsPerSquareMeter, MilliWattsPerSquareCentiMeter, MilliJoulesPerSquareCentiMeter, VolumetricWaterContent, Percentage, PartsPerMillion, MicroMol, MicroMolesPerLiter, SiemensPerSquareMeterPerMole, MilliSiemensPerCentiMeter, Centibar, DeciSiemensPerMeter, KiloPascal, VolumetricIonContent, Liter, MilliLiter, Seconds, UnixTimestamp, MicroMolPerMeterSquaredPerSecond, and InchesPerHour. To add more, refer to the /ExtendedType API.
172
-
SensorMeasures > aggregationType | Either none, average, maximum, minimum, or StandardDeviation.
173
-
SensorMeasures > depth | The depth of the sensor in centimeters. For example, the measurement of moisture 10 cm under the ground.
174
-
sensorMeasures > description | Provide a meaningful description of the measurement.
169
+
SensorMeasures > DataType | Telemetry data type. Currently, double is supported. |
170
+
SensorMeasures > Type | Measurement type of the sensor telemetry data. Following are the system-defined types: AmbientTemperature, CO2, Depth, ElectricalConductivity, LeafWetness, Length, LiquidLevel, Nitrate, O2, PH, Phosphate, PointInTime, Potassium, Pressure, RainGauge, RelativeHumidity, Salinity, SoilMoisture, SoilTemperature, SolarRadiation, State, TimeDuration, UVRadiation, UVIndex, Volume, WindDirection, WindRun, WindSpeed, Evapotranspiration, PAR. To add more, refer to the /ExtendedType API.
171
+
SensorMeasures > Unit | Unit of sensor telemetry data. Following are the system-defined units: NoUnit, Celsius, Fahrenheit, Kelvin, Rankine, Pascal, Mercury, PSI, MilliMeter, CentiMeter, Meter, Inch, Feet, Mile, KiloMeter, MilesPerHour, MilesPerSecond, KMPerHour, KMPerSecond, MetersPerHour, MetersPerSecond, Degree, WattsPerSquareMeter, KiloWattsPerSquareMeter, MilliWattsPerSquareCentiMeter, MilliJoulesPerSquareCentiMeter, VolumetricWaterContent, Percentage, PartsPerMillion, MicroMol, MicroMolesPerLiter, SiemensPerSquareMeterPerMole, MilliSiemensPerCentiMeter, Centibar, DeciSiemensPerMeter, KiloPascal, VolumetricIonContent, Liter, MilliLiter, Seconds, UnixTimestamp, MicroMolPerMeterSquaredPerSecond, and InchesPerHour. To add more, refer to the /ExtendedType API.
172
+
SensorMeasures > AggregationType | Either none, average, maximum, minimum, or StandardDeviation.
173
+
SensorMeasures > Depth | The depth of the sensor in centimeters. For example, the measurement of moisture 10 cm under the ground.
174
+
SensorMeasures > Description | Provide a meaningful description of the measurement.
175
175
Name | Name to identify resource. For example, the model name or product name.
176
176
Description | Provide a meaningful description of the model.
177
177
Properties | Additional properties from the manufacturer.
178
-
**Sensor** | **Sensor corresponds to a physical sensor that records values. A sensor is typically connected to a device with a device ID.** |
179
-
hardwareId | Unique ID for the sensor set by the manufacturer.
180
-
sensorModelId | ID of the associated sensor model.
178
+
**Sensor** | |
179
+
HardwareId | Unique ID for the sensor set by the manufacturer.
180
+
SensorModelId | ID of the associated sensor model.
181
181
Location | Sensor latitude (-90 to +90), longitude (-180 to 180), and elevation (in meters).
182
-
port > name |Name and type of the port that the sensor is connected to on the device. This must be the same name as defined in the device model.
183
-
deviceId | ID of the device that the sensor is connected to.
182
+
Port > Name |Name and type of the port that the sensor is connected to on the device. This must be the same name as defined in the device model.
183
+
DeviceId | ID of the device that the sensor is connected to.
184
184
Name | Name to identify the resource. For example, the sensor name or product name and model number or product code.
185
185
Description | Provide a meaningful description.
186
186
Properties | Additional properties from the manufacturer.
0 commit comments