shapely 1.4.0__tar.gz → 1.4.1__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.0 → Shapely-1.4.1}/CHANGES.txt +4 -0
- {Shapely-1.4.0/Shapely.egg-info → Shapely-1.4.1}/PKG-INFO +5 -1
- {Shapely-1.4.0 → Shapely-1.4.1/Shapely.egg-info}/PKG-INFO +5 -1
- {Shapely-1.4.0 → Shapely-1.4.1}/Shapely.egg-info/SOURCES.txt +0 -1
- Shapely-1.4.1/VERSION.txt +1 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/docs/manual.rst +1 -1
- Shapely-1.4.1/shapely/__init__.py +1 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/_geos.pxi +1 -1
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/ctypes_declarations.py +0 -3
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/base.py +3 -1
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/multilinestring.py +6 -1
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/speedups/_speedups.c +1915 -1753
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_linestring.py +10 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_multilinestring.py +18 -1
- Shapely-1.4.0/VERSION.txt +0 -1
- Shapely-1.4.0/shapely/__init__.py +0 -1
- Shapely-1.4.0/shapely/vectorized/_vectorized.c +0 -20100
- {Shapely-1.4.0 → Shapely-1.4.1}/CREDITS.txt +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/LICENSE.txt +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/README.rst +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/docs/design.rst +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/docs/index.rst +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/docs/project.rst +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/setup.cfg +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/setup.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/affinity.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/algorithms/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/algorithms/cga.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/coords.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/examples/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/examples/dissolve.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/examples/geoms.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/examples/intersect.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/ftools.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/collection.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/geo.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/point.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/polygon.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/geos.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/impl.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/iterops.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/linref.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/ops.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/predicates.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/prepared.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/speedups/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/strtree.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/topology.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/validation.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/vectorized/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/vectorized/_vectorized.pyx +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/wkb.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/shapely/wkt.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/__init__.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/binascii_hex.txt +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/conftest.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_affinity.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_box.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_cga.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_collection.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_delaunay.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_delegated.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_dlls.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_doctests.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_emptiness.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_equality.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_geointerface.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_geomseq.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_getitem.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_invalid_geometries.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_iterops.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_linear_referencing.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_linemerge.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_locale.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_mapping.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_multipoint.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_multipolygon.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_ndarrays.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_nearest.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_operations.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_operators.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_persist.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_pickle.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_point.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_polygon.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_polygonize.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_predicates.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_prepared.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_products_z.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_singularity.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_strtree.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_styles.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_transform.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_union.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_validation.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_vectorized.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/tests/test_xy.py +0 -0
- {Shapely-1.4.0 → Shapely-1.4.1}/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.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -248,6 +248,10 @@ Description: =======
|
|
|
248
248
|
Changes
|
|
249
249
|
=======
|
|
250
250
|
|
|
251
|
+
1.4.1 (2014-09-23)
|
|
252
|
+
------------------
|
|
253
|
+
- Return of support for GEOS 3.2 (#176, #178).
|
|
254
|
+
|
|
251
255
|
1.4.0 (2014-09-08)
|
|
252
256
|
------------------
|
|
253
257
|
- SVG representations for IPython's inline image protocol.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -248,6 +248,10 @@ Description: =======
|
|
|
248
248
|
Changes
|
|
249
249
|
=======
|
|
250
250
|
|
|
251
|
+
1.4.1 (2014-09-23)
|
|
252
|
+
------------------
|
|
253
|
+
- Return of support for GEOS 3.2 (#176, #178).
|
|
254
|
+
|
|
251
255
|
1.4.0 (2014-09-08)
|
|
252
256
|
------------------
|
|
253
257
|
- SVG representations for IPython's inline image protocol.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.4.1
|
|
@@ -717,7 +717,7 @@ instances, thereby making copies.
|
|
|
717
717
|
|
|
718
718
|
.. plot:: code/multipolygon.py
|
|
719
719
|
|
|
720
|
-
Figure 7. On the
|
|
720
|
+
Figure 7. On the left, a `valid` `MultiPolygon` with 2 members, and on the
|
|
721
721
|
right, a `MultiPolygon` that is invalid because its members touch at an
|
|
722
722
|
infinite number of points (along a line).
|
|
723
723
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.1"
|
|
@@ -26,7 +26,6 @@ cdef extern from "geos_c.h":
|
|
|
26
26
|
GEOSGeometry *GEOSGeom_createLinearRing_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil
|
|
27
27
|
GEOSGeometry *GEOSGeom_clone_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
28
28
|
GEOSCoordSequence *GEOSCoordSeq_clone_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil
|
|
29
|
-
int GEOSGeom_getCoordinateDimension_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
30
29
|
|
|
31
30
|
void GEOSGeom_destroy_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
32
31
|
|
|
@@ -41,6 +40,7 @@ cdef extern from "geos_c.h":
|
|
|
41
40
|
char GEOSPreparedTouches_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
|
|
42
41
|
char GEOSPreparedWithin_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
|
|
43
42
|
|
|
43
|
+
char GEOSHasZ_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
44
44
|
char GEOSisRing_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
45
45
|
char GEOSisClosed_r(GEOSContextHandle_t, GEOSGeometry *) nogil
|
|
46
46
|
|
|
@@ -357,9 +357,6 @@ def prototype(lgeos, geos_version):
|
|
|
357
357
|
lgeos.GEOSGeom_getDimensions.restype = c_int
|
|
358
358
|
lgeos.GEOSGeom_getDimensions.argtypes = [c_void_p]
|
|
359
359
|
|
|
360
|
-
lgeos.GEOSGeom_getCoordinateDimension.restype = c_int
|
|
361
|
-
lgeos.GEOSGeom_getCoordinateDimension.argtypes = [c_void_p]
|
|
362
|
-
|
|
363
360
|
'''
|
|
364
361
|
Misc functions
|
|
365
362
|
'''
|
|
@@ -129,7 +129,9 @@ def geos_geom_from_py(ob, create_func=None):
|
|
|
129
129
|
cs = lgeos.GEOSGeom_getCoordSeq(ob._geom)
|
|
130
130
|
cs = lgeos.GEOSCoordSeq_clone(cs)
|
|
131
131
|
geom = create_func(cs)
|
|
132
|
-
|
|
132
|
+
|
|
133
|
+
N = ob._ndim
|
|
134
|
+
|
|
133
135
|
return geom, N
|
|
134
136
|
|
|
135
137
|
def exceptNull(func):
|
|
@@ -130,7 +130,12 @@ def geos_multilinestring_from_py(ob):
|
|
|
130
130
|
for l in range(L):
|
|
131
131
|
geom, ndims = linestring.geos_linestring_from_py(array['data'][l])
|
|
132
132
|
subs[i] = cast(geom, c_void_p)
|
|
133
|
-
|
|
133
|
+
|
|
134
|
+
if lgeos.GEOSHasZ(subs[0]):
|
|
135
|
+
N = 3
|
|
136
|
+
else:
|
|
137
|
+
N = 2
|
|
138
|
+
|
|
134
139
|
except (NotImplementedError, AttributeError):
|
|
135
140
|
obs = getattr(ob, 'geoms', ob)
|
|
136
141
|
L = len(obs)
|