pyogrio 0.8.0__cp312-cp312-manylinux_2_28_aarch64.whl → 0.10.0__cp312-cp312-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 +20 -13
- pyogrio/_compat.py +7 -1
- pyogrio/_env.py +4 -6
- pyogrio/_err.cpython-312-aarch64-linux-gnu.so +0 -0
- pyogrio/_geometry.cpython-312-aarch64-linux-gnu.so +0 -0
- pyogrio/_io.cpython-312-aarch64-linux-gnu.so +0 -0
- pyogrio/_ogr.cpython-312-aarch64-linux-gnu.so +0 -0
- pyogrio/_version.py +3 -3
- pyogrio/_vsi.cpython-312-aarch64-linux-gnu.so +0 -0
- pyogrio/core.py +86 -20
- pyogrio/errors.py +9 -16
- pyogrio/gdal_data/GDAL-targets-release.cmake +3 -3
- pyogrio/gdal_data/GDAL-targets.cmake +1 -1
- pyogrio/gdal_data/GDALConfig.cmake +0 -1
- pyogrio/gdal_data/GDALConfigVersion.cmake +3 -3
- pyogrio/gdal_data/MM_m_idofic.csv +321 -0
- pyogrio/gdal_data/gdaltileindex.xsd +269 -0
- pyogrio/gdal_data/gdalvrt.xsd +130 -22
- pyogrio/gdal_data/ogrinfo_output.schema.json +23 -0
- pyogrio/gdal_data/ogrvrt.xsd +3 -0
- pyogrio/gdal_data/pci_datum.txt +222 -155
- pyogrio/gdal_data/pci_ellips.txt +90 -38
- pyogrio/gdal_data/vcpkg.spdx.json +27 -27
- pyogrio/gdal_data/vcpkg_abi_info.txt +25 -25
- pyogrio/geopandas.py +44 -27
- pyogrio/proj_data/proj-config-version.cmake +2 -2
- pyogrio/proj_data/proj-targets.cmake +1 -1
- pyogrio/proj_data/proj.db +0 -0
- pyogrio/proj_data/proj4-targets.cmake +1 -1
- pyogrio/proj_data/projjson.schema.json +1 -1
- pyogrio/proj_data/vcpkg.spdx.json +21 -21
- pyogrio/proj_data/vcpkg_abi_info.txt +13 -13
- pyogrio/raw.py +46 -30
- pyogrio/tests/conftest.py +206 -12
- pyogrio/tests/fixtures/README.md +32 -13
- pyogrio/tests/fixtures/curve.gpkg +0 -0
- pyogrio/tests/fixtures/{test_multisurface.gpkg → curvepolygon.gpkg} +0 -0
- pyogrio/tests/fixtures/line_zm.gpkg +0 -0
- pyogrio/tests/fixtures/multisurface.gpkg +0 -0
- pyogrio/tests/test_arrow.py +178 -24
- pyogrio/tests/test_core.py +162 -72
- pyogrio/tests/test_geopandas_io.py +341 -96
- pyogrio/tests/test_path.py +30 -17
- pyogrio/tests/test_raw_io.py +165 -54
- pyogrio/tests/test_util.py +56 -0
- pyogrio/util.py +55 -31
- {pyogrio-0.8.0.dist-info → pyogrio-0.10.0.dist-info}/LICENSE +1 -1
- {pyogrio-0.8.0.dist-info → pyogrio-0.10.0.dist-info}/METADATA +37 -8
- {pyogrio-0.8.0.dist-info → pyogrio-0.10.0.dist-info}/RECORD +203 -218
- {pyogrio-0.8.0.dist-info → pyogrio-0.10.0.dist-info}/WHEEL +1 -1
- pyogrio.libs/{libgdal-b2fb2022.so.34.3.8.5 → libgdal-b0847c7b.so.35.3.9.1} +0 -0
- pyogrio/_err.pxd +0 -4
- pyogrio/_err.pyx +0 -250
- pyogrio/_geometry.pxd +0 -4
- pyogrio/_geometry.pyx +0 -129
- pyogrio/_io.pxd +0 -0
- pyogrio/_io.pyx +0 -2738
- pyogrio/_ogr.pxd +0 -441
- pyogrio/_ogr.pyx +0 -346
- pyogrio/_vsi.pxd +0 -4
- pyogrio/_vsi.pyx +0 -140
- pyogrio/arrow_bridge.h +0 -115
- pyogrio/gdal_data/bag_template.xml +0 -201
- pyogrio/gdal_data/gmlasconf.xml +0 -169
- pyogrio/gdal_data/gmlasconf.xsd +0 -1066
- pyogrio/gdal_data/netcdf_config.xsd +0 -143
- pyogrio/gdal_data/template_tiles.mapml +0 -28
- pyogrio/tests/fixtures/test_datetime.geojson +0 -7
- pyogrio/tests/fixtures/test_datetime_tz.geojson +0 -8
- pyogrio/tests/fixtures/test_fgdb.gdb.zip +0 -0
- pyogrio/tests/fixtures/test_nested.geojson +0 -18
- pyogrio/tests/fixtures/test_ogr_types_list.geojson +0 -12
- {pyogrio-0.8.0.dist-info → pyogrio-0.10.0.dist-info}/top_level.txt +0 -0
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<!--
|
|
3
|
-
/******************************************************************************
|
|
4
|
-
* $Id$
|
|
5
|
-
*
|
|
6
|
-
* Project: netCDF driver
|
|
7
|
-
* Purpose: Schema of netCDF writer configuration files
|
|
8
|
-
* Author: Even Rouault, <even dot rouault at spatialys dot com>
|
|
9
|
-
*
|
|
10
|
-
**********************************************************************
|
|
11
|
-
* Copyright (c) 2016, Even Rouault <even dot rouault at spatialys dot com>
|
|
12
|
-
*
|
|
13
|
-
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
14
|
-
* copy of this software and associated documentation files (the "Software"),
|
|
15
|
-
* to deal in the Software without restriction, including without limitation
|
|
16
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
17
|
-
* and/or sell copies of the Software, and to permit persons to whom the
|
|
18
|
-
* Software is furnished to do so, subject to the following conditions:
|
|
19
|
-
*
|
|
20
|
-
* The above copyright notice and this permission notice shall be included
|
|
21
|
-
* in all copies or substantial portions of the Software.
|
|
22
|
-
*
|
|
23
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
24
|
-
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
26
|
-
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
28
|
-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
29
|
-
* DEALINGS IN THE SOFTWARE.
|
|
30
|
-
****************************************************************************/
|
|
31
|
-
-->
|
|
32
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
33
|
-
<xs:element name="Configuration">
|
|
34
|
-
<xs:complexType>
|
|
35
|
-
<xs:sequence>
|
|
36
|
-
<xs:element name="DatasetCreationOption" type="optionType" minOccurs="0" maxOccurs="unbounded"/>
|
|
37
|
-
<xs:element name="LayerCreationOption" type="optionType" minOccurs="0" maxOccurs="unbounded">
|
|
38
|
-
<xs:annotation><xs:documentation>
|
|
39
|
-
Define a layer creation option that applies to all layers.
|
|
40
|
-
</xs:documentation></xs:annotation>
|
|
41
|
-
</xs:element>
|
|
42
|
-
<xs:element name="Attribute" type="attributeType" minOccurs="0" maxOccurs="unbounded">
|
|
43
|
-
<xs:annotation><xs:documentation>
|
|
44
|
-
Define a global attribute that must be written (or removed) and applies to all layers.
|
|
45
|
-
</xs:documentation></xs:annotation>
|
|
46
|
-
</xs:element>
|
|
47
|
-
<xs:element name="Field" type="fieldType" minOccurs="0" maxOccurs="unbounded">
|
|
48
|
-
<xs:annotation><xs:documentation>
|
|
49
|
-
Define the characteristics of an OGR field / netCDF variable that applies to all layers (that actually uses it)
|
|
50
|
-
</xs:documentation></xs:annotation>
|
|
51
|
-
</xs:element>
|
|
52
|
-
<xs:element name="Layer" type="layerType" minOccurs="0" maxOccurs="unbounded">
|
|
53
|
-
<xs:annotation><xs:documentation>
|
|
54
|
-
Define layer specific settings for layer creaetion options, fields and attributes.
|
|
55
|
-
</xs:documentation></xs:annotation>
|
|
56
|
-
</xs:element>
|
|
57
|
-
</xs:sequence>
|
|
58
|
-
</xs:complexType>
|
|
59
|
-
</xs:element>
|
|
60
|
-
|
|
61
|
-
<xs:complexType name="optionType">
|
|
62
|
-
<xs:attribute name="name" type="xs:string"/>
|
|
63
|
-
<xs:attribute name="value" type="xs:string"/>
|
|
64
|
-
</xs:complexType>
|
|
65
|
-
|
|
66
|
-
<xs:complexType name="attributeType">
|
|
67
|
-
<xs:attribute name="name" type="xs:string"/>
|
|
68
|
-
<xs:attribute name="value" type="xs:string">
|
|
69
|
-
<xs:annotation><xs:documentation>
|
|
70
|
-
Value to set as attribute, or empty string
|
|
71
|
-
to delete an existing attribute
|
|
72
|
-
</xs:documentation></xs:annotation>
|
|
73
|
-
</xs:attribute>
|
|
74
|
-
<xs:attribute name="type" use="optional">
|
|
75
|
-
<xs:simpleType>
|
|
76
|
-
<xs:restriction base="xs:string">
|
|
77
|
-
<xs:enumeration value="string"/>
|
|
78
|
-
<xs:enumeration value="integer"/>
|
|
79
|
-
<xs:enumeration value="double"/>
|
|
80
|
-
</xs:restriction>
|
|
81
|
-
</xs:simpleType>
|
|
82
|
-
</xs:attribute>
|
|
83
|
-
</xs:complexType>
|
|
84
|
-
|
|
85
|
-
<xs:complexType name="fieldType">
|
|
86
|
-
<xs:sequence>
|
|
87
|
-
<xs:element name="Attribute" type="attributeType" minOccurs="0" maxOccurs="unbounded">
|
|
88
|
-
<xs:annotation><xs:documentation>
|
|
89
|
-
Define an attribute that must be written (or removed) from a OGR field / netCDF variable.
|
|
90
|
-
</xs:documentation></xs:annotation>
|
|
91
|
-
</xs:element>
|
|
92
|
-
</xs:sequence>
|
|
93
|
-
<xs:attribute name="name" type="xs:string" use="optional">
|
|
94
|
-
<xs:annotation><xs:documentation>OGR field name.</xs:documentation></xs:annotation>
|
|
95
|
-
</xs:attribute>
|
|
96
|
-
<xs:attribute name="netcdf_name" type="xs:string" use="optional">
|
|
97
|
-
<xs:annotation><xs:documentation>netCDF variable name. When both name
|
|
98
|
-
and netcdf_name are set, the OGR field {name} will be written as the
|
|
99
|
-
netCDF {netcdf_name} variable. When netcdf_name is set, but name is none,
|
|
100
|
-
then the Field definition will match an implicitly created netCDF variable,
|
|
101
|
-
such as x/lon, y/lat, z, ...
|
|
102
|
-
</xs:documentation></xs:annotation>
|
|
103
|
-
</xs:attribute>
|
|
104
|
-
<xs:attribute name="main_dim" type="xs:string" use="optional">
|
|
105
|
-
<xs:annotation><xs:documentation>
|
|
106
|
-
Name of the main dimension against which the variable must be indexed.
|
|
107
|
-
If not set, the record dimension will be used. Only useful when using
|
|
108
|
-
a layer with FeatureType!=Point.
|
|
109
|
-
</xs:documentation></xs:annotation>
|
|
110
|
-
</xs:attribute>
|
|
111
|
-
</xs:complexType>
|
|
112
|
-
|
|
113
|
-
<xs:complexType name="layerType">
|
|
114
|
-
<xs:sequence>
|
|
115
|
-
<xs:element name="LayerCreationOption" type="optionType" minOccurs="0" maxOccurs="unbounded">
|
|
116
|
-
<xs:annotation><xs:documentation>
|
|
117
|
-
Define a layer creation option. Overrides or appended to
|
|
118
|
-
existing global layer creation options.
|
|
119
|
-
</xs:documentation></xs:annotation>
|
|
120
|
-
</xs:element>
|
|
121
|
-
<xs:element name="Attribute" type="attributeType" minOccurs="0" maxOccurs="unbounded">
|
|
122
|
-
<xs:annotation><xs:documentation>
|
|
123
|
-
Define a global attribute that must be written (or removed).
|
|
124
|
-
Overrides or appended to existing global attributes.
|
|
125
|
-
</xs:documentation></xs:annotation>
|
|
126
|
-
</xs:element>
|
|
127
|
-
<xs:element name="Field" type="fieldType" minOccurs="0" maxOccurs="unbounded">
|
|
128
|
-
<xs:annotation><xs:documentation>
|
|
129
|
-
Define the characteristics of an OGR field / netCDF variable
|
|
130
|
-
(that must exist as an explicit OGR field, or an implicitly created netCDF variable).
|
|
131
|
-
Supersedes global Field definition.
|
|
132
|
-
</xs:documentation></xs:annotation>
|
|
133
|
-
</xs:element>
|
|
134
|
-
</xs:sequence>
|
|
135
|
-
<xs:attribute name="name" type="xs:string">
|
|
136
|
-
<xs:annotation><xs:documentation>OGR layer name.</xs:documentation></xs:annotation>
|
|
137
|
-
</xs:attribute>
|
|
138
|
-
<xs:attribute name="netcdf_name" type="xs:string" use="optional">
|
|
139
|
-
<xs:annotation><xs:documentation>netCDF group name.</xs:documentation></xs:annotation>
|
|
140
|
-
</xs:attribute>
|
|
141
|
-
</xs:complexType>
|
|
142
|
-
|
|
143
|
-
</xs:schema>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<mapml>
|
|
2
|
-
<head>
|
|
3
|
-
<title>states</title>
|
|
4
|
-
<base href="${URL}" />
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<meta content="text/mapml;projection=${TILING_SCHEME}" http-equiv="Content-Type" />
|
|
7
|
-
<!--
|
|
8
|
-
<link href="http://localhost:8080/myservice/mapml/WGS84?style=" rel="alternate" projection="WGS84" />
|
|
9
|
-
<link href="http://localhost:8080/myservice/mapml/OSMTILE?style=" rel="alternate" projection="OSMTILE" />
|
|
10
|
-
<link href="http://localhost:8080/myservice/mapml/CBMTILE?style=" rel="alternate" projection="CBMTILE" />
|
|
11
|
-
<link href="http://localhost:8080/myservice/mapml/APSTILE?style=" rel="alternate" projection="APSTILE" />
|
|
12
|
-
-->
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<extent units="${TILING_SCHEME}">
|
|
16
|
-
<input name="z" type="zoom" value="${CURZOOM}" min="${MINZOOM}" max="${MAXZOOM}" />
|
|
17
|
-
<input name="x" type="location" axis="column" units="tilematrix" min="${MINTILEX}" max="${MAXTILEX}" />
|
|
18
|
-
<input name="y" type="location" axis="row" units="tilematrix" min="${MINTILEY}" max="${MAXTILEY}" />
|
|
19
|
-
<link tref="${URL}{z}/{x}/{y}.${TILEEXT}" rel="tile" />
|
|
20
|
-
<!--<link tref="http://localhost:8080/myservice/wmts?layer=MYLAYER&style=&tilematrixset=${TILING_SCHEME}&service=WMTS&request=GetTile&version=1.0.0&tilematrix={z}&TileCol={x}&TileRow={y}&format=image/png" rel="tile" />-->
|
|
21
|
-
<!--
|
|
22
|
-
<input name="i" type="location" axis="i" units="tile" />
|
|
23
|
-
<input name="j" type="location" axis="j" units="tile" />
|
|
24
|
-
<link tref="http://localhost:8080/myservice/wmts/?LAYER=MYLAYER&TILEMATRIX={z}&TileCol={x}&TileRow={y}&TILEMATRIXSET=WGS84&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetFeatureInfo&FEATURE_COUNT=50&FORMAT=image/png&STYLE=&INFOFORMAT=text/mapml&I={i}&J={j}" rel="query" />
|
|
25
|
-
-->
|
|
26
|
-
</extent>
|
|
27
|
-
</body>
|
|
28
|
-
</mapml>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "FeatureCollection",
|
|
3
|
-
"features": [
|
|
4
|
-
{ "type": "Feature", "properties": { "col": "2020-01-01T09:00:00.123" }, "geometry": { "type": "Point", "coordinates": [ 1.0, 1.0 ] } },
|
|
5
|
-
{ "type": "Feature", "properties": { "col": "2020-01-01T10:00:00" }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } }
|
|
6
|
-
]
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "FeatureCollection",
|
|
3
|
-
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
|
4
|
-
"features": [
|
|
5
|
-
{ "type": "Feature", "properties": { "datetime_col": "2020-01-01T09:00:00.123-05:00" }, "geometry": { "type": "Point", "coordinates": [ 1.0, 1.0 ] } },
|
|
6
|
-
{ "type": "Feature", "properties": { "datetime_col": "2020-01-01T10:00:00-05:00" }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } }
|
|
7
|
-
]
|
|
8
|
-
}
|
|
Binary file
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "FeatureCollection",
|
|
3
|
-
"features": [
|
|
4
|
-
{
|
|
5
|
-
"type": "Feature",
|
|
6
|
-
"geometry": {
|
|
7
|
-
"type": "Point",
|
|
8
|
-
"coordinates": [0, 0]
|
|
9
|
-
},
|
|
10
|
-
"properties": {
|
|
11
|
-
"top_level": "A",
|
|
12
|
-
"intermediate_level": {
|
|
13
|
-
"bottom_level": "B"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "FeatureCollection",
|
|
3
|
-
"name": "test",
|
|
4
|
-
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
|
5
|
-
"features": [
|
|
6
|
-
{ "type": "Feature", "properties": { "int64": 1, "list_int64": [ 0, 1 ] }, "geometry": { "type": "Point", "coordinates": [ 0.0, 2.0 ] } },
|
|
7
|
-
{ "type": "Feature", "properties": { "int64": 2, "list_int64": [ 2, 3 ] }, "geometry": { "type": "Point", "coordinates": [ 1.0, 2.0 ] } },
|
|
8
|
-
{ "type": "Feature", "properties": { "int64": 3, "list_int64": [ 4, 5 ] }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } },
|
|
9
|
-
{ "type": "Feature", "properties": { "int64": 4, "list_int64": [ 6, 7 ] }, "geometry": { "type": "Point", "coordinates": [ 3.0, 2.0 ] } },
|
|
10
|
-
{ "type": "Feature", "properties": { "int64": 5, "list_int64": [ 8, 9 ] }, "geometry": { "type": "Point", "coordinates": [ 4.0, 2.0 ] } }
|
|
11
|
-
]
|
|
12
|
-
}
|
|
File without changes
|