shapely 1.6.0__tar.gz → 1.6a2__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 (143) hide show
  1. {Shapely-1.6.0 → Shapely-1.6a2}/CHANGES.txt +0 -56
  2. {Shapely-1.6.0 → Shapely-1.6a2}/CREDITS.txt +7 -9
  3. {Shapely-1.6.0/Shapely.egg-info → Shapely-1.6a2}/PKG-INFO +47 -113
  4. {Shapely-1.6.0 → Shapely-1.6a2}/README.rst +39 -47
  5. {Shapely-1.6.0 → Shapely-1.6a2/Shapely.egg-info}/PKG-INFO +47 -113
  6. {Shapely-1.6.0 → Shapely-1.6a2}/Shapely.egg-info/SOURCES.txt +16 -10
  7. {Shapely-1.6.0 → Shapely-1.6a2}/Shapely.egg-info/requires.txt +4 -4
  8. Shapely-1.6a2/VERSION.txt +1 -0
  9. {Shapely-1.6.0 → Shapely-1.6a2}/docs/manual.rst +4 -8
  10. Shapely-1.6a2/packaging-15.3.dist-info/DESCRIPTION.rst +121 -0
  11. Shapely-1.6a2/packaging-15.3.dist-info/METADATA +141 -0
  12. Shapely-1.6a2/packaging-15.3.dist-info/RECORD +13 -0
  13. Shapely-1.6a2/packaging-15.3.dist-info/WHEEL +6 -0
  14. Shapely-1.6a2/packaging-15.3.dist-info/metadata.json +1 -0
  15. Shapely-1.6a2/packaging-15.3.dist-info/pbr.json +1 -0
  16. Shapely-1.6a2/packaging-15.3.dist-info/top_level.txt +1 -0
  17. Shapely-1.6a2/setup.cfg +8 -0
  18. {Shapely-1.6.0 → Shapely-1.6a2}/setup.py +15 -8
  19. Shapely-1.6a2/shapely/__init__.py +1 -0
  20. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/coords.py +21 -0
  21. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/geo.py +0 -7
  22. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/linestring.py +105 -51
  23. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/multipoint.py +53 -14
  24. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/point.py +55 -19
  25. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/polygon.py +122 -68
  26. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geos.py +24 -14
  27. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/ops.py +2 -2
  28. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/speedups/__init__.py +7 -14
  29. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/speedups/_speedups.c +1366 -2015
  30. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/speedups/_speedups.pyx +1 -23
  31. {Shapely-1.6.0 → Shapely-1.6a2}/tests/conftest.py +2 -2
  32. Shapely-1.6a2/tests/test_collection.py +29 -0
  33. Shapely-1.6a2/tests/test_geos_err_handler.py +33 -0
  34. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_linestring.py +0 -5
  35. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_ndarrays.py +4 -4
  36. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_point.py +0 -5
  37. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_vectorized.py +6 -7
  38. Shapely-1.6.0/VERSION.txt +0 -1
  39. Shapely-1.6.0/setup.cfg +0 -11
  40. Shapely-1.6.0/shapely/__init__.py +0 -1
  41. Shapely-1.6.0/shapely/algorithms/__init__.py +0 -0
  42. Shapely-1.6.0/tests/test_collection.py +0 -68
  43. Shapely-1.6.0/tests/test_geos_err_handler.py +0 -65
  44. {Shapely-1.6.0 → Shapely-1.6a2}/LICENSE.txt +0 -0
  45. {Shapely-1.6.0 → Shapely-1.6a2}/Shapely.egg-info/dependency_links.txt +0 -0
  46. {Shapely-1.6.0 → Shapely-1.6a2}/Shapely.egg-info/top_level.txt +0 -0
  47. {Shapely-1.6.0 → Shapely-1.6a2}/docs/design.rst +0 -0
  48. {Shapely-1.6.0 → Shapely-1.6a2}/docs/index.rst +0 -0
  49. {Shapely-1.6.0 → Shapely-1.6a2}/docs/project.rst +0 -0
  50. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/__about__.py +0 -0
  51. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/__init__.py +0 -0
  52. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/_compat.py +0 -0
  53. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/_structures.py +0 -0
  54. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/markers.py +0 -0
  55. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/requirements.py +0 -0
  56. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/specifiers.py +0 -0
  57. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/utils.py +0 -0
  58. {Shapely-1.6.0/_vendor → Shapely-1.6a2}/packaging/version.py +0 -0
  59. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/_buildcfg.py +0 -0
  60. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/_geos.pxi +0 -0
  61. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/affinity.py +0 -0
  62. {Shapely-1.6.0/_vendor → Shapely-1.6a2/shapely/algorithms}/__init__.py +0 -0
  63. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/algorithms/cga.py +0 -0
  64. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/algorithms/polylabel.py +0 -0
  65. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/ctypes_declarations.py +0 -0
  66. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/errors.py +0 -0
  67. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/examples/__init__.py +0 -0
  68. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/examples/dissolve.py +0 -0
  69. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/examples/geoms.py +0 -0
  70. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/examples/intersect.py +0 -0
  71. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/ftools.py +0 -0
  72. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/__init__.py +0 -0
  73. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/base.py +0 -0
  74. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/collection.py +0 -0
  75. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/multilinestring.py +0 -0
  76. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/multipolygon.py +0 -0
  77. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/geometry/proxy.py +0 -0
  78. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/impl.py +0 -0
  79. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/iterops.py +0 -0
  80. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/linref.py +0 -0
  81. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/predicates.py +0 -0
  82. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/prepared.py +0 -0
  83. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/strtree.py +0 -0
  84. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/topology.py +0 -0
  85. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/validation.py +0 -0
  86. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/vectorized/__init__.py +0 -0
  87. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/vectorized/_vectorized.pyx +0 -0
  88. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/wkb.py +0 -0
  89. {Shapely-1.6.0 → Shapely-1.6a2}/shapely/wkt.py +0 -0
  90. {Shapely-1.6.0 → Shapely-1.6a2}/tests/__init__.py +0 -0
  91. {Shapely-1.6.0 → Shapely-1.6a2}/tests/binascii_hex.txt +0 -0
  92. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_affinity.py +0 -0
  93. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_box.py +0 -0
  94. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_cga.py +0 -0
  95. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_coords.py +0 -0
  96. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_default_impl.py +0 -0
  97. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_delaunay.py +0 -0
  98. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_delegated.py +0 -0
  99. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_dlls.py +0 -0
  100. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_doctests.py +0 -0
  101. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_emptiness.py +0 -0
  102. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_empty_polygons.py +0 -0
  103. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_equality.py +0 -0
  104. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_geointerface.py +0 -0
  105. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_geomseq.py +0 -0
  106. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_getitem.py +0 -0
  107. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_hash.py +0 -0
  108. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_invalid_geometries.py +0 -0
  109. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_iterops.py +0 -0
  110. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_linear_referencing.py +0 -0
  111. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_linemerge.py +0 -0
  112. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_locale.py +0 -0
  113. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_mapping.py +0 -0
  114. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_minimum_rotated_rectangle.py +0 -0
  115. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_multi.py +0 -0
  116. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_multilinestring.py +0 -0
  117. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_multipoint.py +0 -0
  118. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_multipolygon.py +0 -0
  119. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_nearest.py +0 -0
  120. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_operations.py +0 -0
  121. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_operators.py +0 -0
  122. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_parallel_offset.py +0 -0
  123. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_persist.py +0 -0
  124. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_pickle.py +0 -0
  125. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_polygon.py +0 -0
  126. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_polygonize.py +0 -0
  127. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_polylabel.py +0 -0
  128. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_predicates.py +0 -0
  129. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_prepared.py +0 -0
  130. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_products_z.py +0 -0
  131. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_shared_paths.py +0 -0
  132. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_singularity.py +0 -0
  133. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_snap.py +0 -0
  134. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_split.py +0 -0
  135. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_strtree.py +0 -0
  136. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_styles.py +0 -0
  137. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_svg.py +0 -0
  138. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_transform.py +0 -0
  139. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_union.py +0 -0
  140. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_validation.py +0 -0
  141. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_wkt.py +0 -0
  142. {Shapely-1.6.0 → Shapely-1.6a2}/tests/test_xy.py +0 -0
  143. {Shapely-1.6.0 → Shapely-1.6a2}/tests/threading_test.py +0 -0
