shapely 1.4.3__tar.gz → 1.4.4__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.4.3 → Shapely-1.4.4}/CHANGES.txt +4 -0
- {Shapely-1.4.3/Shapely.egg-info → Shapely-1.4.4}/PKG-INFO +6 -2
- {Shapely-1.4.3 → Shapely-1.4.4}/README.rst +1 -1
- {Shapely-1.4.3 → Shapely-1.4.4/Shapely.egg-info}/PKG-INFO +6 -2
- {Shapely-1.4.3 → Shapely-1.4.4}/Shapely.egg-info/SOURCES.txt +1 -1
- Shapely-1.4.4/VERSION.txt +1 -0
- Shapely-1.4.4/shapely/__init__.py +1 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/coords.py +6 -5
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/speedups/_speedups.c +1011 -909
- Shapely-1.4.4/tests/test_coords.py +40 -0
- Shapely-1.4.3/VERSION.txt +0 -1
- Shapely-1.4.3/shapely/__init__.py +0 -1
- Shapely-1.4.3/shapely/vectorized/_vectorized.c +0 -20100
- {Shapely-1.4.3 → Shapely-1.4.4}/CREDITS.txt +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/LICENSE.txt +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/docs/design.rst +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/docs/index.rst +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/docs/manual.rst +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/docs/project.rst +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/setup.cfg +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/setup.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/_geos.pxi +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/affinity.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/algorithms/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/algorithms/cga.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/examples/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/examples/dissolve.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/examples/geoms.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/examples/intersect.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/ftools.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/base.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/collection.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/geo.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/point.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/polygon.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/geos.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/impl.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/iterops.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/linref.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/ops.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/predicates.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/prepared.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/speedups/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/strtree.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/topology.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/validation.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/vectorized/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/vectorized/_vectorized.pyx +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/wkb.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/shapely/wkt.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/__init__.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/binascii_hex.txt +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/conftest.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_affinity.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_box.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_cga.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_collection.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_delaunay.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_delegated.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_dlls.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_doctests.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_emptiness.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_equality.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_geointerface.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_geomseq.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_getitem.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_invalid_geometries.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_iterops.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_linear_referencing.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_linemerge.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_linestring.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_locale.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_mapping.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_multilinestring.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_multipoint.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_multipolygon.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_ndarrays.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_nearest.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_operations.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_operators.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_persist.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_pickle.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_point.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_polygon.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_polygonize.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_predicates.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_prepared.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_products_z.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_singularity.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_strtree.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_styles.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_transform.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_union.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_validation.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_vectorized.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/test_xy.py +0 -0
- {Shapely-1.4.3 → Shapely-1.4.4}/tests/threading_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.4
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -36,7 +36,7 @@ Description: =======
|
|
|
36
36
|
Shapely 1.4 requires
|
|
37
37
|
|
|
38
38
|
* Python >=2.6 (including Python 3.x)
|
|
39
|
-
* libgeos_c >=3.
|
|
39
|
+
* libgeos_c >=3.3 (Shapely 1.2 requires only libgeos_c 3.1 but YMMV)
|
|
40
40
|
|
|
41
41
|
Installation
|
|
42
42
|
============
|
|
@@ -229,6 +229,10 @@ Description: =======
|
|
|
229
229
|
Changes
|
|
230
230
|
=======
|
|
231
231
|
|
|
232
|
+
1.4.4 (2014-11-02)
|
|
233
|
+
------------------
|
|
234
|
+
- Proper conversion of numpy float32 vals to coords (#186).
|
|
235
|
+
|
|
232
236
|
1.4.3 (2014-10-01)
|
|
233
237
|
------------------
|
|
234
238
|
- Fix for endianness bug in WKB writer (#174).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.4
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -36,7 +36,7 @@ Description: =======
|
|
|
36
36
|
Shapely 1.4 requires
|
|
37
37
|
|
|
38
38
|
* Python >=2.6 (including Python 3.x)
|
|
39
|
-
* libgeos_c >=3.
|
|
39
|
+
* libgeos_c >=3.3 (Shapely 1.2 requires only libgeos_c 3.1 but YMMV)
|
|
40
40
|
|
|
41
41
|
Installation
|
|
42
42
|
============
|
|
@@ -229,6 +229,10 @@ Description: =======
|
|
|
229
229
|
Changes
|
|
230
230
|
=======
|
|
231
231
|
|
|
232
|
+
1.4.4 (2014-11-02)
|
|
233
|
+
------------------
|
|
234
|
+
- Proper conversion of numpy float32 vals to coords (#186).
|
|
235
|
+
|
|
232
236
|
1.4.3 (2014-10-01)
|
|
233
237
|
------------------
|
|
234
238
|
- Fix for endianness bug in WKB writer (#174).
|
|
@@ -50,7 +50,6 @@ shapely/geometry/proxy.py
|
|
|
50
50
|
shapely/speedups/__init__.py
|
|
51
51
|
shapely/speedups/_speedups.c
|
|
52
52
|
shapely/vectorized/__init__.py
|
|
53
|
-
shapely/vectorized/_vectorized.c
|
|
54
53
|
shapely/vectorized/_vectorized.pyx
|
|
55
54
|
tests/__init__.py
|
|
56
55
|
tests/binascii_hex.txt
|
|
@@ -59,6 +58,7 @@ tests/test_affinity.py
|
|
|
59
58
|
tests/test_box.py
|
|
60
59
|
tests/test_cga.py
|
|
61
60
|
tests/test_collection.py
|
|
61
|
+
tests/test_coords.py
|
|
62
62
|
tests/test_delaunay.py
|
|
63
63
|
tests/test_delegated.py
|
|
64
64
|
tests/test_dlls.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.4.4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.4"
|
|
@@ -21,13 +21,14 @@ def required(ob):
|
|
|
21
21
|
"""Return an object that meets Shapely requirements for self-owned
|
|
22
22
|
C-continguous data, copying if necessary, or just return the original
|
|
23
23
|
object."""
|
|
24
|
-
if
|
|
25
|
-
|
|
26
|
-
if has_numpy:
|
|
27
|
-
return numpy.require(ob, numpy.float64, ["C", "OWNDATA"])
|
|
28
|
-
else:
|
|
24
|
+
if hasattr(ob, '__array_interface__'):
|
|
25
|
+
if ob.__array_interface__.get('strides') and not has_numpy:
|
|
29
26
|
# raise an error if strided. See issue #52.
|
|
30
27
|
raise ValueError("C-contiguous data is required")
|
|
28
|
+
else:
|
|
29
|
+
# numpy.require will just return (ob) if it is already
|
|
30
|
+
# float64 and well-behaved.
|
|
31
|
+
return numpy.require(ob, numpy.float64, ["C", "OWNDATA"])
|
|
31
32
|
else:
|
|
32
33
|
return ob
|
|
33
34
|
|