ADAPT - Prescription Discussion
Note: Plugins would need to publish limitations on name, width, height, row count, column count, etc.
20151001: Removed WorkItemOperationID, reversing the direction of the relationship between Prescription and WorkItemOperation.
Prescription
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Id | CompoundIdentifier | 1 | Unique identifier |
Description | String | 1 | User-defined name of the prescription. |
OperationType
| OperationTypeEnum
| 1 | Type of Prescription: Missing. Crop Protection, Tillage, etc If we're needing to make these as standalone as possible, we will likely need to add a DDI somewhere.. 201509 |
FieldId | Integer | 1 | A reference to the Field object for which this prescription is valid. The Field object must exist in the list of Fields on the Catalog object. |
CropZoneId | Integer | 0..1 | A reference to a CropZone object which this prescription covers. The CropZone object must exist in the list of CropZones on the Catalog. |
RxLookupIds | Integer | 0..* | Prescriptions can have multiple Products. Important for a variety of needs. 20150925: Listing them here is somewhat redundant, albeit useful. |
RxProductLookups | RxProductLookup | 0..* |
|
ProductIds | Integer | 0..* |
|
ContextItems | ContextItem | 0..* |
|
TimeScopes | TimeScope | 0..* |
|
PersonRoles | PersonRole | 0..* |
|
RxProductLookup
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Id | CompoundIdentifier | 1 | Unique identifier |
ProductId | Integer | 0..1 | Identifies the participating product to be described. Note that it is optional in order to accommodate systems that do not treat tillage like a product with its own ID. |
Representation | NumericRepresentation | 1 | How are we going to express the quantity of product involved? |
UnitOfMeasure
| UnitOfMeasure
| 1 | Specific unit of measure used. Please note that the representation itself only specifies the dimension (e.g., mass per unit area), NOT the UoM! |
SpatialPrescription (sub-class of Prescription)
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
BoundingBox | BoundingBox | 1 | The spatial extent of the prescription. |
OutOfFieldRate | NumericRepresentationValue | 0..1 | A default application or seeding rate to be used when the machine travels outside of the field. |
LossOfGPSRate | NumericRepresentationValue | 0..1 | A default application or seeding rate to be used when the machine loses its GPS signal and can no longer tell which zone it is working in. |
RasterGridPrescription (Child class of SpatialPrescription)
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Origin | Point | 1 | GridMinimumNorthPosition, GridMinimumEastPosition |
RowCount | Integer | 1 | GridMaximumRow |
ColumnCount | Integer | 1 | GridMaximumColumn |
CellWidth | NumericRepresentationValue | 1 | GridCellEastSize (in WGS84 degrees) |
CellHeight | NumericRepresentationValue | 1 | GridCellNorthSize (in WGS84 degrees) |
Rates | RxRates[,] | 1 | Should have (RowCount * ColumnCount) number of values. Note 1: this notation is [row,column] Note 2: Each cell can have multiple rates for each product. |
Rates | RxCellLookup | 1..* |
|
VectorPrescription (Child class of SpatialPrescription)
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
RxShapeLookups | RxShapeLookup | 1..* | Defines a list of shapes, each with 1 or more products/rates associated with it. |
RxShapeLookup
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Shape | MultiPolygon | 1 |
|
Rates | RxRates | 1 | Changed from an array of RxRate for consistency with use of RxRates in RasterGridPrescription. |
Rates | RxRate | 1..* |
|
RxRates
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Rates | RxRate | 1..* |
|
RxRate
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Rate | Double | 1 | Note that it is not necessary to use a NumericRepresentationValue here, because the unit of measure info is provided by the RxProduct objects. |
RxProductLookupId | Integer | 1 |
|
ManualPrescription (Child class of Prescription)
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
ProductUses | ProductUse | 1..* |
|
TotalArea | NumericRepresentationValue | 0..1 | Relevant in a rate-mediated manual prescription. Not needed in a totals-mediated prescription. |
TankAmount | NumericRepresentationValue | 0..1 | Relevant in a tank-mediated manual prescription. |
TotalTanks | Double | 0..1 | Relevant in a tank-mediated manual prescription. Allows rounding out the mass balance of the application. |
ApplicationStrategy | ApplicationStrategyEnum | 0..1 |
|
ApplicationStrategyEnum
Enumeration Literal | Description |
|---|---|
RatePerArea |
|
RatePerTank |
|
TotalProduct |
|
ProductUse
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
ProductId | Integer | 1 |
|
Rate | NumericRepresentationValue | 0..1 | This is optional to accommodate prescriptions that are specified by total product / tank. |
AppliedArea | NumericRepresentationValue | 0..1 |
|
ProductTotal | NumericRepresentationValue | 0..1 |
|
BoundingBox
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
MinX | NumericRepresentationValue | 1 | The smallest X value (expected to be longitude) which bounds a spatial region. |
MinY | NumericRepresentationValue | 1 | The smallest Y value (expected to be latitude) which bounds a spatial region. |
MaxX | NumericRepresentationValue | 1 | The largest X value (expected to be longitude) which bounds a spatial region. |
MaxY | NumericRepresentationValue | 1 | The largest Y value (expected to be latitude) which bounds a spatial region. |
RadialExtent
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
StartAngle | NumericRepresentationValue | 0..1 |
|
EndAngle | NumericRepresentationValue | 0..1 |
|
SectionId | Integer | 0..1 |
|
InnerRadius | NumericRepresentationValue | 0..1 |
|
OuterRadius | NumericRepresentationValue | 0..1 |
|
RotCtr | Point | 0..1 |
|
RadialLookupCollection
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
RadialLookups | RxRadialLookup | 1..* |
|
StartAngle | NumericRepresentationValue | 1 |
|
EndAngle | NumericRepresentationValue | 1 |
|
RotCtr | Point | 0..1 |
|
ShapeLookups | RxShapeLookup | 0..* |
|
RadialPrescription
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
RadialLookupCollections | RadialLookupCollection | 1..* |
|
RxCellLookup
Attribute |
|---|