@@ -1,62 +1,6 @@
1
1
  Changes
2
2
  =======
3
3
 
4
- 1.6.0 (2017-08-21)
5
- ------------------
6
-
7
- - Project documentation is now hosted at
8
- https://shapely.readthedocs.io/en/latest/.
9
-
10
- 1.6b5 (2017-08-18)
11
- ------------------
12
-
13
- Bug fixes:
14
-
15
- - Passing a single coordinate to ``LineString()`` with speedups disabled now
16
- raises a ValueError as happens with speedups enabled. This resolves #509.
17
-
18
- 1.6b4 (2017-02-15)
19
- ------------------
20
-
21
- Bug fixes:
22
-
23
- - Isolate vendorized packaging in a _vendor directory, remove obsolete
24
- dist-info, and remove packaging from project requirements (resolves #468).
25
-
26
- 1.6b3 (2016-12-31)
27
- ------------------
28
-
29
- Bug fixes:
30
-
31
- - Level for log messages originating from the GEOS notice handler reduced from
32
- WARNING to INFO (#447).
33
- - Permit speedups to be imported again without Numpy (#444).
34
-
35
- 1.6b2 (2016-12-12)
36
- ------------------
37
-
38
- New features:
39
-
40
- - Add support for GeometryCollection to shape and asShape functions (#422).
41
-
42
- 1.6b1 (2016-12-12)
43
- ------------------
44
-
45
- Bug fixes:
46
-
47
- - Implemented __array_interface__ for empty Points and LineStrings (#403).
48
-
49
- 1.6a3 (2016-12-01)
50
- ------------------
51
-
52
- Bug fixes:
53
-
54
- - Remove accidental hard requirement of Numpy (#431).
55
-
56
- Packaging:
57
-
58
- - Put Numpy in an optional requirement set named "vectorized" (#431).
59
-
60
4
  1.6a2 (2016-11-09)
61
5
  ------------------
62
6
 
@@ -8,17 +8,16 @@ Shapely is written by:
8
8
  * Joshua Arnott <josh@snorfalorpagus.net>
9
9
  * Mike Toews <mwtoews@gmail.com>
10
10
  * Jacob Wasserman <jwasserman@gmail.com>
11
- * Aron Bierbaum <aronbierbaum@gmail.com>
11
+ * aronbierbaum <aronbierbaum@b426a367-1105-0410-b9ff-cdf4ab011145>
12
12
  * Allan Adair <allan@rfspot.com>
13
13
  * Johannes Schönberger <jschoenberger@demuc.de>
14
14
  * georgeouzou <geothrock@gmail.com>
15
15
  * Phil Elson <pelson.pub@gmail.com>
16
16
  * Howard Butler <hobu.inc@gmail.com>
17
- * Kelsey Jordahl <kjordahl@enthought.com>
18
17
  * dokai <dokai@b426a367-1105-0410-b9ff-cdf4ab011145>
19
- * Kevin Wurster <kevin@skytruth.org>
20
18
  * Gabi Davar <grizzly.nyo@gmail.com>
21
- * Thibault Deutsch <thibault.deutsch@gmail.com>
19
+ * Kevin Wurster <kevin@skytruth.org>
20
+ * Kelsey Jordahl <kjordahl@enthought.com>
22
21
  * Dave Collins <dave@hopest.net>
23
22
  * fredj <frederic.junod@camptocamp.com>
24
23
  * Brad Hards <bradh@frogmouth.net>
@@ -34,18 +33,16 @@ Shapely is written by:
34
33
  * Jeethu Rao <jeethu@jeethurao.com>
35
34
  * Peter Sagerson <psagers.github@ignorare.net>
36
35
  * Jason Sanford <jason.sanford@mapmyfitness.com>
37
- * mindw <grizzly.nyo@gmail.com>
38
36
  * Jamie Hall <jamie1212@gmail.com>
39
37
  * James Spencer <james.s.spencer@gmail.com>
40
38
  * Stephan Hügel <urschrei@gmail.com>
41
- * Bas Couwenberg <sebastic@xs4all.nl>
42
- * James Douglass <jamesdouglassusa@gmail.com>
39
+ * Benjamin Root <ben.v.root@gmail.com>
43
40
  * Tobias Sauerwein <tobias.sauerwein@camptocamp.com>
44
41
  * WANG Aiyong <gepcelway@gmail.com>
42
+ * James Douglass <jamesdouglassusa@gmail.com>
45
43
  * Brandon Wood <btwood@geometeor.com>
46
- * BertrandGervais <bertrand.gervais.pro@gmail.com>
47
44
  * Andy Freeland <andy@andyfreeland.net>
48
- * Benjamin Root <ben.v.root@gmail.com>
45
+ * BertrandGervais <bertrand.gervais.pro@gmail.com>
49
46
  * giumas <gmasetti@ccom.unh.edu>
50
47
  * Leandro Lima <leandro@limaesilva.com.br>
51
48
  * Maarten Vermeyen <maarten.vermeyen@rwo.vlaanderen.be>
@@ -59,6 +56,7 @@ Additional help from:
59
56
 
60
57
  * Justin Bronn (GeoDjango) for ctypes inspiration
61
58
  * Martin Davis (JTS)
59
+ * Jaakko Salli for the Windows distributions
62
60
  * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
63
61
 
64
62
  Major portions of this work were supported by a grant (for Pleiades_) from the
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: Shapely
3
- Version: 1.6.0
3
+ Version: 1.6a2
4
4
  Summary: Geometric objects, predicates, and operations
5
5
  Home-page: https://github.com/Toblerity/Shapely
6
6
  Author: Sean Gillies
@@ -10,17 +10,17 @@ Description: =======
10
10
  Shapely
11
11
  =======
12
12
 
13
+ Manipulation and analysis of geometric objects in the Cartesian plane.
14
+
13
15
  .. image:: https://travis-ci.org/Toblerity/Shapely.png?branch=master
14
16
  :target: https://travis-ci.org/Toblerity/Shapely
15
17
 
16
18
  .. image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=master
17
19
  :target: https://coveralls.io/github/Toblerity/Shapely?branch=master
18
20
 
19
- Manipulation and analysis of geometric objects in the Cartesian plane.
20
-
21
- .. image:: https://c2.staticflickr.com/6/5560/31301790086_b3472ea4e9_c.jpg
21
+ .. image:: http://farm3.staticflickr.com/2738/4511827859_b5822043b7_o_d.png
22
22
  :width: 800
23
- :height: 378
23
+ :height: 400
24
24
 
25
25
  Shapely is a BSD-licensed Python package for manipulation and analysis of
26
26
  planar geometric objects. It is based on the widely deployed `GEOS
@@ -30,70 +30,54 @@ Description: =======
30
30
  libraries. Shapely is not concerned with data formats or coordinate systems,
31
31
  but can be readily integrated with packages that are. For more details, see:
32
32
 
33
- * `Shapely GitHub repository <https://github.com/Toblerity/Shapely>`__
34
- * `Shapely documentation and manual <https://shapely.readthedocs.io/en/latest/>`__
33
+ * Shapely on `GitHub <https://github.com/Toblerity/Shapely>`__
34
+ * The Shapely `manual <http://toblerity.github.com/shapely/manual.html>`__
35
35
 
36
36
  Requirements
37
37
  ============
38
38
 
39
- Shapely 1.6 requires
39
+ Shapely 1.5.x requires
40
40
 
41
41
  * Python >=2.6 (including Python 3.x)
42
- * GEOS >=3.3
42
+ * GEOS >=3.3 (Shapely 1.2.x requires only GEOS 3.1 but YMMV)
43
43
 
44
- Installing Shapely 1.6
45
- ======================
44
+ Installing Shapely
45
+ ==================
46
46
 
47
- Shapely may be installed from a source distribution or one of several kinds
48
- of built distribution.
47
+ Windows users should download an executable installer from
48
+ http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely or PyPI (if available).
49
49
 
50
- Built distributions
51
- -------------------
52
-
53
- Windows users have two good installation options: the wheels at
54
- http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely and the
55
- Anaconda platform's [conda-forge](https://conda-forge.github.io/)
56
- channel.
57
-
58
- OS X and Linux users can get Shapely wheels with GEOS included from the
59
- Python Package Index with a recent version of pip (8+):
50
+ On other systems, acquire the GEOS by any means (`brew install geos` on OS X or
51
+ `apt-get install libgeos-dev` on Debian/Ubuntu), make sure that it is on the
52
+ system library path, and install Shapely from the Python package index.
60
53
 
61
54
  .. code-block:: console
62
55
 
63
56
  $ pip install shapely
64
57
 
65
- A few extra speedups that require Numpy can be had by running
58
+ If you've installed GEOS to a non-standard location, the geos-config program
59
+ will be used to get compiler and linker options. If it is not on the PATH,
60
+ it can be specified with a GEOS_CONFIG environment variable, e.g.:
66
61
 
67
62
  .. code-block:: console
68
63
 
69
- $ pip install shapely[vectorized]
70
-
71
- Shapely is available via system package management tools like apt, yum, and
72
- Homebrew, and is also provided by popular Python distributions like Canopy and
73
- Anaconda.
74
-
75
- Source distributions
76
- --------------------
64
+ $ GEOS_CONFIG=/path/to/geos-config pip install shapely
77
65
 
78
- If you want to build Shapely from source for compatibility with
79
- other modules that depend on GEOS (such as cartopy or osgeo.ogr) or want to
80
- use a different version of GEOS than the one included in the project wheels
81
- you should first install the GEOS library, Cython, and Numpy on your system
82
- (using apt, yum, brew, or other means) and then direct pip to ignore the binary
83
- wheels.
66
+ If your system's GEOS version is < 3.3.0 you cannot use Shapely 1.3+ and must
67
+ stick to 1.2.x as shown below.
84
68
 
85
69
  .. code-block:: console
86
70
 
87
- $ pip install shapely --no-binary shapely
71
+ $ pip install shapely<1.3
88
72
 
89
- If you've installed GEOS to a standard location, the geos-config program
90
- will be used to get compiler and linker options. If geos-config is not on
91
- your executable, it can be specified with a GEOS_CONFIG environment
92
- variable, e.g.:
73
+ Or, if you're using pip 6+
93
74
 
94
75
  .. code-block:: console
95
76
 
96
- $ GEOS_CONFIG=/path/to/geos-config pip install shapely
77
+ $ pip install shapely~=1.2
78
+
79
+ Shapely is also provided by popular Python distributions like Canopy (Enthought)
80
+ and Anaconda (Continuum Analytics).
97
81
 
98
82
  Usage
99
83
  =====
@@ -157,14 +141,22 @@ Description: =======
157
141
 
158
142
  .. code-block:: console
159
143
 
160
- (env)$ python -m pytest
144
+ (env)$ py.test tests
145
+
146
+ Roadmap and Maintenance
147
+ =======================
148
+
149
+ Shapely 1.2.x is a maintenance-only branch which supports Python 2.4-2.6, but
150
+ not Python 3+. There will be no new features in Shapely 1.2.x and only fixes
151
+ for major bugs.
152
+
153
+ Shapely 1.4.x is a maintenance-only branch supporting Pythons 2.7 and 3.3+.
161
154
 
162
155
  Support
163
156
  =======
164
157
 
165
- Questions about using Shapely may be asked on the `GIS StackExchange
166
- <http://gis.stackexchange.com/questions/tagged/shapely>`__ using the "shapely"
167
- tag.
158
+ Please discuss Shapely with us at
159
+ http://lists.gispython.org/mailman/listinfo/community.
168
160
 
169
161
  Bugs may be reported at https://github.com/Toblerity/Shapely/issues.
170
162
 
@@ -179,17 +171,16 @@ Description: =======
179
171
  * Joshua Arnott <josh@snorfalorpagus.net>
180
172
  * Mike Toews <mwtoews@gmail.com>
181
173
  * Jacob Wasserman <jwasserman@gmail.com>
182
- * Aron Bierbaum <aronbierbaum@gmail.com>
174
+ * aronbierbaum <aronbierbaum@b426a367-1105-0410-b9ff-cdf4ab011145>
183
175
  * Allan Adair <allan@rfspot.com>
184
176
  * Johannes Schönberger <jschoenberger@demuc.de>
185
177
  * georgeouzou <geothrock@gmail.com>
186
178
  * Phil Elson <pelson.pub@gmail.com>
187
179
  * Howard Butler <hobu.inc@gmail.com>
188
- * Kelsey Jordahl <kjordahl@enthought.com>
189
180
  * dokai <dokai@b426a367-1105-0410-b9ff-cdf4ab011145>
190
- * Kevin Wurster <kevin@skytruth.org>
191
181
  * Gabi Davar <grizzly.nyo@gmail.com>
192
- * Thibault Deutsch <thibault.deutsch@gmail.com>
182
+ * Kevin Wurster <kevin@skytruth.org>
183
+ * Kelsey Jordahl <kjordahl@enthought.com>
193
184
  * Dave Collins <dave@hopest.net>
194
185
  * fredj <frederic.junod@camptocamp.com>
195
186
  * Brad Hards <bradh@frogmouth.net>
@@ -205,18 +196,16 @@ Description: =======
205
196
  * Jeethu Rao <jeethu@jeethurao.com>
206
197
  * Peter Sagerson <psagers.github@ignorare.net>
207
198
  * Jason Sanford <jason.sanford@mapmyfitness.com>
208
- * mindw <grizzly.nyo@gmail.com>
209
199
  * Jamie Hall <jamie1212@gmail.com>
210
200
  * James Spencer <james.s.spencer@gmail.com>
211
201
  * Stephan Hügel <urschrei@gmail.com>
212
- * Bas Couwenberg <sebastic@xs4all.nl>
213
- * James Douglass <jamesdouglassusa@gmail.com>
202
+ * Benjamin Root <ben.v.root@gmail.com>
214
203
  * Tobias Sauerwein <tobias.sauerwein@camptocamp.com>
215
204
  * WANG Aiyong <gepcelway@gmail.com>
205
+ * James Douglass <jamesdouglassusa@gmail.com>
216
206
  * Brandon Wood <btwood@geometeor.com>
217
- * BertrandGervais <bertrand.gervais.pro@gmail.com>
218
207
  * Andy Freeland <andy@andyfreeland.net>
219
- * Benjamin Root <ben.v.root@gmail.com>
208
+ * BertrandGervais <bertrand.gervais.pro@gmail.com>
220
209
  * giumas <gmasetti@ccom.unh.edu>
221
210
  * Leandro Lima <leandro@limaesilva.com.br>
222
211
  * Maarten Vermeyen <maarten.vermeyen@rwo.vlaanderen.be>
@@ -230,6 +219,7 @@ Description: =======
230
219
 
231
220
  * Justin Bronn (GeoDjango) for ctypes inspiration
232
221
  * Martin Davis (JTS)
222
+ * Jaakko Salli for the Windows distributions
233
223
  * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
234
224
 
235
225
  Major portions of this work were supported by a grant (for Pleiades_) from the
@@ -241,62 +231,6 @@ Description: =======
241
231
  Changes
242
232
  =======
243
233
 
244
- 1.6.0 (2017-08-21)
245
- ------------------
246
-
247
- - Project documentation is now hosted at
248
- https://shapely.readthedocs.io/en/latest/.
249
-
250
- 1.6b5 (2017-08-18)
251
- ------------------
252
-
253
- Bug fixes:
254
-
255
- - Passing a single coordinate to ``LineString()`` with speedups disabled now
256
- raises a ValueError as happens with speedups enabled. This resolves #509.
257
-
258
- 1.6b4 (2017-02-15)
259
- ------------------
260
-
261
- Bug fixes:
262
-
263
- - Isolate vendorized packaging in a _vendor directory, remove obsolete
264
- dist-info, and remove packaging from project requirements (resolves #468).
265
-
266
- 1.6b3 (2016-12-31)
267
- ------------------
268
-
269
- Bug fixes:
270
-
271
- - Level for log messages originating from the GEOS notice handler reduced from
272
- WARNING to INFO (#447).
273
- - Permit speedups to be imported again without Numpy (#444).
274
-
275
- 1.6b2 (2016-12-12)
276
- ------------------
277
-
278
- New features:
279
-
280
- - Add support for GeometryCollection to shape and asShape functions (#422).
281
-
282
- 1.6b1 (2016-12-12)
283
- ------------------
284
-
285
- Bug fixes:
286
-
287
- - Implemented __array_interface__ for empty Points and LineStrings (#403).
288
-
289
- 1.6a3 (2016-12-01)
290
- ------------------
291
-
292
- Bug fixes:
293
-
294
- - Remove accidental hard requirement of Numpy (#431).
295
-
296
- Packaging:
297
-
298
- - Put Numpy in an optional requirement set named "vectorized" (#431).
299
-
300
234
  1.6a2 (2016-11-09)
301
235
  ------------------
302
236
 
@@ -2,17 +2,17 @@
2
2
  Shapely
3
3
  =======
4
4
 
5
+ Manipulation and analysis of geometric objects in the Cartesian plane.
6
+
5
7
  .. image:: https://travis-ci.org/Toblerity/Shapely.png?branch=master
6
8
  :target: https://travis-ci.org/Toblerity/Shapely
7
9
 
8
10
  .. image:: https://coveralls.io/repos/github/Toblerity/Shapely/badge.svg?branch=master
9
11
  :target: https://coveralls.io/github/Toblerity/Shapely?branch=master
10
12
 
11
- Manipulation and analysis of geometric objects in the Cartesian plane.
12
-
13
- .. image:: https://c2.staticflickr.com/6/5560/31301790086_b3472ea4e9_c.jpg
13
+ .. image:: http://farm3.staticflickr.com/2738/4511827859_b5822043b7_o_d.png
14
14
  :width: 800
15
- :height: 378
15
+ :height: 400
16
16
 
17
17
  Shapely is a BSD-licensed Python package for manipulation and analysis of
18
18
  planar geometric objects. It is based on the widely deployed `GEOS
@@ -22,70 +22,54 @@ planar geometric objects. It is based on the widely deployed `GEOS
22
22
  libraries. Shapely is not concerned with data formats or coordinate systems,
23
23
  but can be readily integrated with packages that are. For more details, see:
24
24
 
25
- * `Shapely GitHub repository <https://github.com/Toblerity/Shapely>`__
26
- * `Shapely documentation and manual <https://shapely.readthedocs.io/en/latest/>`__
25
+ * Shapely on `GitHub <https://github.com/Toblerity/Shapely>`__
26
+ * The Shapely `manual <http://toblerity.github.com/shapely/manual.html>`__
27
27
 
28
28
  Requirements
29
29
  ============
30
30
 
31
- Shapely 1.6 requires
31
+ Shapely 1.5.x requires
32
32
 
33
33
  * Python >=2.6 (including Python 3.x)
34
- * GEOS >=3.3
34
+ * GEOS >=3.3 (Shapely 1.2.x requires only GEOS 3.1 but YMMV)
35
35
 
36
- Installing Shapely 1.6
37
- ======================
36
+ Installing Shapely
37
+ ==================
38
38
 
39
- Shapely may be installed from a source distribution or one of several kinds
40
- of built distribution.
39
+ Windows users should download an executable installer from
40
+ http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely or PyPI (if available).
41
41
 
42
- Built distributions
43
- -------------------
44
-
45
- Windows users have two good installation options: the wheels at
46
- http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely and the
47
- Anaconda platform's [conda-forge](https://conda-forge.github.io/)
48
- channel.
49
-
50
- OS X and Linux users can get Shapely wheels with GEOS included from the
51
- Python Package Index with a recent version of pip (8+):
42
+ On other systems, acquire the GEOS by any means (`brew install geos` on OS X or
43
+ `apt-get install libgeos-dev` on Debian/Ubuntu), make sure that it is on the
44
+ system library path, and install Shapely from the Python package index.
52
45
 
53
46
  .. code-block:: console
54
47
 
55
48
  $ pip install shapely
56
49
 
57
- A few extra speedups that require Numpy can be had by running
50
+ If you've installed GEOS to a non-standard location, the geos-config program
51
+ will be used to get compiler and linker options. If it is not on the PATH,
52
+ it can be specified with a GEOS_CONFIG environment variable, e.g.:
58
53
 
59
54
  .. code-block:: console
60
55
 
61
- $ pip install shapely[vectorized]
62
-
63
- Shapely is available via system package management tools like apt, yum, and
64
- Homebrew, and is also provided by popular Python distributions like Canopy and
65
- Anaconda.
66
-
67
- Source distributions
68
- --------------------
56
+ $ GEOS_CONFIG=/path/to/geos-config pip install shapely
69
57
 
70
- If you want to build Shapely from source for compatibility with
71
- other modules that depend on GEOS (such as cartopy or osgeo.ogr) or want to
72
- use a different version of GEOS than the one included in the project wheels
73
- you should first install the GEOS library, Cython, and Numpy on your system
74
- (using apt, yum, brew, or other means) and then direct pip to ignore the binary
75
- wheels.
58
+ If your system's GEOS version is < 3.3.0 you cannot use Shapely 1.3+ and must
59
+ stick to 1.2.x as shown below.
76
60
 
77
61
  .. code-block:: console
78
62
 
79
- $ pip install shapely --no-binary shapely
63
+ $ pip install shapely<1.3
80
64
 
81
- If you've installed GEOS to a standard location, the geos-config program
82
- will be used to get compiler and linker options. If geos-config is not on
83
- your executable, it can be specified with a GEOS_CONFIG environment
84
- variable, e.g.:
65
+ Or, if you're using pip 6+
85
66
 
86
67
  .. code-block:: console
87
68
 
88
- $ GEOS_CONFIG=/path/to/geos-config pip install shapely
69
+ $ pip install shapely~=1.2
70
+
71
+ Shapely is also provided by popular Python distributions like Canopy (Enthought)
72
+ and Anaconda (Continuum Analytics).
89
73
 
90
74
  Usage
91
75
  =====
@@ -149,13 +133,21 @@ We use py.test to run Shapely's suite of unittests and doctests.
149
133
 
150
134
  .. code-block:: console
151
135
 
152
- (env)$ python -m pytest
136
+ (env)$ py.test tests
137
+
138
+ Roadmap and Maintenance
139
+ =======================
140
+
141
+ Shapely 1.2.x is a maintenance-only branch which supports Python 2.4-2.6, but
142
+ not Python 3+. There will be no new features in Shapely 1.2.x and only fixes
143
+ for major bugs.
144
+
145
+ Shapely 1.4.x is a maintenance-only branch supporting Pythons 2.7 and 3.3+.
153
146
 
154
147
  Support
155
148
  =======
156
149
 
157
- Questions about using Shapely may be asked on the `GIS StackExchange
158
- <http://gis.stackexchange.com/questions/tagged/shapely>`__ using the "shapely"
159
- tag.
150
+ Please discuss Shapely with us at
151
+ http://lists.gispython.org/mailman/listinfo/community.
160
152
 
161
153
  Bugs may be reported at https://github.com/Toblerity/Shapely/issues.