Page History
Table of Contents |
---|
Element Description
The characterizes the grid's X, Y, Time, and Other Dimensions.Grid DimensionScale is the X and Y of a grid square and Time and Other Dimensions are optional sub-elements within the group. It also defines the resolution of the grid.
Best Practices
The specific purpose of this element is to provider the grid user dimensional information. Grid uses dimensional information placing items in rows, columns and other items, making it easier to create complex layoutsdimension scale information to create the gird image. The provider should review the value condition patterns within the GRID Schema to enter the acceptable metadata values needed for DimensionScale element group. If the correct value patterns are not used the schema validation will fail the grid record based on invalid metadata values.
Examples:
"DimensionScale": {
"0_360_DegreeProjection": true,
"X": {
"Minimum": "-360-00-00.000",
"Maximum": "360-00-00.00",
"Unit": "Degrees-Minutes-Seconds",
"Resolution": 0.125
},
"Y": {
"Minimum": "-360-00-00.000",
"Maximum": "360-00-00.00",
"Unit": "Degrees-Minutes-Seconds",
"Resolution": 0.5
},
"Time": {
"Minimum": "2020-01-01T00:00:00.001Z",
"Maximum": "2020-01-30T23:59:59Z",
"Unit": "DateTime",
"Resolution": 0.125
},
"Other": {
"Minimum": 0,
"Maximum": 44,
"Unit": "Meter",
"Resolution": 0.5
}
}
...
Model | Element | Type | Constraints | Required? | Cardinality | Notes | |||
---|---|---|---|---|---|---|---|---|---|
GRID | DimensionScale/0_360_DegreeProjection | boolean | true or false | No | 0..1 | ||||
GRID | DimensionScale/X/Minimum | string | Degrees-Minutes-Seconds: | Yes | 1 | ||||
GRID | DimensionScale/X/Maximum | string | Degrees-Minutes-Seconds: | Yes | 1 | ||||
GRID | DimensionScale/X/Unit | string | Enumerations: "Kilometer","Meter","Degree","Hour","Minutes","Seconds", | Yes | 1 | ||||
GRID | DimensionScale/X/Resolution | number | No limit | Yes | 1 | ||||
GRID | DimensionScale/Y/Minimum | string | Degrees-Minutes-Seconds: | Yes | 1 | ||||
GRID | DimensionScale/Y/Maximum | string | Degrees-Minutes-Seconds: | Yes | 1 | ||||
GRID | DimensionScale/Y/Unit | string | Enumerations: "Kilometer","Meter","Degree","Hour","Minutes","Seconds", | Yes | 1 |
| Yes | 1 | |
GRID | DimensionScale/X/Resolution | number | No limit | Yes | 1 | ||||
GRID | DimensionScale/Time | string | DateTime format: | No | 1 | ||||
GRID | DimensionScale/Other/Minimum | string | Degrees-Minutes-Seconds: | GRID | DimensionScale/Time | string DateTime format: and free text | No | 1 | |
GRID | DimensionScale/Other/Maximum | string | Degrees-Minutes-Seconds: DateTime format: and free text | No | 1 | ||||
GRID | DimensionScale/Other/Unit | string | Enumerations: "Kilometer", "Meter", "Degree", "Hour", "Minutes", "Seconds", "Degrees-Minutes-Seconds", "Date", "Time", "DateTime" | Yes | 1 | ||||
GRID | DimensionScale/Other/Resolution | number | No limit |
Metadata Validation
All records undergo schema and business rule validation before entering the system.
- This element is optional required.
- The x, y, and other elements' DimensionScale subelements' Minimum and Maximum value ranges depends on the 0_360_DegreeProjection element's populated value. If the 0_360_DegreeProjection element is set to "true" than the WestBoundingCoordinate and EastBoundingCoordinate Minimum and Maximum value ranges are set to 0 to 360 and are validated using the JSON Schema 7 If-then-Else else condition "CoordinateCondition" within the GRID schema.
- The DimensionScale sub-elements' Unit must use an enumeration and the values will follow the enumeration unit's value pattern base on the GRID schema's if-then-else conditions.
- The DimensionScale The SpatialResolution elements' value ranges are defined in the GRID schema's condition statements which also is using to validated the grid provider's entries.
...