PanTiltZoom
November 2, 2023 · View on GitHub
PanTiltZoom
Version: 0.0.1
Description
Smart Data Models Program adaptation of the original IoTData data Models. This Resource specifies the pan tilt and zoom capabilities of a device. The Resource Type is dynamic and reflects whether the values apply to physical movement of the device or digital/virtual enhancements to the image. For physical movement the Resource Type is 'oic.r.movement.ptz'. For digital/virtual image enhancements the Resource Type is 'oic.r.image.ptz'. The Properties 'pan' and 'tilt' are specified in degrees. The Property 'zoomFactor' is a value in the range 1-100 for linear (optical) zoom. The zoom factor is a value in the range [1x, 2x, 4x, 8x, 16x, 32x] for digital zoom. If there is no zoom value to set the zoom factor shall be '1x'. The value 0 degrees means neutral, this is a vendor defined setting. Note that this resource also can be used to create an offset for physical movement. When that is the case, the Resource Type value is: 'oic.r.movement.offset.ptz' Note that this resource also can be used to create an offset for image movement. When that is the case, the Resource Type value is: 'oic.r.image.offset.ptz'. When the Property 'pan_range' value is omitted, then the range is [-180.0,180.0]. If 'pan' is not supported then the range shall be [0.0,0.0] When the Property 'tilt_range' value is omitted, then the range is [-180.0,180.0]. If 'tilt' is not supported then the range shall be [0.0,0.0].
This data model comes from the original Open Connectivity Foundation repository. It has been extended to comply with NGSI requirements.
Specification
Link to the interactive specification
Link to the specification
Enlace a la Especificación en español
Lien vers le spécification en français
Link zur deutschen Spezifikation
Link alla specifica
Examples
Link to the example (keyvalues) for NGSI v2
Link to the example (keyvalues) for NGSI-LD
Link to the example (normalized) for NGSI-V2
Link to the example (normalized) for NGSI-LD
Dynamic Examples generation
Link to the Generator of NGSI-LD normalized payloads compliant with this data model. Refresh for new values
Link to the Generator of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values
Link to the Generator of geojson feature format payloads compliant with this data model. Refresh for new values
PostgreSQL schema
Link to the PostgreSQL schema of this data model
Contribution
If you have any issue on this data model you can raise an issue or contribute with a PR
If you wish to develop your own data model you can start from contribution manual. Several services have been developed to help with:
- Test data model repository including the schema and example payloads, etc
- Generate PostgreSQL schema to help create a table, create type, etc
