pyogrio 0.10.0__cp313-cp313-manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyogrio might be problematic. Click here for more details.
- pyogrio/__init__.py +55 -0
- pyogrio/_compat.py +47 -0
- pyogrio/_env.py +59 -0
- pyogrio/_err.cpython-313-aarch64-linux-gnu.so +0 -0
- pyogrio/_geometry.cpython-313-aarch64-linux-gnu.so +0 -0
- pyogrio/_io.cpython-313-aarch64-linux-gnu.so +0 -0
- pyogrio/_ogr.cpython-313-aarch64-linux-gnu.so +0 -0
- pyogrio/_version.py +21 -0
- pyogrio/_vsi.cpython-313-aarch64-linux-gnu.so +0 -0
- pyogrio/core.py +386 -0
- pyogrio/errors.py +25 -0
- pyogrio/gdal_data/GDAL-targets-release.cmake +19 -0
- pyogrio/gdal_data/GDAL-targets.cmake +105 -0
- pyogrio/gdal_data/GDALConfig.cmake +24 -0
- pyogrio/gdal_data/GDALConfigVersion.cmake +85 -0
- pyogrio/gdal_data/GDALLogoBW.svg +138 -0
- pyogrio/gdal_data/GDALLogoColor.svg +126 -0
- pyogrio/gdal_data/GDALLogoGS.svg +126 -0
- pyogrio/gdal_data/LICENSE.TXT +467 -0
- pyogrio/gdal_data/MM_m_idofic.csv +321 -0
- pyogrio/gdal_data/copyright +467 -0
- pyogrio/gdal_data/cubewerx_extra.wkt +48 -0
- pyogrio/gdal_data/default.rsc +0 -0
- pyogrio/gdal_data/ecw_cs.wkt +1453 -0
- pyogrio/gdal_data/eedaconf.json +23 -0
- pyogrio/gdal_data/epsg.wkt +1 -0
- pyogrio/gdal_data/esri_StatePlane_extra.wkt +631 -0
- pyogrio/gdal_data/gdalicon.png +0 -0
- pyogrio/gdal_data/gdalinfo_output.schema.json +346 -0
- pyogrio/gdal_data/gdalmdiminfo_output.schema.json +321 -0
- pyogrio/gdal_data/gdaltileindex.xsd +269 -0
- pyogrio/gdal_data/gdalvrt.xsd +880 -0
- pyogrio/gdal_data/gfs.xsd +246 -0
- pyogrio/gdal_data/gml_registry.xml +117 -0
- pyogrio/gdal_data/gml_registry.xsd +66 -0
- pyogrio/gdal_data/grib2_center.csv +251 -0
- pyogrio/gdal_data/grib2_process.csv +102 -0
- pyogrio/gdal_data/grib2_subcenter.csv +63 -0
- pyogrio/gdal_data/grib2_table_4_2_0_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_13.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_14.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_15.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_16.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_17.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_0_18.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_19.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_190.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_191.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_20.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_21.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_7.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_191.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_2.csv +28 -0
- pyogrio/gdal_data/grib2_table_4_2_3_3.csv +8 -0
- pyogrio/gdal_data/grib2_table_4_2_3_4.csv +14 -0
- pyogrio/gdal_data/grib2_table_4_2_3_5.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_3_6.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_4_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_10.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_7.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_8.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_9.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv +5 -0
- pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv +2 -0
- pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv +175 -0
- pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv +401 -0
- pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv +38 -0
- pyogrio/gdal_data/grib2_table_4_2_local_index.csv +7 -0
- pyogrio/gdal_data/grib2_table_4_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_versions.csv +3 -0
- pyogrio/gdal_data/gt_datum.csv +229 -0
- pyogrio/gdal_data/gt_ellips.csv +24 -0
- pyogrio/gdal_data/header.dxf +1124 -0
- pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs +57 -0
- pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs +60 -0
- pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs +81 -0
- pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs +161 -0
- pyogrio/gdal_data/jpfgdgml_AdmArea.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_AdmPt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_BldA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_BldL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_Cntr.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_CommBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_CommPt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_Cstline.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_ElevPt.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_GCP.gfs +94 -0
- pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_RailCL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_RdASL.gfs +44 -0
- pyogrio/gdal_data/jpfgdgml_RdArea.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_RdCompt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RdEdg.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_SBAPt.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_SBArea.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_SBBdry.gfs +44 -0
- pyogrio/gdal_data/jpfgdgml_WA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WStrA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WStrL.gfs +54 -0
- pyogrio/gdal_data/nitf_spec.xml +3306 -0
- pyogrio/gdal_data/nitf_spec.xsd +189 -0
- pyogrio/gdal_data/ogrinfo_output.schema.json +528 -0
- pyogrio/gdal_data/ogrvrt.xsd +546 -0
- pyogrio/gdal_data/osmconf.ini +132 -0
- pyogrio/gdal_data/ozi_datum.csv +131 -0
- pyogrio/gdal_data/ozi_ellips.csv +35 -0
- pyogrio/gdal_data/pci_datum.txt +530 -0
- pyogrio/gdal_data/pci_ellips.txt +129 -0
- pyogrio/gdal_data/pdfcomposition.xsd +721 -0
- pyogrio/gdal_data/pds4_template.xml +65 -0
- pyogrio/gdal_data/plscenesconf.json +1985 -0
- pyogrio/gdal_data/ruian_vf_ob_v1.gfs +1455 -0
- pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs +86 -0
- pyogrio/gdal_data/ruian_vf_st_v1.gfs +1489 -0
- pyogrio/gdal_data/ruian_vf_v1.gfs +2126 -0
- pyogrio/gdal_data/s57agencies.csv +249 -0
- pyogrio/gdal_data/s57attributes.csv +484 -0
- pyogrio/gdal_data/s57expectedinput.csv +1008 -0
- pyogrio/gdal_data/s57objectclasses.csv +287 -0
- pyogrio/gdal_data/seed_2d.dgn +0 -0
- pyogrio/gdal_data/seed_3d.dgn +0 -0
- pyogrio/gdal_data/stateplane.csv +259 -0
- pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json +190 -0
- pyogrio/gdal_data/tms_MapML_APSTILE.json +268 -0
- pyogrio/gdal_data/tms_MapML_CBMTILE.json +346 -0
- pyogrio/gdal_data/tms_NZTM2000.json +243 -0
- pyogrio/gdal_data/trailer.dxf +434 -0
- pyogrio/gdal_data/usage +4 -0
- pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake +23 -0
- pyogrio/gdal_data/vcpkg.spdx.json +264 -0
- pyogrio/gdal_data/vcpkg_abi_info.txt +41 -0
- pyogrio/gdal_data/vdv452.xml +367 -0
- pyogrio/gdal_data/vdv452.xsd +63 -0
- pyogrio/gdal_data/vicar.json +164 -0
- pyogrio/geopandas.py +683 -0
- pyogrio/proj_data/CH +22 -0
- pyogrio/proj_data/GL27 +23 -0
- pyogrio/proj_data/ITRF2000 +24 -0
- pyogrio/proj_data/ITRF2008 +94 -0
- pyogrio/proj_data/ITRF2014 +55 -0
- pyogrio/proj_data/copyright +34 -0
- pyogrio/proj_data/deformation_model.schema.json +582 -0
- pyogrio/proj_data/nad.lst +142 -0
- pyogrio/proj_data/nad27 +810 -0
- pyogrio/proj_data/nad83 +745 -0
- pyogrio/proj_data/other.extra +53 -0
- pyogrio/proj_data/proj-config-version.cmake +44 -0
- pyogrio/proj_data/proj-config.cmake +79 -0
- pyogrio/proj_data/proj-targets-release.cmake +19 -0
- pyogrio/proj_data/proj-targets.cmake +107 -0
- pyogrio/proj_data/proj.db +0 -0
- pyogrio/proj_data/proj.ini +51 -0
- pyogrio/proj_data/proj4-targets-release.cmake +19 -0
- pyogrio/proj_data/proj4-targets.cmake +107 -0
- pyogrio/proj_data/projjson.schema.json +1174 -0
- pyogrio/proj_data/triangulation.schema.json +214 -0
- pyogrio/proj_data/usage +4 -0
- pyogrio/proj_data/vcpkg.spdx.json +198 -0
- pyogrio/proj_data/vcpkg_abi_info.txt +27 -0
- pyogrio/proj_data/world +214 -0
- pyogrio/raw.py +887 -0
- pyogrio/tests/__init__.py +0 -0
- pyogrio/tests/conftest.py +398 -0
- pyogrio/tests/fixtures/README.md +108 -0
- pyogrio/tests/fixtures/curve.gpkg +0 -0
- pyogrio/tests/fixtures/curvepolygon.gpkg +0 -0
- pyogrio/tests/fixtures/line_zm.gpkg +0 -0
- pyogrio/tests/fixtures/multisurface.gpkg +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg +1 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj +1 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx +0 -0
- pyogrio/tests/fixtures/sample.osm.pbf +0 -0
- pyogrio/tests/fixtures/test_gpkg_nulls.gpkg +0 -0
- pyogrio/tests/test_arrow.py +1195 -0
- pyogrio/tests/test_core.py +678 -0
- pyogrio/tests/test_geopandas_io.py +2314 -0
- pyogrio/tests/test_path.py +364 -0
- pyogrio/tests/test_raw_io.py +1515 -0
- pyogrio/tests/test_util.py +56 -0
- pyogrio/util.py +247 -0
- pyogrio-0.10.0.dist-info/LICENSE +21 -0
- pyogrio-0.10.0.dist-info/METADATA +129 -0
- pyogrio-0.10.0.dist-info/RECORD +223 -0
- pyogrio-0.10.0.dist-info/WHEEL +5 -0
- pyogrio-0.10.0.dist-info/top_level.txt +1 -0
- pyogrio.libs/libgdal-b0847c7b.so.35.3.9.1 +0 -0
|
Binary file
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"description": "Schema for gdalinfo -json output",
|
|
4
|
+
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "#/definitions/dataset"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
|
|
11
|
+
"definitions": {
|
|
12
|
+
|
|
13
|
+
"arrayOfTwoIntegers": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"minItems": 2,
|
|
18
|
+
"maxItems": 2
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
"arrayOfTwoNumbers": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "number",
|
|
26
|
+
"minItems": 2,
|
|
27
|
+
"maxItems": 2
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
"band": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"band": {
|
|
35
|
+
"type": "integer"
|
|
36
|
+
},
|
|
37
|
+
"block": {
|
|
38
|
+
"$ref": "#/definitions/arrayOfTwoIntegers"
|
|
39
|
+
},
|
|
40
|
+
"checksum": {
|
|
41
|
+
"type": "integer"
|
|
42
|
+
},
|
|
43
|
+
"colorInterpretation": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"type": {
|
|
47
|
+
"enum": [
|
|
48
|
+
"Byte",
|
|
49
|
+
"Int8",
|
|
50
|
+
"UInt16",
|
|
51
|
+
"Int16",
|
|
52
|
+
"UInt32",
|
|
53
|
+
"Int32",
|
|
54
|
+
"UInt64",
|
|
55
|
+
"Int32",
|
|
56
|
+
"Float32",
|
|
57
|
+
"Float64",
|
|
58
|
+
"CInt16",
|
|
59
|
+
"CInt32",
|
|
60
|
+
"CFloat32",
|
|
61
|
+
"CFloat64"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"histogram": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"buckets": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "integer"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"count": {
|
|
74
|
+
"type": "integer"
|
|
75
|
+
},
|
|
76
|
+
"min": {
|
|
77
|
+
"type": "number"
|
|
78
|
+
},
|
|
79
|
+
"max": {
|
|
80
|
+
"type": "number"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"min": {
|
|
85
|
+
"type": "number"
|
|
86
|
+
},
|
|
87
|
+
"max": {
|
|
88
|
+
"type": "number"
|
|
89
|
+
},
|
|
90
|
+
"computedMin": {
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
"computedMax": {
|
|
94
|
+
"type": "number"
|
|
95
|
+
},
|
|
96
|
+
"minimum": {
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
"maximum": {
|
|
100
|
+
"type": "number"
|
|
101
|
+
},
|
|
102
|
+
"mean": {
|
|
103
|
+
"type": "number"
|
|
104
|
+
},
|
|
105
|
+
"stdDev": {
|
|
106
|
+
"type": "number"
|
|
107
|
+
},
|
|
108
|
+
"overviews": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"size": {
|
|
114
|
+
"$ref": "#/definitions/arrayOfTwoIntegers"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"metadata": {
|
|
120
|
+
"$ref": "#/definitions/metadata"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"band",
|
|
125
|
+
"block",
|
|
126
|
+
"type"
|
|
127
|
+
],
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
"cornerCoordinates": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"upperLeft": {
|
|
135
|
+
"$ref": "#/definitions/arrayOfTwoNumbers"
|
|
136
|
+
},
|
|
137
|
+
"lowerLeft": {
|
|
138
|
+
"$ref": "#/definitions/arrayOfTwoNumbers"
|
|
139
|
+
},
|
|
140
|
+
"lowerRight": {
|
|
141
|
+
"$ref": "#/definitions/arrayOfTwoNumbers"
|
|
142
|
+
},
|
|
143
|
+
"upperRight": {
|
|
144
|
+
"$ref": "#/definitions/arrayOfTwoNumbers"
|
|
145
|
+
},
|
|
146
|
+
"center": {
|
|
147
|
+
"$ref": "#/definitions/arrayOfTwoNumbers"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": [
|
|
151
|
+
"upperLeft",
|
|
152
|
+
"lowerLeft",
|
|
153
|
+
"lowerRight",
|
|
154
|
+
"upperRight",
|
|
155
|
+
"center"
|
|
156
|
+
],
|
|
157
|
+
"additionalProperties": false
|
|
158
|
+
},
|
|
159
|
+
|
|
160
|
+
"dataset": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"description": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"driverShortName": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"driverLongName": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"files": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"size": {
|
|
179
|
+
"$comment": "note that the order of items in side is width,height",
|
|
180
|
+
"$ref": "#/definitions/arrayOfTwoIntegers"
|
|
181
|
+
},
|
|
182
|
+
"coordinateSystem": {
|
|
183
|
+
"$ref": "#/definitions/coordinateSystem"
|
|
184
|
+
},
|
|
185
|
+
"geoTransform": {
|
|
186
|
+
"type": "array",
|
|
187
|
+
"items": {
|
|
188
|
+
"type": "number",
|
|
189
|
+
"minItems": 6,
|
|
190
|
+
"maxItems": 6
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"cornerCoordinates": {
|
|
194
|
+
"$ref": "#/definitions/cornerCoordinates"
|
|
195
|
+
},
|
|
196
|
+
"wgs84Extent": {
|
|
197
|
+
"$ref": "https://geojson.org/schema/Geometry.json"
|
|
198
|
+
},
|
|
199
|
+
"bands": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"$ref": "#/definitions/band"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"stac": {
|
|
206
|
+
"$ref": "#/definitions/stac"
|
|
207
|
+
},
|
|
208
|
+
"metadata": {
|
|
209
|
+
"$ref": "#/definitions/metadata"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"required": [
|
|
213
|
+
"size",
|
|
214
|
+
"bands"
|
|
215
|
+
],
|
|
216
|
+
"additionalProperties": false
|
|
217
|
+
},
|
|
218
|
+
|
|
219
|
+
"metadata": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"$comment": "Object whose keys are metadata domain names. The empty string is a valid metadata domain name, and is used for the default domain.",
|
|
222
|
+
"patternProperties": {
|
|
223
|
+
"^.*$": {
|
|
224
|
+
"$ref": "#/definitions/metadataDomain"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
|
|
229
|
+
"metadataDomain": {
|
|
230
|
+
"$comment": " The values of a metadadomain are key: string pairs, or arbitrary JSON objects for metadata domain names starting with the \"json:\" prefix.",
|
|
231
|
+
"any": [
|
|
232
|
+
{
|
|
233
|
+
"type": "object"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "#/definitions/keyValueDict"
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
|
|
241
|
+
"coordinateSystem": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"wkt": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"proj4": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"projjson": {
|
|
251
|
+
"$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
|
|
252
|
+
},
|
|
253
|
+
"dataAxisToSRSAxisMapping": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"items": {
|
|
256
|
+
"type": "number",
|
|
257
|
+
"minItems": 2,
|
|
258
|
+
"maxItems": 3
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"coordinateEpoch": {
|
|
262
|
+
"type": "number"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"required": [
|
|
266
|
+
"wkt",
|
|
267
|
+
"dataAxisToSRSAxisMapping"
|
|
268
|
+
],
|
|
269
|
+
"additionalProperties": false
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
"keyValueDict": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"patternProperties": {
|
|
275
|
+
"^.*$": {}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
|
|
279
|
+
"stac": {
|
|
280
|
+
"$comment": "Derived from https://raw.githubusercontent.com/stac-extensions/projection/main/json-schema/schema.json#/definitions/fields, https://raw.githubusercontent.com/stac-extensions/eo/main/json-schema/schema.json#/definitions/bands and https://raw.githubusercontent.com/stac-extensions/eo/main/json-schema/schema.json#/definitions/bands",
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"proj:epsg": {
|
|
284
|
+
"title": "EPSG code",
|
|
285
|
+
"type": [
|
|
286
|
+
"integer",
|
|
287
|
+
"null"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"proj:wkt2": {
|
|
291
|
+
"title": "Coordinate Reference System in WKT2 format",
|
|
292
|
+
"type": [
|
|
293
|
+
"string",
|
|
294
|
+
"null"
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
"proj:projjson": {
|
|
298
|
+
"title": "Coordinate Reference System in PROJJSON format",
|
|
299
|
+
"oneOf": [
|
|
300
|
+
{
|
|
301
|
+
"$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "null"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
|
|
309
|
+
"proj:shape": {
|
|
310
|
+
"$comment": "note that the order of items in proj:shape is height,width starting with GDAL 3.8.5 (previous versions ordered it wrongly as width,height)",
|
|
311
|
+
"title": "Shape",
|
|
312
|
+
"type": "array",
|
|
313
|
+
"minItems": 2,
|
|
314
|
+
"maxItems": 2,
|
|
315
|
+
"items": {
|
|
316
|
+
"type": "integer"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"proj:transform": {
|
|
320
|
+
"title": "Transform",
|
|
321
|
+
"type": "array",
|
|
322
|
+
"oneOf": [
|
|
323
|
+
{
|
|
324
|
+
"minItems": 6,
|
|
325
|
+
"maxItems": 6
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"minItems": 9,
|
|
329
|
+
"maxItems": 9
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"items": {
|
|
333
|
+
"type": "number"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"eo:bands": {
|
|
337
|
+
"$ref": "https://raw.githubusercontent.com/stac-extensions/eo/main/json-schema/schema.json#/definitions/bands"
|
|
338
|
+
},
|
|
339
|
+
"raster:bands": {
|
|
340
|
+
"$ref": "https://raw.githubusercontent.com/stac-extensions/eo/main/json-schema/schema.json#/definitions/bands"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"additionalProperties": false
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://gdal.org/gdalmdiminfo_output.schema.json",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"description": "Validate the output of the gdalmdiminfo utility",
|
|
5
|
+
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "#/definitions/group"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"$ref": "#/definitions/array"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
|
|
15
|
+
"definitions": {
|
|
16
|
+
|
|
17
|
+
"array": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"type": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"array"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"datatype": {
|
|
30
|
+
"$ref": "#/definitions/datatype"
|
|
31
|
+
},
|
|
32
|
+
"dimensions": {
|
|
33
|
+
"$ref": "#/definitions/dimensions"
|
|
34
|
+
},
|
|
35
|
+
"dimension_size": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "number"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"block_size": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "number"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"attributes": {
|
|
48
|
+
"$ref": "#/definitions/attributes"
|
|
49
|
+
},
|
|
50
|
+
"srs": {
|
|
51
|
+
"$ref": "#/definitions/srs"
|
|
52
|
+
},
|
|
53
|
+
"nodata_value": {
|
|
54
|
+
"$ref": "#/definitions/value"
|
|
55
|
+
},
|
|
56
|
+
"scale": {
|
|
57
|
+
"type": "number"
|
|
58
|
+
},
|
|
59
|
+
"offset": {
|
|
60
|
+
"type": "number"
|
|
61
|
+
},
|
|
62
|
+
"values": {
|
|
63
|
+
"$ref": "#/definitions/value"
|
|
64
|
+
},
|
|
65
|
+
"unit": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"structural_info": {
|
|
69
|
+
"$ref": "#/definitions/structural_info"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
"arrays": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {},
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"$ref": "#/definitions/array"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
"attribute": {
|
|
84
|
+
"anyOf": [
|
|
85
|
+
{
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"name": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"type": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"attribute"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"datatype": {
|
|
98
|
+
"$ref": "#/definitions/datatype"
|
|
99
|
+
},
|
|
100
|
+
"value": {
|
|
101
|
+
"$ref": "#/definitions/value"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"additionalProperties": false
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"$ref": "#/definitions/value"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
"attributes": {
|
|
113
|
+
"anyOf": [
|
|
114
|
+
{
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {},
|
|
117
|
+
"additionalProperties": {
|
|
118
|
+
"$ref": "#/definitions/attribute"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": {
|
|
124
|
+
"$ref": "#/definitions/attribute"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
"compound_datatype": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties":
|
|
133
|
+
{
|
|
134
|
+
"name": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"size": {
|
|
138
|
+
"type": "integer"
|
|
139
|
+
},
|
|
140
|
+
"components": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties":
|
|
145
|
+
{
|
|
146
|
+
"name": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"offset": {
|
|
150
|
+
"type": "integer"
|
|
151
|
+
},
|
|
152
|
+
"type": {
|
|
153
|
+
"$ref": "#/definitions/datatype"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"additionalProperties": false
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
"datatype": {
|
|
164
|
+
"anyOf": [
|
|
165
|
+
{
|
|
166
|
+
"type": "string",
|
|
167
|
+
"enum": [
|
|
168
|
+
"String",
|
|
169
|
+
"Byte",
|
|
170
|
+
"Int16",
|
|
171
|
+
"UInt16",
|
|
172
|
+
"Int32",
|
|
173
|
+
"UInt32",
|
|
174
|
+
"Float32",
|
|
175
|
+
"Float64",
|
|
176
|
+
"CInt16",
|
|
177
|
+
"CInt32",
|
|
178
|
+
"CFloat32",
|
|
179
|
+
"CFloat64"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"$ref": "#/definitions/compound_datatype"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
"dimension": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"properties": {
|
|
191
|
+
"name": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"full_name": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"size": {
|
|
198
|
+
"type": "integer"
|
|
199
|
+
},
|
|
200
|
+
"type": {
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"direction": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"indexing_variable": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"additionalProperties": false
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
"dimensions": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"anyOf": [
|
|
217
|
+
{
|
|
218
|
+
"$ref": "#/definitions/dimension"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"description": "Full qualified name of a dimension",
|
|
222
|
+
"type": "string"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
|
|
228
|
+
"group": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"driver": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"name": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"type": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"enum": [
|
|
240
|
+
"group"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"dimensions": {
|
|
244
|
+
"$ref": "#/definitions/dimensions"
|
|
245
|
+
},
|
|
246
|
+
"arrays": {
|
|
247
|
+
"$ref": "#/definitions/arrays"
|
|
248
|
+
},
|
|
249
|
+
"attributes": {
|
|
250
|
+
"$ref": "#/definitions/attributes"
|
|
251
|
+
},
|
|
252
|
+
"groups": {
|
|
253
|
+
"$ref": "#/definitions/groups"
|
|
254
|
+
},
|
|
255
|
+
"structural_info": {
|
|
256
|
+
"$ref": "#/definitions/structural_info"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"additionalProperties": false
|
|
260
|
+
},
|
|
261
|
+
|
|
262
|
+
"groups": {
|
|
263
|
+
"anyOf": [
|
|
264
|
+
{
|
|
265
|
+
"type": "object",
|
|
266
|
+
"properties": {},
|
|
267
|
+
"additionalProperties": {
|
|
268
|
+
"$ref": "#/definitions/group"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "array",
|
|
273
|
+
"items": {
|
|
274
|
+
"$ref": "#/definitions/group"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
"srs": {
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"wkt": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"data_axis_to_srs_axis_mapping": {
|
|
287
|
+
"type": "array",
|
|
288
|
+
"items": {
|
|
289
|
+
"type": "integer"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"additionalProperties": false
|
|
294
|
+
},
|
|
295
|
+
|
|
296
|
+
"structural_info": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {},
|
|
299
|
+
"additionalProperties": {
|
|
300
|
+
"type": "string"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
|
|
304
|
+
"value": {
|
|
305
|
+
"anyOf": [
|
|
306
|
+
{
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "number"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": "object"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"type": "array"
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|