shapely 1.5.0__tar.gz → 1.5.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.5.0 → Shapely-1.5.1}/CHANGES.txt +4 -0
- {Shapely-1.5.0/Shapely.egg-info → Shapely-1.5.1}/PKG-INFO +8 -4
- {Shapely-1.5.0 → Shapely-1.5.1}/README.rst +3 -3
- {Shapely-1.5.0 → Shapely-1.5.1/Shapely.egg-info}/PKG-INFO +8 -4
- {Shapely-1.5.0 → Shapely-1.5.1}/Shapely.egg-info/SOURCES.txt +1 -0
- Shapely-1.5.1/VERSION.txt +1 -0
- Shapely-1.5.1/shapely/__init__.py +1 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/base.py +4 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/polygon.py +2 -0
- Shapely-1.5.1/tests/test_hash.py +21 -0
- Shapely-1.5.0/VERSION.txt +0 -1
- Shapely-1.5.0/shapely/__init__.py +0 -1
- {Shapely-1.5.0 → Shapely-1.5.1}/CREDITS.txt +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/LICENSE.txt +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/docs/design.rst +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/docs/index.rst +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/docs/manual.rst +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/docs/project.rst +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/setup.cfg +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/setup.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/_geos.pxi +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/affinity.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/algorithms/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/algorithms/cga.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/coords.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/examples/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/examples/dissolve.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/examples/geoms.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/examples/intersect.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/ftools.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/collection.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/geo.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/point.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/geos.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/impl.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/iterops.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/linref.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/ops.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/predicates.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/prepared.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/speedups/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/speedups/_speedups.c +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/strtree.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/topology.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/validation.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/vectorized/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/vectorized/_vectorized.pyx +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/wkb.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/shapely/wkt.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/__init__.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/binascii_hex.txt +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/conftest.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_affinity.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_box.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_cga.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_collection.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_coords.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_delaunay.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_delegated.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_dlls.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_doctests.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_emptiness.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_equality.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_geointerface.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_geomseq.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_getitem.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_invalid_geometries.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_iterops.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_linear_referencing.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_linemerge.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_linestring.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_locale.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_mapping.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_multilinestring.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_multipoint.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_multipolygon.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_ndarrays.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_nearest.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_operations.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_operators.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_persist.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_pickle.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_point.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_polygon.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_polygonize.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_predicates.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_prepared.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_products_z.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_singularity.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_snap.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_strtree.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_styles.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_transform.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_union.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_validation.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_vectorized.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/test_xy.py +0 -0
- {Shapely-1.5.0 → Shapely-1.5.1}/tests/threading_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -38,15 +38,15 @@ Description: =======
|
|
|
38
38
|
* Python >=2.6 (including Python 3.x)
|
|
39
39
|
* GEOS >=3.3 (Shapely 1.2 requires only GEOS 3.1 but YMMV)
|
|
40
40
|
|
|
41
|
-
Installing Shapely
|
|
42
|
-
|
|
41
|
+
Installing Shapely
|
|
42
|
+
==================
|
|
43
43
|
|
|
44
44
|
Windows users should download an executable installer from
|
|
45
45
|
http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely or PyPI (if available).
|
|
46
46
|
|
|
47
47
|
On other systems, acquire the GEOS by any means (`brew install geos` on OS X or
|
|
48
48
|
`apt-get install libgeos-dev` on Debian/Ubuntu), make sure that it is on the
|
|
49
|
-
system library path, and install Shapely
|
|
49
|
+
system library path, and install Shapely from the Python package index.
|
|
50
50
|
|
|
51
51
|
.. code-block:: console
|
|
52
52
|
|
|
@@ -195,6 +195,10 @@ Description: =======
|
|
|
195
195
|
Changes
|
|
196
196
|
=======
|
|
197
197
|
|
|
198
|
+
1.5.1 (2014-12-04)
|
|
199
|
+
------------------
|
|
200
|
+
- Restore geometry hashing (#209).
|
|
201
|
+
|
|
198
202
|
1.5.0 (2014-12-02)
|
|
199
203
|
------------------
|
|
200
204
|
- Affine transformation speedups (#197).
|
|
@@ -30,15 +30,15 @@ Shapely 1.5 requires
|
|
|
30
30
|
* Python >=2.6 (including Python 3.x)
|
|
31
31
|
* GEOS >=3.3 (Shapely 1.2 requires only GEOS 3.1 but YMMV)
|
|
32
32
|
|
|
33
|
-
Installing Shapely
|
|
34
|
-
|
|
33
|
+
Installing Shapely
|
|
34
|
+
==================
|
|
35
35
|
|
|
36
36
|
Windows users should download an executable installer from
|
|
37
37
|
http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely or PyPI (if available).
|
|
38
38
|
|
|
39
39
|
On other systems, acquire the GEOS by any means (`brew install geos` on OS X or
|
|
40
40
|
`apt-get install libgeos-dev` on Debian/Ubuntu), make sure that it is on the
|
|
41
|
-
system library path, and install Shapely
|
|
41
|
+
system library path, and install Shapely from the Python package index.
|
|
42
42
|
|
|
43
43
|
.. code-block:: console
|
|
44
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.1
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: Geometric objects, predicates, and operations
|
|
5
5
|
Home-page: https://github.com/Toblerity/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -38,15 +38,15 @@ Description: =======
|
|
|
38
38
|
* Python >=2.6 (including Python 3.x)
|
|
39
39
|
* GEOS >=3.3 (Shapely 1.2 requires only GEOS 3.1 but YMMV)
|
|
40
40
|
|
|
41
|
-
Installing Shapely
|
|
42
|
-
|
|
41
|
+
Installing Shapely
|
|
42
|
+
==================
|
|
43
43
|
|
|
44
44
|
Windows users should download an executable installer from
|
|
45
45
|
http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely or PyPI (if available).
|
|
46
46
|
|
|
47
47
|
On other systems, acquire the GEOS by any means (`brew install geos` on OS X or
|
|
48
48
|
`apt-get install libgeos-dev` on Debian/Ubuntu), make sure that it is on the
|
|
49
|
-
system library path, and install Shapely
|
|
49
|
+
system library path, and install Shapely from the Python package index.
|
|
50
50
|
|
|
51
51
|
.. code-block:: console
|
|
52
52
|
|
|
@@ -195,6 +195,10 @@ Description: =======
|
|
|
195
195
|
Changes
|
|
196
196
|
=======
|
|
197
197
|
|
|
198
|
+
1.5.1 (2014-12-04)
|
|
199
|
+
------------------
|
|
200
|
+
- Restore geometry hashing (#209).
|
|
201
|
+
|
|
198
202
|
1.5.0 (2014-12-02)
|
|
199
203
|
------------------
|
|
200
204
|
- Affine transformation speedups (#197).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.5.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.5.1"
|
|
@@ -261,6 +261,8 @@ class BaseGeometry(object):
|
|
|
261
261
|
def __ne__(self, other):
|
|
262
262
|
return not self.__eq__(other)
|
|
263
263
|
|
|
264
|
+
__hash__ = object.__hash__
|
|
265
|
+
|
|
264
266
|
# Array and ctypes interfaces
|
|
265
267
|
# ---------------------------
|
|
266
268
|
|
|
@@ -740,6 +742,8 @@ class BaseMultipartGeometry(BaseGeometry):
|
|
|
740
742
|
def __ne__(self, other):
|
|
741
743
|
return not self.__eq__(other)
|
|
742
744
|
|
|
745
|
+
__hash__ = object.__hash__
|
|
746
|
+
|
|
743
747
|
def svg(self, scale_factor=1.):
|
|
744
748
|
"""
|
|
745
749
|
SVG representation of the geometry. Scale factor is multiplied by
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from shapely.geometry import Point, MultiPoint, Polygon, GeometryCollection
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def test_point():
|
|
5
|
+
g = Point(0, 0)
|
|
6
|
+
assert hash(g)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def test_multipoint():
|
|
10
|
+
g = MultiPoint([(0, 0)])
|
|
11
|
+
assert hash(g)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def test_polygon():
|
|
15
|
+
g = Point(0, 0).buffer(1.0)
|
|
16
|
+
assert hash(g)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def test_collection():
|
|
20
|
+
g = GeometryCollection([Point(0, 0)])
|
|
21
|
+
assert hash(g)
|
Shapely-1.5.0/VERSION.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.5.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.5.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|