shapely 1.8a2__tar.gz → 1.8a3__tar.gz
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.
- {Shapely-1.8a2 → Shapely-1.8a3}/CHANGES.txt +18 -2
- {Shapely-1.8a2/Shapely.egg-info → Shapely-1.8a3}/PKG-INFO +20 -4
- {Shapely-1.8a2 → Shapely-1.8a3/Shapely.egg-info}/PKG-INFO +20 -4
- Shapely-1.8a3/VERSION.txt +1 -0
- Shapely-1.8a3/shapely/__init__.py +1 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/coords.py +4 -1
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/base.py +2 -2
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/polygon.py +1 -1
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/speedups/_speedups.c +425 -369
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/speedups/_speedups.pyx +4 -1
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/strtree.py +84 -95
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_collection.py +11 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_linestring.py +12 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_multilinestring.py +11 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_multipoint.py +11 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_multipolygon.py +13 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_point.py +12 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_polygon.py +11 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_strtree.py +50 -28
- Shapely-1.8a2/VERSION.txt +0 -1
- Shapely-1.8a2/shapely/__init__.py +0 -1
- {Shapely-1.8a2 → Shapely-1.8a3}/CREDITS.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/LICENSE.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/README.rst +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/Shapely.egg-info/SOURCES.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/Shapely.egg-info/requires.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/__about__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/_compat.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/_structures.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/markers.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/requirements.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/specifiers.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/utils.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/_vendor/packaging/version.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/docs/design.rst +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/docs/index.rst +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/docs/manual.rst +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/docs/project.rst +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/setup.cfg +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/setup.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/_buildcfg.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/_geos.pxi +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/affinity.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/algorithms/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/algorithms/cga.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/algorithms/polylabel.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/errors.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/examples/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/examples/dissolve.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/examples/geoms.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/examples/intersect.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/collection.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/geo.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/point.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/geos.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/impl.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/iterops.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/linref.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/ops.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/predicates.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/prepared.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/speedups/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/topology.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/validation.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/vectorized/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/vectorized/_vectorized.pyx +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/wkb.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/shapely/wkt.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/__init__.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/conftest.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_affinity.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_binascii_hex.txt +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_box.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_buffer.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_cga.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_clip_by_rect.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_coords.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_create_inconsistent_dimensionality.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_default_impl.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_delaunay.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_delegated.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_dlls.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_doctests.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_emptiness.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_empty_polygons.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_equality.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_geointerface.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_geometry_base.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_geometry_geo.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_geomseq.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_geos_err_handler.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_getitem.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_hash.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_invalid_geometries.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_iterops.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_linear_referencing.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_linemerge.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_locale.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_make_valid.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_mapping.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_minimum_clearance.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_minimum_rotated_rectangle.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_multi.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_ndarrays.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_nearest.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_operations.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_operators.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_orient.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_parallel_offset.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_persist.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_pickle.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_polygonize.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_polylabel.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_predicates.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_prepared.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_products_z.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_shape.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_shared_paths.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_singularity.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_snap.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_split.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_styles.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_substring.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_svg.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_transform.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_union.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_validation.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_vectorized.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_voronoi_diagram.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_wkb.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_wkt.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/test_xy.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/threading_test.py +0 -0
- {Shapely-1.8a2 → Shapely-1.8a3}/tests/unpickle-strtree.py +0 -0
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
Changes
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
-
1.
|
|
5
|
-
|
|
4
|
+
1.8a3 (2021-08-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
Deprecations:
|
|
8
|
+
|
|
9
|
+
The STRtree class deprecation warnings have been removed. The class in 2.0.0
|
|
10
|
+
will be backwards compatible with the class in 1.8.0.
|
|
11
|
+
|
|
12
|
+
Bug fixes:
|
|
13
|
+
|
|
14
|
+
- The __array_interface__ raises only AttributeError, all other exceptions are
|
|
15
|
+
deprecated starting with Numpy 1.21 (#1173).
|
|
16
|
+
- The STRtree class now uses a pair of item, geom sequences internally instead
|
|
17
|
+
of a dict (#1177).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
1.8a2 (2021-07-15)
|
|
21
|
+
------------------
|
|
6
22
|
|
|
7
23
|
Python version support:
|
|
8
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8a3
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -296,8 +296,24 @@ Description: =======
|
|
|
296
296
|
Changes
|
|
297
297
|
=======
|
|
298
298
|
|
|
299
|
-
1.
|
|
300
|
-
|
|
299
|
+
1.8a3 (2021-08-24)
|
|
300
|
+
------------------
|
|
301
|
+
|
|
302
|
+
Deprecations:
|
|
303
|
+
|
|
304
|
+
The STRtree class deprecation warnings have been removed. The class in 2.0.0
|
|
305
|
+
will be backwards compatible with the class in 1.8.0.
|
|
306
|
+
|
|
307
|
+
Bug fixes:
|
|
308
|
+
|
|
309
|
+
- The __array_interface__ raises only AttributeError, all other exceptions are
|
|
310
|
+
deprecated starting with Numpy 1.21 (#1173).
|
|
311
|
+
- The STRtree class now uses a pair of item, geom sequences internally instead
|
|
312
|
+
of a dict (#1177).
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
1.8a2 (2021-07-15)
|
|
316
|
+
------------------
|
|
301
317
|
|
|
302
318
|
Python version support:
|
|
303
319
|
|
|
@@ -1110,6 +1126,6 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
1110
1126
|
Classifier: Programming Language :: Python :: 3.9
|
|
1111
1127
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
1112
1128
|
Requires-Python: >=3.6
|
|
1129
|
+
Provides-Extra: test
|
|
1113
1130
|
Provides-Extra: all
|
|
1114
1131
|
Provides-Extra: vectorized
|
|
1115
|
-
Provides-Extra: test
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8a3
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -296,8 +296,24 @@ Description: =======
|
|
|
296
296
|
Changes
|
|
297
297
|
=======
|
|
298
298
|
|
|
299
|
-
1.
|
|
300
|
-
|
|
299
|
+
1.8a3 (2021-08-24)
|
|
300
|
+
------------------
|
|
301
|
+
|
|
302
|
+
Deprecations:
|
|
303
|
+
|
|
304
|
+
The STRtree class deprecation warnings have been removed. The class in 2.0.0
|
|
305
|
+
will be backwards compatible with the class in 1.8.0.
|
|
306
|
+
|
|
307
|
+
Bug fixes:
|
|
308
|
+
|
|
309
|
+
- The __array_interface__ raises only AttributeError, all other exceptions are
|
|
310
|
+
deprecated starting with Numpy 1.21 (#1173).
|
|
311
|
+
- The STRtree class now uses a pair of item, geom sequences internally instead
|
|
312
|
+
of a dict (#1177).
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
1.8a2 (2021-07-15)
|
|
316
|
+
------------------
|
|
301
317
|
|
|
302
318
|
Python version support:
|
|
303
319
|
|
|
@@ -1110,6 +1126,6 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
1110
1126
|
Classifier: Programming Language :: Python :: 3.9
|
|
1111
1127
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
1112
1128
|
Requires-Python: >=3.6
|
|
1129
|
+
Provides-Extra: test
|
|
1113
1130
|
Provides-Extra: all
|
|
1114
1131
|
Provides-Extra: vectorized
|
|
1115
|
-
Provides-Extra: test
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.8a3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.8a3"
|
|
@@ -116,7 +116,10 @@ class CoordinateSequence:
|
|
|
116
116
|
def _ctypes(self):
|
|
117
117
|
self._update()
|
|
118
118
|
has_z = self._ndim == 3
|
|
119
|
-
n = self._ndim
|
|
119
|
+
n = self._ndim or 0
|
|
120
|
+
if n == 0:
|
|
121
|
+
# ignore with NumPy 1.21 __array_interface__
|
|
122
|
+
raise AttributeError("empty geometry sequence")
|
|
120
123
|
m = self.__len__()
|
|
121
124
|
array_type = c_double * (m * n)
|
|
122
125
|
data = array_type()
|
|
@@ -849,8 +849,8 @@ class BaseMultipartGeometry(BaseGeometry):
|
|
|
849
849
|
@property
|
|
850
850
|
def __array_interface__(self):
|
|
851
851
|
"""Provide the Numpy array protocol."""
|
|
852
|
-
raise
|
|
853
|
-
|
|
852
|
+
raise AttributeError("Multi-part geometries do not themselves "
|
|
853
|
+
"provide the array interface")
|
|
854
854
|
|
|
855
855
|
def _get_coords(self):
|
|
856
856
|
raise NotImplementedError("Sub-geometries may have coordinate "
|