shapely 1.7.1__tar.gz → 1.8.0__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.
Files changed (159) hide show
  1. {Shapely-1.7.1 → Shapely-1.8.0}/CHANGES.txt +143 -0
  2. {Shapely-1.7.1 → Shapely-1.8.0}/CREDITS.txt +20 -0
  3. {Shapely-1.7.1/Shapely.egg-info → Shapely-1.8.0}/PKG-INFO +177 -16
  4. {Shapely-1.7.1 → Shapely-1.8.0}/README.rst +9 -9
  5. {Shapely-1.7.1 → Shapely-1.8.0/Shapely.egg-info}/PKG-INFO +177 -16
  6. {Shapely-1.7.1 → Shapely-1.8.0}/Shapely.egg-info/SOURCES.txt +6 -3
  7. Shapely-1.8.0/VERSION.txt +1 -0
  8. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/_compat.py +0 -12
  9. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/_structures.py +2 -2
  10. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/markers.py +4 -5
  11. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/requirements.py +1 -1
  12. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/specifiers.py +8 -8
  13. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/version.py +1 -1
  14. {Shapely-1.7.1 → Shapely-1.8.0}/docs/design.rst +1 -1
  15. {Shapely-1.7.1 → Shapely-1.8.0}/docs/index.rst +1 -0
  16. {Shapely-1.7.1 → Shapely-1.8.0}/docs/manual.rst +226 -53
  17. Shapely-1.8.0/docs/migration.rst +348 -0
  18. {Shapely-1.7.1 → Shapely-1.8.0}/setup.cfg +1 -4
  19. {Shapely-1.7.1 → Shapely-1.8.0}/setup.py +12 -33
  20. Shapely-1.8.0/shapely/__init__.py +1 -0
  21. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/_buildcfg.py +5 -8
  22. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/affinity.py +2 -1
  23. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/algorithms/polylabel.py +1 -1
  24. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/coords.py +47 -26
  25. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/ctypes_declarations.py +99 -112
  26. Shapely-1.8.0/shapely/errors.py +64 -0
  27. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/base.py +211 -108
  28. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/collection.py +9 -14
  29. Shapely-1.8.0/shapely/geometry/conftest.py +10 -0
  30. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/geo.py +25 -5
  31. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/linestring.py +56 -18
  32. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/multilinestring.py +16 -19
  33. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/multipoint.py +45 -15
  34. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/multipolygon.py +25 -25
  35. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/point.py +64 -16
  36. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/polygon.py +55 -25
  37. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/proxy.py +6 -1
  38. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geos.py +187 -301
  39. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/impl.py +13 -30
  40. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/iterops.py +8 -2
  41. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/linref.py +3 -2
  42. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/ops.py +207 -65
  43. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/prepared.py +1 -1
  44. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/speedups/__init__.py +4 -4
  45. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/speedups/_speedups.c +2482 -2476
  46. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/speedups/_speedups.pyx +48 -38
  47. Shapely-1.8.0/shapely/strtree.py +363 -0
  48. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/topology.py +4 -2
  49. Shapely-1.8.0/shapely/validation.py +55 -0
  50. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/vectorized/__init__.py +2 -0
  51. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/vectorized/_vectorized.pyx +4 -2
  52. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/wkb.py +20 -5
  53. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/wkt.py +6 -6
  54. {Shapely-1.7.1 → Shapely-1.8.0}/tests/__init__.py +7 -4
  55. {Shapely-1.7.1 → Shapely-1.8.0}/tests/conftest.py +3 -0
  56. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_affinity.py +16 -23
  57. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_box.py +0 -4
  58. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_buffer.py +0 -3
  59. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_cga.py +0 -7
  60. Shapely-1.8.0/tests/test_collection.py +127 -0
  61. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_coords.py +12 -3
  62. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_create_inconsistent_dimensionality.py +12 -4
  63. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_delaunay.py +0 -7
  64. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_delegated.py +1 -5
  65. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_dlls.py +3 -6
  66. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_emptiness.py +26 -9
  67. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_empty_polygons.py +1 -1
  68. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_equality.py +12 -8
  69. Shapely-1.8.0/tests/test_geointerface.py +155 -0
  70. Shapely-1.8.0/tests/test_geometry_base.py +36 -0
  71. Shapely-1.8.0/tests/test_geometry_geo.py +18 -0
  72. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_geomseq.py +4 -5
  73. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_geos_err_handler.py +0 -2
  74. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_getitem.py +4 -9
  75. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_invalid_geometries.py +0 -6
  76. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_iterops.py +14 -4
  77. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_linear_referencing.py +2 -16
  78. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_linemerge.py +0 -4
  79. Shapely-1.8.0/tests/test_linestring.py +319 -0
  80. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_locale.py +0 -4
  81. Shapely-1.8.0/tests/test_make_valid.py +20 -0
  82. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_mapping.py +0 -4
  83. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_minimum_rotated_rectangle.py +0 -4
  84. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_multilinestring.py +43 -7
  85. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_multipoint.py +78 -5
  86. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_multipolygon.py +41 -5
  87. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_ndarrays.py +38 -11
  88. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_nearest.py +0 -7
  89. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_operations.py +14 -9
  90. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_operators.py +0 -4
  91. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_parallel_offset.py +1 -3
  92. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_persist.py +2 -14
  93. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_pickle.py +1 -5
  94. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_point.py +150 -20
  95. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_polygon.py +238 -61
  96. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_polygonize.py +2 -8
  97. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_polylabel.py +1 -5
  98. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_predicates.py +4 -3
  99. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_prepared.py +0 -4
  100. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_products_z.py +0 -4
  101. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_shared_paths.py +12 -19
  102. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_singularity.py +0 -4
  103. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_snap.py +1 -8
  104. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_split.py +17 -11
  105. Shapely-1.8.0/tests/test_strtree.py +220 -0
  106. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_styles.py +0 -5
  107. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_substring.py +62 -41
  108. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_svg.py +2 -5
  109. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_transform.py +0 -7
  110. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_union.py +5 -8
  111. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_validation.py +0 -4
  112. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_vectorized.py +1 -5
  113. Shapely-1.8.0/tests/test_voronoi_diagram.py +135 -0
  114. Shapely-1.8.0/tests/test_wkb.py +158 -0
  115. Shapely-1.8.0/tests/test_wkt.py +62 -0
  116. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_xy.py +0 -4
  117. {Shapely-1.7.1 → Shapely-1.8.0}/tests/unpickle-strtree.py +1 -5
  118. Shapely-1.7.1/VERSION.txt +0 -1
  119. Shapely-1.7.1/shapely/__init__.py +0 -1
  120. Shapely-1.7.1/shapely/errors.py +0 -37
  121. Shapely-1.7.1/shapely/strtree.py +0 -110
  122. Shapely-1.7.1/shapely/validation.py +0 -6
  123. Shapely-1.7.1/shapely/vectorized/_vectorized.c +0 -26736
  124. Shapely-1.7.1/tests/test_collection.py +0 -81
  125. Shapely-1.7.1/tests/test_geointerface.py +0 -90
  126. Shapely-1.7.1/tests/test_geometry_base.py +0 -17
  127. Shapely-1.7.1/tests/test_linestring.py +0 -172
  128. Shapely-1.7.1/tests/test_strtree.py +0 -102
  129. Shapely-1.7.1/tests/test_strtree_nearest.py +0 -27
  130. Shapely-1.7.1/tests/test_wkb.py +0 -51
  131. Shapely-1.7.1/tests/test_wkt.py +0 -34
  132. {Shapely-1.7.1 → Shapely-1.8.0}/LICENSE.txt +0 -0
  133. {Shapely-1.7.1 → Shapely-1.8.0}/Shapely.egg-info/dependency_links.txt +0 -0
  134. {Shapely-1.7.1 → Shapely-1.8.0}/Shapely.egg-info/requires.txt +0 -0
  135. {Shapely-1.7.1 → Shapely-1.8.0}/Shapely.egg-info/top_level.txt +0 -0
  136. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/__init__.py +0 -0
  137. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/__about__.py +0 -0
  138. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/__init__.py +0 -0
  139. {Shapely-1.7.1 → Shapely-1.8.0}/_vendor/packaging/utils.py +0 -0
  140. {Shapely-1.7.1 → Shapely-1.8.0}/docs/project.rst +0 -0
  141. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/_geos.pxi +0 -0
  142. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/algorithms/__init__.py +0 -0
  143. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/algorithms/cga.py +0 -0
  144. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/examples/__init__.py +0 -0
  145. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/examples/dissolve.py +0 -0
  146. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/examples/geoms.py +0 -0
  147. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/examples/intersect.py +0 -0
  148. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/geometry/__init__.py +0 -0
  149. {Shapely-1.7.1 → Shapely-1.8.0}/shapely/predicates.py +0 -0
  150. /Shapely-1.7.1/tests/binascii_hex.txt → /Shapely-1.8.0/tests/test_binascii_hex.txt +0 -0
  151. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_clip_by_rect.py +0 -0
  152. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_default_impl.py +0 -0
  153. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_doctests.py +0 -0
  154. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_hash.py +0 -0
  155. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_minimum_clearance.py +0 -0
  156. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_multi.py +0 -0
  157. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_orient.py +0 -0
  158. {Shapely-1.7.1 → Shapely-1.8.0}/tests/test_shape.py +0 -0
  159. {Shapely-1.7.1 → Shapely-1.8.0}/tests/threading_test.py +0 -0
