管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-07-18 b66d8f0df13b2f88796d13fd8488c96da2647467
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
  "$id": "https://gdal.org/gdalmdiminfo_output.schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Validate the output of the gdalmdiminfo utility",
 
  "anyOf": [
    { "$ref": "#/definitions/group" },
    { "$ref": "#/definitions/array" }
  ],
 
  "definitions": {
 
    "array": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "type": { "type": "string", "enum": ["array"] },
        "datatype": { "$ref": "#/definitions/datatype" },
        "dimensions": { "$ref": "#/definitions/dimensions" },
        "dimension_size": { "type": "array", "items": { "type": "number" } },
        "block_size": { "type": "array", "items": { "type": "number" } },
        "attributes": { "$ref": "#/definitions/attributes" },
        "srs": { "$ref": "#/definitions/srs" },
        "nodata_value": { "$ref": "#/definitions/value" },
        "scale": { "type": "number"},
        "offset": { "type": "number"},
        "values": { "$ref": "#/definitions/value" },
        "unit": { "type": "string"},
        "structural_info": { "$ref": "#/definitions/structural_info" }
      },
      "additionalProperties": false
    },
 
    "arrays": {
      "type": "object",
      "properties": {},
      "additionalProperties": {
        "$ref": "#/definitions/array"
      }
    },
 
    "attribute": {
        "anyOf": [
            {
                "type": "object",
                "properties": {
                    "name": { "type": "string" },
                    "type": { "type": "string", "enum": ["attribute"] },
                    "datatype": { "$ref": "#/definitions/datatype" },
                    "value": { "$ref": "#/definitions/value" }
                },
                "additionalProperties": false
            },
            {
                 "$ref": "#/definitions/value"
            }
        ]
    },
 
    "attributes": {
      "anyOf": [
        {
            "type": "object",
            "properties": {},
            "additionalProperties": {
                "$ref": "#/definitions/attribute"
            }
        },
        {
            "type": "array",
            "items": { "$ref": "#/definitions/attribute" }
        }
      ]
    },
 
    "compound_datatype": {
        "type": "object",
        "properties":
        {
            "name": { "type": "string" },
            "size": { "type": "integer" },
            "components": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties":
                    {
                        "name": { "type": "string" },
                        "offset": { "type": "integer" },
                        "type": { "$ref": "#/definitions/datatype" }
                    },
                    "additionalProperties": false
                }
            }
        },
        "additionalProperties": false
    },
 
    "datatype": {
        "anyOf": [
            { "type": "string",
              "enum": [ "String",
                        "Byte", "Int16", "UInt16", "Int32", "UInt32",
                        "Float32", "Float64",
                        "CInt16", "CInt32", "CFloat32", "CFloat64" ] },
            { "$ref": "#/definitions/compound_datatype" }
        ]
    },
 
    "dimension": {
      "type": "object",
      "properties":{
        "name": { "type": "string" },
        "full_name": { "type": "string" },
        "size": {"type": "integer"},
        "type": {"type": "string"},
        "direction": {"type": "string"},
        "indexing_variable": {"type": "string"}
      },
      "additionalProperties": false
    },
 
    "dimensions": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "#/definitions/dimension"
          },
          {
            "description": "Full qualified name of a dimension",
            "type": "string"
          }
        ]
      }
    },
 
    "group": {
        "type": "object",
        "properties": {
            "driver": { "type": "string" },
            "name": { "type": "string" },
            "type": { "type": "string", "enum": ["group"] },
            "dimensions": { "$ref": "#/definitions/dimensions" },
            "arrays": { "$ref": "#/definitions/arrays" },
            "attributes": { "$ref": "#/definitions/attributes" },
            "groups": { "$ref": "#/definitions/groups" },
            "structural_info": { "$ref": "#/definitions/structural_info" }
        },
        "additionalProperties": false
    },
 
    "groups": {
      "anyOf": [
        {
            "type": "object",
            "properties": {},
            "additionalProperties": {
                "$ref": "#/definitions/group"
            }
        },
        {
            "type": "array",
            "items": { "$ref": "#/definitions/group" }
        }
      ]
    },
 
    "srs": {
      "type": "object",
      "properties": {
        "wkt": { "type": "string" },
        "data_axis_to_srs_axis_mapping": {
            "type": "array", "items": { "type": "integer"} }
      },
      "additionalProperties": false
    },
 
    "structural_info": {
        "type": "object",
        "properties": {},
        "additionalProperties": {
            "type": "string"
        }
    },
 
    "value": {
      "anyOf": [
            {"type": "string"},
            {"type": "number"},
            {"type": "object"},
            {"type": "array"}
      ]
    }
  }
}