adewg / ICAR

Standard messages and specifications for animal data exchange in livestock.
https://icar.org/
Apache License 2.0
47 stars 26 forks source link

Define position observations #430

Closed cookeac closed 4 months ago

cookeac commented 10 months ago

Define position observation events (group and animal) that allow you to record that an animal (or group/mob) was seen (observed) at a given named position or geospatial location.

Resolves #383

Note: #383 talked about these as "location" events originally, but this could cause confusion with Location = Farm/Holding. In this context we mean a barn, pen, field, paddock, or other named area, or a geospatial location (a polygon or a point such as a lat/long position).

Note: This PR references the GeoJSON geometry object defined at https://geojson.org/schema/Geometry.json This currently causes an OAS3 parsing error, because the GeoJSON schema uses the $schema and #id keywords that are not supported in OpenAPI 3.0. They will be supported when we upgrade to OpenAPI 3.1 and the error should disappear.

cookeac commented 4 months ago

Updated position observations to support the site ID from sorting sites. See also #456.