@@ -1,6 +1,149 @@
1
1
  Changes
2
2
  =======
3
3
 
4
+ 1.8.0 (2021-10-25)
5
+ ------------------
6
+
7
+ This is the final 1.8.0 release. There have been no changes since 1.8rc2.
8
+
9
+ 1.8rc2 (2021-10-19)
10
+ -------------------
11
+
12
+ Build:
13
+
14
+ A pyproject.toml file has been added to specify build dependencies for the
15
+ _vectorized and _speedups modules (#1128). To install shapely without these
16
+ build dependencies, use the features of your build tool that disable PEP 517
17
+ and 518 support.
18
+
19
+ Bug fixes:
20
+
21
+ - Part of PR #1042, which added a new primary GEOS library name to be searched
22
+ for, has been reverted by PR #1201.
23
+
24
+ 1.8rc1 (2021-10-04)
25
+ -------------------
26
+
27
+ Deprecations:
28
+
29
+ The almost_exact() method of BaseGeometry has been deprecated. It is confusing
30
+ and will be removed in 2.0.0. The equals_exact() method is to be used instead.
31
+
32
+ Bug fixes:
33
+
34
+ - We ensure that the _speedups module is always imported before _vectorized to
35
+ avoid an unexplained condition on Windows with Python 3.8 and 3.9 (#1184).
36
+
37
+ 1.8a3 (2021-08-24)
38
+ ------------------
39
+
40
+ Deprecations:
41
+
42
+ The STRtree class deprecation warnings have been removed. The class in 2.0.0
43
+ will be backwards compatible with the class in 1.8.0.
44
+
45
+ Bug fixes:
46
+
47
+ - The __array_interface__ raises only AttributeError, all other exceptions are
48
+ deprecated starting with Numpy 1.21 (#1173).
49
+ - The STRtree class now uses a pair of item, geom sequences internally instead
50
+ of a dict (#1177).
51
+
52
+
53
+ 1.8a2 (2021-07-15)
54
+ ------------------
55
+
56
+ Python version support:
57
+
58
+ Shapely 1.8 will support only Python versions >= 3.6.
59
+
60
+ New features:
61
+
62
+ - The STRtree nearest*() methods now take an optional argument that
63
+ specifies exclusion of the input geometry from results (#1115).
64
+ - A GeometryTypeError has been added to shapely.errors and is consistently
65
+ raised instead of TypeError or ValueError as in version 1.7. For backwards
66
+ compatibility, the new exception will derive from TypeError and Value error
67
+ until version 2.0 (#1099).
68
+ - The STRtree class constructor now takes an optional second argument, a
69
+ sequence of objects to be stored in the tree. If not provided, the sequence
70
+ indices of the geometries will be stored, as before (#1112).
71
+ - The STRtree class has new query_geoms(), query_items(), nearest_geom(), and
72
+ nearest_item() methods (#1112). The query() and nearest() methods remain as
73
+ aliases for query_geoms() and nearest_geom().
74
+
75
+ Bug fixes:
76
+
77
+ - We no longer attempt to load libc to get the free function on Linux, but get
78
+ it from the global symbol table.
79
+ - GEOS error messages printed when GEOS_getCoordSeq() is passed an empty
80
+ geometry are avoided by never passing an empty geometry (#1134).
81
+ - Python's builtin super() is now used only as described in PEP 3135 (#1109).
82
+ - Only load conda GEOS dll if it exists (on Windows) (#1108).
83
+ - Add /opt/homebrew/lib to the list of directories to be searched for the GEOS
84
+ shared library.
85
+ - Added new library search path to assist app creation with cx_Freeze.
86
+
87
+ 1.8a1 (2021-03-03)
88
+ ------------------
89
+
90
+ Shapely 1.8.0 will be a transitional version. There are a few bug fixes and new
91
+ features, but it is mainly about warning of the upcoming changes in 2.0.0.
92
+ Several more pre-releases before 1.8.0 are expected. See the migration guide
93
+ to Shapely 1.8 / 2.0 for more details on how to update your code
94
+ (https://shapely.readthedocs.io/en/latest/migration.html).
95
+
96
+ Python version support:
97
+
98
+ Shapely 1.8 will support only Python versions >= 3.5 (#884).
99
+
100
+ Deprecations:
101
+
102
+ The following functions and geometry attributes and methods will be removed in
103
+ version 2.0.0.
104
+
105
+ - ops.cascaded_union
106
+ - geometry .empty()
107
+ - geometry .ctypes and .__array_interface__
108
+ - multi-part geometry .__len__
109
+ - setting custom attributes on geometry objects
110
+
111
+ Geometry objects will become immutable in version 2.0.0.
112
+
113
+ The STRtree class will be entirely changed in 2.0.0. The exact future API is
114
+ not yet decided, but will be decided before 1.8.0 is released.
115
+
116
+ Deprecation warnings will be emitted in 1.8a1 when any of these features are
117
+ used.
118
+
119
+ The deprecated .to_wkb() and .to_wkt() methods on the geometry objects have
120
+ been removed.
121
+
122
+ New features:
123
+
124
+ - Add a normalize() method to geometry classes, exposing the GEOSNormalize
125
+ algorithm (#1090).
126
+ - Initialize STRtree with a capacity of 10 items per node (#1070).
127
+ - Load libraries relocated to shapely/.libs by auditwheel versions < 3.1 or
128
+ relocated to Shapely.libs by auditwheel versions >= 3.1.
129
+ - shapely.ops.voronoi_diagram() computes the Voronoi Diagram of a geometry or
130
+ geometry collection (#833, #851).
131
+ - shapely.validation.make_valid() fixes invalid geometries (#883)
132
+
133
+ Bug fixes:
134
+
135
+ - For pyinstaller we now handle the case of more than one GEOS library in the
136
+ environment, such as when fiona and rasterio wheels are co-installed with
137
+ shapely (#1071).
138
+ - The ops.split function now splits on touch to eliminate confusing
139
+ discrepancies between results using multi and single part splitters (#1034).
140
+ - Several issues with duplication and order of vertices in ops.substring have
141
+ been fixed (#1008).
142
+
143
+ Packaging:
144
+
145
+ - The wheels uploaded to PyPI will include GEOS 3.9.1.
146
+
4
147
  1.7.1 (2020-08-20)
5
148
  ------------------
6
149
 
@@ -3,6 +3,8 @@ Credits
3
3
 
4
4
  Shapely is written by:
5
5
 
6
+ * Adi Shavit <adishavit@gmail.com>
7
+ * Alberto Rubiales <arubiales11@gmail.com>
6
8
  * Allan Adair <allan.m.adair@gmail.com>
7
9
  * Andrew Blakey <ablakey@gmail.com>
8
10
  * Andy Freeland <andy@andyfreeland.net>
@@ -10,20 +12,26 @@ Shapely is written by:
10
12
  * Aron Bierbaum <aronbierbaum@gmail.com>
11
13
  * Bart Broere <2715782+bartbroere@users.noreply.github.com>
12
14
  * Bas Couwenberg <sebastic@xs4all.nl>
15
+ * Ben Beasley <code@musicinmybrain.net>
13
16
  * Benjamin Root <ben.v.root@gmail.com>
14
17
  * BertrandGervais <bertrand.gervais.pro@gmail.com>
18
+ * Bhavika Tekwani <4955119+bhavika@users.noreply.github.com>
19
+ * Bi0T1N <Bi0T1N@users.noreply.github.com>
15
20
  * Brad Hards <bradh@frogmouth.net>
16
21
  * Brandon Wood <btwood@geometeor.com>
17
22
  * Chad Hawkins <cwh@chadwhawkins.com>
18
23
  * Christian Prior <cprior@gmail.com>
19
24
  * Christian Quest <github@cquest.org>
20
25
  * Christophe Pradal <christophe.pradal@inria.fr>
26
+ * Dan Baston <dbaston@gmail.com>
27
+ * Dan Mahr <danmahr23@gmail.com>
21
28
  * Daniele Esposti <expobrain@users.noreply.github.com>
22
29
  * Dave Collins <dave@hopest.net>
23
30
  * David Baumgold <david@davidbaumgold.com>
24
31
  * David Swinkels <davidswinkelss@gmail.com>
25
32
  * Denis Rykov <rykovd@gmail.com>
26
33
  * Erwin Sterrenburg <e.w.sterrenburg@gmail.com>
34
+ * Felix Divo <4403130+felixdivo@users.noreply.github.com>
27
35
  * Felix Yan <felixonmars@archlinux.org>
28
36
  * Filipe Fernandes <ocefpaf@gmail.com>
29
37
  * Frédéric Junod <frederic.junod@camptocamp.com>
@@ -35,6 +43,7 @@ Shapely is written by:
35
43
  * Howard Butler <hobu.inc@gmail.com>
36
44
  * Hugo <hugovk@users.noreply.github.com>
37
45
  * Jacob Wasserman <jwasserman@gmail.com>
46
+ * Jaeha Lee <jaehaaheaj@gmail.com>
38
47
  * James Douglass <jamesdouglassusa@gmail.com>
39
48
  * James Gaboardi <jgaboardi@gmail.com>
40
49
  * James Lamb <jaylamb20@gmail.com>
@@ -51,6 +60,7 @@ Shapely is written by:
51
60
  * Joris Van den Bossche <jorisvandenbossche@gmail.com>
52
61
  * Joshua Arnott <josh@snorfalorpagus.net>
53
62
  * Juan Luis Cano Rodríguez <juanlu@satellogic.com>
63
+ * Justin Shenk <shenk.justin@gmail.com>
54
64
  * Kai Lautaportti <dokai@b426a367-1105-0410-b9ff-cdf4ab011145>
55
65
  * Kelsey Jordahl <kjordahl@enthought.com>
56
66
  * Kevin Wurster <wursterk@gmail.com>
@@ -66,6 +76,9 @@ Shapely is written by:
66
76
  * Marco De Nadai <me@marcodena.it>
67
77
  * Mathieu <mathieu.nivel@gmail.com>
68
78
  * Matt Amos <matt.amos@mapzen.com>
79
+ * Matthias Cuntz <mcuntz@users.noreply.github.com>
80
+ * MejstrikRudolf <68251685+MejstrikRudolf@users.noreply.github.com>
81
+ * Michael K <michael-k@users.noreply.github.com>
69
82
  * Michel Blancard <michel.blancard@data.gouv.fr>
70
83
  * Mike Taves <mwtoews@gmail.com>
71
84
  * Morris Tweed <tweed.morris@gmail.com>
@@ -75,7 +88,9 @@ Shapely is written by:
75
88
  * Peter Sagerson <psagers.github@ignorare.net>
76
89
  * Phil Elson <pelson.pub@gmail.com>
77
90
  * Pierre PACI <villerupt@gmail.com>
91
+ * Raja Gangopadhya <raja.gangopadhya@ridewithvia.com>
78
92
  * Ricardo Zilleruelo <51384295+zetaatlyft@users.noreply.github.com>
93
+ * Rémy Phelipot <remy-phelipot@users.noreply.github.com>
79
94
  * S Murthy <sr-murthy@users.noreply.github.com>
80
95
  * Sampo Syrjanen <sampo.syrjanen@here.com>
81
96
  * Samuel Chin <samuelchin91@gmail.com>
@@ -85,13 +100,17 @@ Shapely is written by:
85
100
  * Steve M. Kim <steve@climate.com>
86
101
  * Taro Matsuzawa aka. btm <btm@tech.email.ne.jp>
87
102
  * Thibault Deutsch <thibault.deutsch@gmail.com>
103
+ * Thomas Gratier <thomas_gratier@yahoo.fr>
88
104
  * Thomas Kluyver <takowl@gmail.com>
105
+ * Tim Gates <tim.gates@iress.com>
89
106
  * Tobias Sauerwein <tobias.sauerwein@camptocamp.com>
90
107
  * Tom Caruso <carusot42@gmail.com>
91
108
  * Tom Clancy <17627475+clncy@users.noreply.github.com>
92
109
  * WANG Aiyong <gepcelway@gmail.com>
93
110
  * Will May <williamcmay@live.com>
94
111
  * Zachary Ware <zachary.ware@gmail.com>
112
+ * aharfoot <aharfoot@users.noreply.github.com>
113
+ * bstadlbauer <11799671+bstadlbauer@users.noreply.github.com>
95
114
  * cclauss <cclauss@me.com>
96
115
  * clefrks <33859587+clefrks@users.noreply.github.com>
97
116
  * davidh-ssec <david.hoese@ssec.wisc.edu>
@@ -103,6 +122,7 @@ Shapely is written by:
103
122
  * rsmb <rsmb@users.noreply.github.com>
104
123
  * shongololo <garethsimons@me.com>
105
124
  * solarjoe <walterwhite666@googlemail.com>
125
+ * sshuair <sshuair@gmail.com>
106
126
  * stephenworsley <49274989+stephenworsley@users.noreply.github.com>
107
127
 
108
128
  See also: https://github.com/Toblerity/Shapely/graphs/contributors.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Shapely
3
- Version: 1.7.1
3
+ Version: 1.8.0
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: https://github.com/Toblerity/Shapely
6
6
  Author: Sean Gillies
@@ -12,16 +12,16 @@ Description: =======
12
12
  Shapely
13
13
  =======
14
14
 
15
- |travis| |appveyor| |coveralls|
15
+ |github-actions| |appveyor| |coveralls|
16
16
 
17
- .. |travis| image:: https://travis-ci.org/Toblerity/Shapely.svg?branch=maint-1.7
18
- :target: https://travis-ci.org/Toblerity/Shapely
17
+ .. |github-actions| image:: https://github.com/Toblerity/Shapely/workflows/Tests%20(Linux)/badge.svg
18
+ :target: https://github.com/Toblerity/Shapely/actions
19
19
 
20
- .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/Toblerity/Shapely?branch=maint-1.7&svg=true
21
- :target: https://ci.appveyor.com/project/frsci/shapely?branch=maint-1.7
20
+ .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/Toblerity/Shapely?branch=master&svg=true
21
+ :target: https://ci.appveyor.com/project/frsci/shapely?branch=master
22
22
 
23
- .. |coveralls| image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=maint-1.7
24
- :target: https://coveralls.io/github/Toblerity/Shapely?branch=maint-1.7
23
+ .. |coveralls| image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=master
24
+ :target: https://coveralls.io/github/Toblerity/Shapely?branch=master
25
25
 
26
26
  Manipulation and analysis of geometric objects in the Cartesian plane.
27
27
 
@@ -60,9 +60,9 @@ Description: =======
60
60
  Requirements
61
61
  ============
62
62
 
63
- Shapely 1.7 requires
63
+ Shapely 1.8 requires
64
64
 
65
- * Python 2.7, >=3.5
65
+ * Python >=3.6
66
66
  * GEOS >=3.3
67
67
 
68
68
  Installing Shapely
@@ -176,6 +176,8 @@ Description: =======
176
176
 
177
177
  Shapely is written by:
178
178
 
179
+ * Adi Shavit <adishavit@gmail.com>
180
+ * Alberto Rubiales <arubiales11@gmail.com>
179
181
  * Allan Adair <allan.m.adair@gmail.com>
180
182
  * Andrew Blakey <ablakey@gmail.com>
181
183
  * Andy Freeland <andy@andyfreeland.net>
@@ -183,20 +185,26 @@ Description: =======
183
185
  * Aron Bierbaum <aronbierbaum@gmail.com>
184
186
  * Bart Broere <2715782+bartbroere@users.noreply.github.com>
185
187
  * Bas Couwenberg <sebastic@xs4all.nl>
188
+ * Ben Beasley <code@musicinmybrain.net>
186
189
  * Benjamin Root <ben.v.root@gmail.com>
187
190
  * BertrandGervais <bertrand.gervais.pro@gmail.com>
191
+ * Bhavika Tekwani <4955119+bhavika@users.noreply.github.com>
192
+ * Bi0T1N <Bi0T1N@users.noreply.github.com>
188
193
  * Brad Hards <bradh@frogmouth.net>
189
194
  * Brandon Wood <btwood@geometeor.com>
190
195
  * Chad Hawkins <cwh@chadwhawkins.com>
191
196
  * Christian Prior <cprior@gmail.com>
192
197
  * Christian Quest <github@cquest.org>
193
198
  * Christophe Pradal <christophe.pradal@inria.fr>
199
+ * Dan Baston <dbaston@gmail.com>
200
+ * Dan Mahr <danmahr23@gmail.com>
194
201
  * Daniele Esposti <expobrain@users.noreply.github.com>
195
202
  * Dave Collins <dave@hopest.net>
196
203
  * David Baumgold <david@davidbaumgold.com>
197
204
  * David Swinkels <davidswinkelss@gmail.com>
198
205
  * Denis Rykov <rykovd@gmail.com>
199
206
  * Erwin Sterrenburg <e.w.sterrenburg@gmail.com>
207
+ * Felix Divo <4403130+felixdivo@users.noreply.github.com>
200
208
  * Felix Yan <felixonmars@archlinux.org>
201
209
  * Filipe Fernandes <ocefpaf@gmail.com>
202
210
  * Frédéric Junod <frederic.junod@camptocamp.com>
@@ -208,6 +216,7 @@ Description: =======
208
216
  * Howard Butler <hobu.inc@gmail.com>
209
217
  * Hugo <hugovk@users.noreply.github.com>
210
218
  * Jacob Wasserman <jwasserman@gmail.com>
219
+ * Jaeha Lee <jaehaaheaj@gmail.com>
211
220
  * James Douglass <jamesdouglassusa@gmail.com>
212
221
  * James Gaboardi <jgaboardi@gmail.com>
213
222
  * James Lamb <jaylamb20@gmail.com>
@@ -224,6 +233,7 @@ Description: =======
224
233
  * Joris Van den Bossche <jorisvandenbossche@gmail.com>
225
234
  * Joshua Arnott <josh@snorfalorpagus.net>
226
235
  * Juan Luis Cano Rodríguez <juanlu@satellogic.com>
236
+ * Justin Shenk <shenk.justin@gmail.com>
227
237
  * Kai Lautaportti <dokai@b426a367-1105-0410-b9ff-cdf4ab011145>
228
238
  * Kelsey Jordahl <kjordahl@enthought.com>
229
239
  * Kevin Wurster <wursterk@gmail.com>
@@ -239,6 +249,9 @@ Description: =======
239
249
  * Marco De Nadai <me@marcodena.it>
240
250
  * Mathieu <mathieu.nivel@gmail.com>
241
251
  * Matt Amos <matt.amos@mapzen.com>
252
+ * Matthias Cuntz <mcuntz@users.noreply.github.com>
253
+ * MejstrikRudolf <68251685+MejstrikRudolf@users.noreply.github.com>
254
+ * Michael K <michael-k@users.noreply.github.com>
242
255
  * Michel Blancard <michel.blancard@data.gouv.fr>
243
256
  * Mike Taves <mwtoews@gmail.com>
244
257
  * Morris Tweed <tweed.morris@gmail.com>
@@ -248,7 +261,9 @@ Description: =======
248
261
  * Peter Sagerson <psagers.github@ignorare.net>
249
262
  * Phil Elson <pelson.pub@gmail.com>
250
263
  * Pierre PACI <villerupt@gmail.com>
264
+ * Raja Gangopadhya <raja.gangopadhya@ridewithvia.com>
251
265
  * Ricardo Zilleruelo <51384295+zetaatlyft@users.noreply.github.com>
266
+ * Rémy Phelipot <remy-phelipot@users.noreply.github.com>
252
267
  * S Murthy <sr-murthy@users.noreply.github.com>
253
268
  * Sampo Syrjanen <sampo.syrjanen@here.com>
254
269
  * Samuel Chin <samuelchin91@gmail.com>
@@ -258,13 +273,17 @@ Description: =======
258
273
  * Steve M. Kim <steve@climate.com>
259
274
  * Taro Matsuzawa aka. btm <btm@tech.email.ne.jp>
260
275
  * Thibault Deutsch <thibault.deutsch@gmail.com>
276
+ * Thomas Gratier <thomas_gratier@yahoo.fr>
261
277
  * Thomas Kluyver <takowl@gmail.com>
278
+ * Tim Gates <tim.gates@iress.com>
262
279
  * Tobias Sauerwein <tobias.sauerwein@camptocamp.com>
263
280
  * Tom Caruso <carusot42@gmail.com>
264
281
  * Tom Clancy <17627475+clncy@users.noreply.github.com>
265
282
  * WANG Aiyong <gepcelway@gmail.com>
266
283
  * Will May <williamcmay@live.com>
267
284
  * Zachary Ware <zachary.ware@gmail.com>
285
+ * aharfoot <aharfoot@users.noreply.github.com>
286
+ * bstadlbauer <11799671+bstadlbauer@users.noreply.github.com>
268
287
  * cclauss <cclauss@me.com>
269
288
  * clefrks <33859587+clefrks@users.noreply.github.com>
270
289
  * davidh-ssec <david.hoese@ssec.wisc.edu>
@@ -276,6 +295,7 @@ Description: =======
276
295
  * rsmb <rsmb@users.noreply.github.com>
277
296
  * shongololo <garethsimons@me.com>
278
297
  * solarjoe <walterwhite666@googlemail.com>
298
+ * sshuair <sshuair@gmail.com>
279
299
  * stephenworsley <49274989+stephenworsley@users.noreply.github.com>
280
300
 
281
301
  See also: https://github.com/Toblerity/Shapely/graphs/contributors.
@@ -295,6 +315,149 @@ Description: =======
295
315
  Changes
296
316
  =======
297
317
 
318
+ 1.8.0 (2021-10-25)
319
+ ------------------
320
+
321
+ This is the final 1.8.0 release. There have been no changes since 1.8rc2.
322
+
323
+ 1.8rc2 (2021-10-19)
324
+ -------------------
325
+
326
+ Build:
327
+
328
+ A pyproject.toml file has been added to specify build dependencies for the
329
+ _vectorized and _speedups modules (#1128). To install shapely without these
330
+ build dependencies, use the features of your build tool that disable PEP 517
331
+ and 518 support.
332
+
333
+ Bug fixes:
334
+
335
+ - Part of PR #1042, which added a new primary GEOS library name to be searched
336
+ for, has been reverted by PR #1201.
337
+
338
+ 1.8rc1 (2021-10-04)
339
+ -------------------
340
+
341
+ Deprecations:
342
+
343
+ The almost_exact() method of BaseGeometry has been deprecated. It is confusing
344
+ and will be removed in 2.0.0. The equals_exact() method is to be used instead.
345
+
346
+ Bug fixes:
347
+
348
+ - We ensure that the _speedups module is always imported before _vectorized to
349
+ avoid an unexplained condition on Windows with Python 3.8 and 3.9 (#1184).
350
+
351
+ 1.8a3 (2021-08-24)
352
+ ------------------
353
+
354
+ Deprecations:
355
+
356
+ The STRtree class deprecation warnings have been removed. The class in 2.0.0
357
+ will be backwards compatible with the class in 1.8.0.
358
+
359
+ Bug fixes:
360
+
361
+ - The __array_interface__ raises only AttributeError, all other exceptions are
362
+ deprecated starting with Numpy 1.21 (#1173).
363
+ - The STRtree class now uses a pair of item, geom sequences internally instead
364
+ of a dict (#1177).
365
+
366
+
367
+ 1.8a2 (2021-07-15)
368
+ ------------------
369
+
370
+ Python version support:
371
+
372
+ Shapely 1.8 will support only Python versions >= 3.6.
373
+
374
+ New features:
375
+
376
+ - The STRtree nearest*() methods now take an optional argument that
377
+ specifies exclusion of the input geometry from results (#1115).
378
+ - A GeometryTypeError has been added to shapely.errors and is consistently
379
+ raised instead of TypeError or ValueError as in version 1.7. For backwards
380
+ compatibility, the new exception will derive from TypeError and Value error
381
+ until version 2.0 (#1099).
382
+ - The STRtree class constructor now takes an optional second argument, a
383
+ sequence of objects to be stored in the tree. If not provided, the sequence
384
+ indices of the geometries will be stored, as before (#1112).
385
+ - The STRtree class has new query_geoms(), query_items(), nearest_geom(), and
386
+ nearest_item() methods (#1112). The query() and nearest() methods remain as
387
+ aliases for query_geoms() and nearest_geom().
388
+
389
+ Bug fixes:
390
+
391
+ - We no longer attempt to load libc to get the free function on Linux, but get
392
+ it from the global symbol table.
393
+ - GEOS error messages printed when GEOS_getCoordSeq() is passed an empty
394
+ geometry are avoided by never passing an empty geometry (#1134).
395
+ - Python's builtin super() is now used only as described in PEP 3135 (#1109).
396
+ - Only load conda GEOS dll if it exists (on Windows) (#1108).
397
+ - Add /opt/homebrew/lib to the list of directories to be searched for the GEOS
398
+ shared library.
399
+ - Added new library search path to assist app creation with cx_Freeze.
400
+
401
+ 1.8a1 (2021-03-03)
402
+ ------------------
403
+
404
+ Shapely 1.8.0 will be a transitional version. There are a few bug fixes and new
405
+ features, but it is mainly about warning of the upcoming changes in 2.0.0.
406
+ Several more pre-releases before 1.8.0 are expected. See the migration guide
407
+ to Shapely 1.8 / 2.0 for more details on how to update your code
408
+ (https://shapely.readthedocs.io/en/latest/migration.html).
409
+
410
+ Python version support:
411
+
412
+ Shapely 1.8 will support only Python versions >= 3.5 (#884).
413
+
414
+ Deprecations:
415
+
416
+ The following functions and geometry attributes and methods will be removed in
417
+ version 2.0.0.
418
+
419
+ - ops.cascaded_union
420
+ - geometry .empty()
421
+ - geometry .ctypes and .__array_interface__
422
+ - multi-part geometry .__len__
423
+ - setting custom attributes on geometry objects
424
+
425
+ Geometry objects will become immutable in version 2.0.0.
426
+
427
+ The STRtree class will be entirely changed in 2.0.0. The exact future API is
428
+ not yet decided, but will be decided before 1.8.0 is released.
429
+
430
+ Deprecation warnings will be emitted in 1.8a1 when any of these features are
431
+ used.
432
+
433
+ The deprecated .to_wkb() and .to_wkt() methods on the geometry objects have
434
+ been removed.
435
+
436
+ New features:
437
+
438
+ - Add a normalize() method to geometry classes, exposing the GEOSNormalize
439
+ algorithm (#1090).
440
+ - Initialize STRtree with a capacity of 10 items per node (#1070).
441
+ - Load libraries relocated to shapely/.libs by auditwheel versions < 3.1 or
442
+ relocated to Shapely.libs by auditwheel versions >= 3.1.
443
+ - shapely.ops.voronoi_diagram() computes the Voronoi Diagram of a geometry or
444
+ geometry collection (#833, #851).
445
+ - shapely.validation.make_valid() fixes invalid geometries (#883)
446
+
447
+ Bug fixes:
448
+
449
+ - For pyinstaller we now handle the case of more than one GEOS library in the
450
+ environment, such as when fiona and rasterio wheels are co-installed with
451
+ shapely (#1071).
452
+ - The ops.split function now splits on touch to eliminate confusing
453
+ discrepancies between results using multi and single part splitters (#1034).
454
+ - Several issues with duplication and order of vertices in ops.substring have
455
+ been fixed (#1008).
456
+
457
+ Packaging:
458
+
459
+ - The wheels uploaded to PyPI will include GEOS 3.9.1.
460
+
298
461
  1.7.1 (2020-08-20)
299
462
  ------------------
300
463
 
@@ -1016,16 +1179,14 @@ Classifier: Intended Audience :: Developers
1016
1179
  Classifier: Intended Audience :: Science/Research
1017
1180
  Classifier: License :: OSI Approved :: BSD License
1018
1181
  Classifier: Operating System :: OS Independent
1019
- Classifier: Programming Language :: Python :: 2
1020
- Classifier: Programming Language :: Python :: 2.7
1021
1182
  Classifier: Programming Language :: Python :: 3
1022
- Classifier: Programming Language :: Python :: 3.5
1023
1183
  Classifier: Programming Language :: Python :: 3.6
1024
1184
  Classifier: Programming Language :: Python :: 3.7
1025
1185
  Classifier: Programming Language :: Python :: 3.8
1186
+ Classifier: Programming Language :: Python :: 3.9
1187
+ Classifier: Programming Language :: Python :: 3.10
1026
1188
  Classifier: Topic :: Scientific/Engineering :: GIS
1027
- Requires: Python (>=2.7)
1028
- Requires: libgeos_c (>=3.3)
1189
+ Requires-Python: >=3.6
1190
+ Provides-Extra: vectorized
1029
1191
  Provides-Extra: test
1030
1192
  Provides-Extra: all
1031
- Provides-Extra: vectorized
@@ -2,16 +2,16 @@
2
2
  Shapely
3
3
  =======
4
4
 
5
- |travis| |appveyor| |coveralls|
5
+ |github-actions| |appveyor| |coveralls|
6
6
 
7
- .. |travis| image:: https://travis-ci.org/Toblerity/Shapely.svg?branch=maint-1.7
8
- :target: https://travis-ci.org/Toblerity/Shapely
7
+ .. |github-actions| image:: https://github.com/Toblerity/Shapely/workflows/Tests%20(Linux)/badge.svg
8
+ :target: https://github.com/Toblerity/Shapely/actions
9
9
 
10
- .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/Toblerity/Shapely?branch=maint-1.7&svg=true
11
- :target: https://ci.appveyor.com/project/frsci/shapely?branch=maint-1.7
10
+ .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/Toblerity/Shapely?branch=master&svg=true
11
+ :target: https://ci.appveyor.com/project/frsci/shapely?branch=master
12
12
 
13
- .. |coveralls| image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=maint-1.7
14
- :target: https://coveralls.io/github/Toblerity/Shapely?branch=maint-1.7
13
+ .. |coveralls| image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=master
14
+ :target: https://coveralls.io/github/Toblerity/Shapely?branch=master
15
15
 
16
16
  Manipulation and analysis of geometric objects in the Cartesian plane.
17
17
 
@@ -50,9 +50,9 @@ See the manual for more examples and guidance.
50
50
  Requirements
51
51
  ============
52
52
 
53
- Shapely 1.7 requires
53
+ Shapely 1.8 requires
54
54
 
55
- * Python 2.7, >=3.5
55
+ * Python >=3.6
56
56
  * GEOS >=3.3
57
57
 
58
58
  Installing Shapely