shapely 1.2.12__tar.gz → 1.2.14__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 (89) hide show
  1. {Shapely-1.2.12 → Shapely-1.2.14}/CHANGES.txt +15 -3
  2. {Shapely-1.2.12 → Shapely-1.2.14}/CREDITS.txt +1 -0
  3. {Shapely-1.2.12/Shapely.egg-info → Shapely-1.2.14}/PKG-INFO +43 -35
  4. Shapely-1.2.12/README.txt → Shapely-1.2.14/README.rst +26 -29
  5. {Shapely-1.2.12 → Shapely-1.2.14/Shapely.egg-info}/PKG-INFO +43 -35
  6. {Shapely-1.2.12 → Shapely-1.2.14}/Shapely.egg-info/SOURCES.txt +2 -1
  7. {Shapely-1.2.12 → Shapely-1.2.14}/docs/manual.txt +49 -18
  8. {Shapely-1.2.12 → Shapely-1.2.14}/setup.py +8 -4
  9. Shapely-1.2.14/shapely/__init__.py +2 -0
  10. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/coords.py +38 -21
  11. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/base.py +28 -16
  12. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/multilinestring.py +1 -1
  13. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/multipolygon.py +1 -1
  14. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/polygon.py +17 -8
  15. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/speedups/_speedups.c +66 -57
  16. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/speedups/_speedups.pyx +11 -11
  17. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/MultiPolygon.txt +8 -8
  18. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Point.txt +2 -2
  19. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Polygon.txt +3 -3
  20. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/__init__.py +2 -1
  21. Shapely-1.2.14/shapely/tests/test_getitem.py +113 -0
  22. Shapely-1.2.12/shapely/__init__.py +0 -1
  23. {Shapely-1.2.12 → Shapely-1.2.14}/LICENSE.txt +0 -0
  24. {Shapely-1.2.12 → Shapely-1.2.14}/Shapely.egg-info/dependency_links.txt +0 -0
  25. {Shapely-1.2.12 → Shapely-1.2.14}/Shapely.egg-info/top_level.txt +0 -0
  26. {Shapely-1.2.12 → Shapely-1.2.14}/setup.cfg +0 -0
  27. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/algorithms/__init__.py +0 -0
  28. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/algorithms/cga.py +0 -0
  29. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/ctypes_declarations.py +0 -0
  30. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/examples/__init__.py +0 -0
  31. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/examples/dissolve.py +0 -0
  32. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/examples/geoms.py +0 -0
  33. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/examples/intersect.py +0 -0
  34. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/examples/world.py +0 -0
  35. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/ftools.py +0 -0
  36. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/__init__.py +0 -0
  37. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/collection.py +0 -0
  38. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/geo.py +0 -0
  39. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/linestring.py +0 -0
  40. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/multipoint.py +0 -0
  41. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/point.py +0 -0
  42. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geometry/proxy.py +0 -0
  43. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/geos.py +0 -0
  44. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/impl.py +0 -0
  45. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/iterops.py +0 -0
  46. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/linref.py +0 -0
  47. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/ops.py +0 -0
  48. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/predicates.py +0 -0
  49. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/prepared.py +0 -0
  50. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/speedups/__init__.py +0 -0
  51. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Array.txt +0 -0
  52. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/GeoInterface.txt +0 -0
  53. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/IterOps.txt +0 -0
  54. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/LineString.txt +0 -0
  55. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/MultiLineString.txt +0 -0
  56. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/MultiPoint.txt +0 -0
  57. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Operations.txt +0 -0
  58. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Persist.txt +0 -0
  59. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/Predicates.txt +0 -0
  60. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/attribute-chains.txt +0 -0
  61. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/binascii_hex.txt +0 -0
  62. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/cascaded_union.txt +0 -0
  63. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/dimensions.txt +0 -0
  64. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/invalid_intersection.txt +0 -0
  65. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/linemerge.txt +0 -0
  66. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/polygonize.txt +0 -0
  67. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_box.py +0 -0
  68. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_cga.py +0 -0
  69. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_collection.py +0 -0
  70. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_delegated.py +0 -0
  71. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_dlls.py +0 -0
  72. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_doctests.py +0 -0
  73. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_emptiness.py +0 -0
  74. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_equality.py +0 -0
  75. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_geomseq.py +0 -0
  76. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_linear_referencing.py +0 -0
  77. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_mapping.py +0 -0
  78. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_prepared.py +0 -0
  79. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_products_z.py +0 -0
  80. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_singularity.py +0 -0
  81. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_speedups.py +0 -0
  82. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_validation.py +0 -0
  83. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/test_xy.py +0 -0
  84. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/threading_test.py +0 -0
  85. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/tests/wkt_locale.txt +0 -0
  86. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/topology.py +0 -0
  87. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/validation.py +0 -0
  88. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/wkb.py +0 -0
  89. {Shapely-1.2.12 → Shapely-1.2.14}/shapely/wkt.py +0 -0
@@ -1,7 +1,21 @@
1
1
  =======
2
- CHANGES
2
+ Changes
3
3
  =======
4
4
 
5
+ 1.2.14 (2012-01-23)
6
+ -------------------
7
+ - A geometry's coords property is now sliceable, yielding a list of coordinate
8
+ values.
9
+ - Homogeneous collections are now sliceable, yielding a new collection of the
10
+ same type.
11
+
12
+ 1.2.13 (2011-09-16)
13
+ -------------------
14
+ - Fixed errors in speedups on 32bit systems when GEOS references memory above
15
+ 2GB.
16
+ - Add shapely.__version__ attribute.
17
+ - Update the manual.
18
+
5
19
  1.2.12 (2011-08-15)
6
20
  -------------------
7
21
  - Build Windows distributions with VC7 or VC9 as appropriate.
@@ -133,9 +147,7 @@ TODO: fill gap here
133
147
  - Prototype libgeos_c functions in a way that lets py2exe apps import shapely
134
148
  (#189).
135
149
 
136
- =========================
137
150
  1.2 Branched (2009-09-19)
138
- =========================
139
151
 
140
152
  1.0.12 (2009-04-09)
141
153
  -------------------
@@ -12,6 +12,7 @@ Patches contributed by:
12
12
  * Eric Lemoine
13
13
  * Jonathan Tartley
14
14
  * Kristian Thy
15
+ * Mike Toews (https://github.com/mwtoews)
15
16
 
16
17
  Additional help from:
17
18
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: Shapely
3
- Version: 1.2.12
3
+ Version: 1.2.14
4
4
  Summary: Geometric objects, predicates, and operations
5
- Home-page: http://trac.gispython.org/lab/wiki/Shapely
5
+ Home-page: https://github.com/sgillies/shapely
6
6
  Author: Sean Gillies
7
7
  Author-email: sean.gillies@gmail.com
8
8
  License: BSD
@@ -10,25 +10,26 @@ Description: ======
10
10
  README
11
11
  ======
12
12
 
13
+ PostGIS-ish operations outside a database context for Pythoneers and
14
+ Pythonistas.
15
+
13
16
  .. image:: http://farm3.static.flickr.com/2738/4511827859_b5822043b7_o_d.png
14
17
  :width: 800
15
18
  :height: 400
16
19
 
17
20
  Shapely is a BSD-licensed Python package for manipulation and analysis of
18
- planar geometric objects. It is not concerned with data formats or coordinate
19
- systems. It is based on the widely deployed GEOS_ (the engine of PostGIS_) and
20
- JTS_ (from which GEOS is ported) libraries. This C dependency is traded for the
21
- ability to execute with blazing speed.
22
-
23
- In a nutshell: Shapely lets you do PostGIS-ish stuff outside the context of a
24
- database using idiomatic Python. For more details, see:
21
+ planar geometric objects. It is based on the widely deployed GEOS_ (the engine
22
+ of PostGIS_) and JTS_ (from which GEOS is ported) libraries. This C dependency
23
+ is traded for the ability to execute with blazing speed. Shapely is not
24
+ concerned with data formats or coordinate systems, but can be readily
25
+ integrated with packages that are. For more details, see:
25
26
 
26
27
  * Shapely wiki_
27
28
  * Shapely manual_
28
29
  * Shapely `example apps`_
29
30
 
30
31
  Dependencies
31
- ------------
32
+ ============
32
33
 
33
34
  Shapely 1.2 depends on:
34
35
 
@@ -36,7 +37,7 @@ Description: ======
36
37
  * libgeos_c >=3.1 (3.0 and below have not been tested, YMMV)
37
38
 
38
39
  Installation
39
- ------------
40
+ ============
40
41
 
41
42
  Windows users should use the executable installer, which contains the required
42
43
  GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
@@ -49,7 +50,7 @@ Description: ======
49
50
  $ python setup.py install
50
51
 
51
52
  Usage
52
- -----
53
+ =====
53
54
 
54
55
  Here is the canonical example of building an approximately circular patch by
55
56
  buffering a point::
@@ -65,7 +66,7 @@ Description: ======
65
66
  intersect.py `example apps`_.
66
67
 
67
68
  Integration
68
- -----------
69
+ ===========
69
70
 
70
71
  Shapely does not read or write data files, but it can serialize and deserialize
71
72
  using several well known formats and protocols. The shapely.wkb and shapely.wkt
@@ -88,8 +89,8 @@ Description: ======
88
89
  [ 1.00000000e+01, 0.00000000e+00]])
89
90
 
90
91
  That yields a numpy array of [x, y] arrays. This is not always exactly what one
91
- wants for plotting shapes with Matplotlib, so Shapely 1.2 adds a `xy` property
92
- for getting separate arrays of coordinate x and y values.::
92
+ wants for plotting shapes with Matplotlib (for example), so Shapely 1.2 adds
93
+ a `xy` property for obtaining separate arrays of coordinate x and y values.::
93
94
 
94
95
  >>> x, y = patch.exterior.xy
95
96
  >>> ax = asarray(x)
@@ -105,9 +106,9 @@ Description: ======
105
106
  'LINESTRING (10.0000000000000000 0.0000000000000000, ...)'
106
107
 
107
108
  Testing
108
- -------
109
+ =======
109
110
 
110
- Shapely uses a Zope-stye suite of unittests and doctests, excercised via
111
+ Shapely uses a Zope-stye suite of unittests and doctests, exercised via
111
112
  setup.py.::
112
113
 
113
114
  $ python setup.py test
@@ -116,38 +117,35 @@ Description: ======
116
117
  supported well by nose.
117
118
 
118
119
  Support
119
- -------
120
-
121
- For current information about this project, see the wiki_.
122
-
123
- If you have questions, please consider joining our community list:
120
+ =======
124
121
 
125
- http://trac.gispython.org/projects/PCL/wiki/CommunityList
122
+ Bugs may be reported and questions asked via https://github.com/Toblerity/Shapely.
126
123
 
127
124
  Credits
128
- -------
125
+ =======
129
126
 
130
127
  Shapely is written by:
131
128
 
132
129
  * Sean Gillies
133
130
  * Aron Bierbaum
134
131
  * Kai Lautaportti
132
+ * Oliver Tonnhofer
135
133
 
136
134
  Patches contributed by:
137
135
 
138
136
  * Howard Butler
139
- * Fr |eaigue| d |eaigue| ric Junod
140
- * Eric Lemoine
137
+ * Frédéric Junod
138
+ * Éric Lemoine
141
139
  * Jonathan Tartley
142
140
  * Kristian Thy
143
- * Oliver Tonnhofer
141
+ * Mike Toews (https://github.com/mwtoews)
144
142
 
145
143
  Additional help from:
146
144
 
147
145
  * Justin Bronn (GeoDjango) for ctypes inspiration
148
146
  * Martin Davis (JTS)
149
147
  * Jaakko Salli for the Windows distributions
150
- * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
148
+ * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS_ Project)
151
149
 
152
150
  Major portions of this work were supported by a grant (for Pleiades_) from the
153
151
  U.S. National Endowment for the Humanities (http://www.neh.gov).
@@ -157,14 +155,26 @@ Description: ======
157
155
  .. _GEOS: http://trac.osgeo.org/geos/
158
156
  .. _example apps: http://trac.gispython.org/lab/wiki/Examples
159
157
  .. _wiki: http://trac.gispython.org/lab/wiki/Shapely
160
- .. _manual: http://gispython.org/shapely/docs/1.2
161
- .. |eaigue| unicode:: U+00E9
162
- :trim:
158
+ .. _manual: http://toblerity.github.com/shapely/manual.html
163
159
  .. _Pleiades: http://pleiades.stoa.org
164
160
 
161
+
162
+ Changes
165
163
  =======
166
- CHANGES
167
- =======
164
+
165
+ 1.2.14 (2012-01-23)
166
+ -------------------
167
+ - A geometry's coords property is now sliceable, yielding a list of coordinate
168
+ values.
169
+ - Homogeneous collections are now sliceable, yielding a new collection of the
170
+ same type.
171
+
172
+ 1.2.13 (2011-09-16)
173
+ -------------------
174
+ - Fixed errors in speedups on 32bit systems when GEOS references memory above
175
+ 2GB.
176
+ - Add shapely.__version__ attribute.
177
+ - Update the manual.
168
178
 
169
179
  1.2.12 (2011-08-15)
170
180
  -------------------
@@ -297,9 +307,7 @@ Description: ======
297
307
  - Prototype libgeos_c functions in a way that lets py2exe apps import shapely
298
308
  (#189).
299
309
 
300
- =========================
301
310
  1.2 Branched (2009-09-19)
302
- =========================
303
311
 
304
312
  1.0.12 (2009-04-09)
305
313
  -------------------
@@ -2,25 +2,26 @@
2
2
  README
3
3
  ======
4
4
 
5
+ PostGIS-ish operations outside a database context for Pythoneers and
6
+ Pythonistas.
7
+
5
8
  .. image:: http://farm3.static.flickr.com/2738/4511827859_b5822043b7_o_d.png
6
9
  :width: 800
7
10
  :height: 400
8
11
 
9
12
  Shapely is a BSD-licensed Python package for manipulation and analysis of
10
- planar geometric objects. It is not concerned with data formats or coordinate
11
- systems. It is based on the widely deployed GEOS_ (the engine of PostGIS_) and
12
- JTS_ (from which GEOS is ported) libraries. This C dependency is traded for the
13
- ability to execute with blazing speed.
14
-
15
- In a nutshell: Shapely lets you do PostGIS-ish stuff outside the context of a
16
- database using idiomatic Python. For more details, see:
13
+ planar geometric objects. It is based on the widely deployed GEOS_ (the engine
14
+ of PostGIS_) and JTS_ (from which GEOS is ported) libraries. This C dependency
15
+ is traded for the ability to execute with blazing speed. Shapely is not
16
+ concerned with data formats or coordinate systems, but can be readily
17
+ integrated with packages that are. For more details, see:
17
18
 
18
19
  * Shapely wiki_
19
20
  * Shapely manual_
20
21
  * Shapely `example apps`_
21
22
 
22
23
  Dependencies
23
- ------------
24
+ ============
24
25
 
25
26
  Shapely 1.2 depends on:
26
27
 
@@ -28,7 +29,7 @@ Shapely 1.2 depends on:
28
29
  * libgeos_c >=3.1 (3.0 and below have not been tested, YMMV)
29
30
 
30
31
  Installation
31
- ------------
32
+ ============
32
33
 
33
34
  Windows users should use the executable installer, which contains the required
34
35
  GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
@@ -41,7 +42,7 @@ or from a source distribution with the setup script::
41
42
  $ python setup.py install
42
43
 
43
44
  Usage
44
- -----
45
+ =====
45
46
 
46
47
  Here is the canonical example of building an approximately circular patch by
47
48
  buffering a point::
@@ -57,7 +58,7 @@ See the manual_ for comprehensive usage snippets and the dissolve.py and
57
58
  intersect.py `example apps`_.
58
59
 
59
60
  Integration
60
- -----------
61
+ ===========
61
62
 
62
63
  Shapely does not read or write data files, but it can serialize and deserialize
63
64
  using several well known formats and protocols. The shapely.wkb and shapely.wkt
@@ -80,8 +81,8 @@ provide the Numpy array interface.::
80
81
  [ 1.00000000e+01, 0.00000000e+00]])
81
82
 
82
83
  That yields a numpy array of [x, y] arrays. This is not always exactly what one
83
- wants for plotting shapes with Matplotlib, so Shapely 1.2 adds a `xy` property
84
- for getting separate arrays of coordinate x and y values.::
84
+ wants for plotting shapes with Matplotlib (for example), so Shapely 1.2 adds
85
+ a `xy` property for obtaining separate arrays of coordinate x and y values.::
85
86
 
86
87
  >>> x, y = patch.exterior.xy
87
88
  >>> ax = asarray(x)
@@ -97,9 +98,9 @@ Numpy arrays can also be adapted to Shapely linestrings::
97
98
  'LINESTRING (10.0000000000000000 0.0000000000000000, ...)'
98
99
 
99
100
  Testing
100
- -------
101
+ =======
101
102
 
102
- Shapely uses a Zope-stye suite of unittests and doctests, excercised via
103
+ Shapely uses a Zope-stye suite of unittests and doctests, exercised via
103
104
  setup.py.::
104
105
 
105
106
  $ python setup.py test
@@ -108,38 +109,35 @@ Nosetests won't run the tests properly; Zope doctest suites are not currently
108
109
  supported well by nose.
109
110
 
110
111
  Support
111
- -------
112
-
113
- For current information about this project, see the wiki_.
114
-
115
- If you have questions, please consider joining our community list:
112
+ =======
116
113
 
117
- http://trac.gispython.org/projects/PCL/wiki/CommunityList
114
+ Bugs may be reported and questions asked via https://github.com/Toblerity/Shapely.
118
115
 
119
116
  Credits
120
- -------
117
+ =======
121
118
 
122
119
  Shapely is written by:
123
120
 
124
121
  * Sean Gillies
125
122
  * Aron Bierbaum
126
123
  * Kai Lautaportti
124
+ * Oliver Tonnhofer
127
125
 
128
126
  Patches contributed by:
129
127
 
130
128
  * Howard Butler
131
- * Fr |eaigue| d |eaigue| ric Junod
132
- * Eric Lemoine
129
+ * Frédéric Junod
130
+ * Éric Lemoine
133
131
  * Jonathan Tartley
134
132
  * Kristian Thy
135
- * Oliver Tonnhofer
133
+ * Mike Toews (https://github.com/mwtoews)
136
134
 
137
135
  Additional help from:
138
136
 
139
137
  * Justin Bronn (GeoDjango) for ctypes inspiration
140
138
  * Martin Davis (JTS)
141
139
  * Jaakko Salli for the Windows distributions
142
- * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
140
+ * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS_ Project)
143
141
 
144
142
  Major portions of this work were supported by a grant (for Pleiades_) from the
145
143
  U.S. National Endowment for the Humanities (http://www.neh.gov).
@@ -149,7 +147,6 @@ U.S. National Endowment for the Humanities (http://www.neh.gov).
149
147
  .. _GEOS: http://trac.osgeo.org/geos/
150
148
  .. _example apps: http://trac.gispython.org/lab/wiki/Examples
151
149
  .. _wiki: http://trac.gispython.org/lab/wiki/Shapely
152
- .. _manual: http://gispython.org/shapely/docs/1.2
153
- .. |eaigue| unicode:: U+00E9
154
- :trim:
150
+ .. _manual: http://toblerity.github.com/shapely/manual.html
155
151
  .. _Pleiades: http://pleiades.stoa.org
152
+
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: Shapely
3
- Version: 1.2.12
3
+ Version: 1.2.14
4
4
  Summary: Geometric objects, predicates, and operations
5
- Home-page: http://trac.gispython.org/lab/wiki/Shapely
5
+ Home-page: https://github.com/sgillies/shapely
6
6
  Author: Sean Gillies
7
7
  Author-email: sean.gillies@gmail.com
8
8
  License: BSD
@@ -10,25 +10,26 @@ Description: ======
10
10
  README
11
11
  ======
12
12
 
13
+ PostGIS-ish operations outside a database context for Pythoneers and
14
+ Pythonistas.
15
+
13
16
  .. image:: http://farm3.static.flickr.com/2738/4511827859_b5822043b7_o_d.png
14
17
  :width: 800
15
18
  :height: 400
16
19
 
17
20
  Shapely is a BSD-licensed Python package for manipulation and analysis of
18
- planar geometric objects. It is not concerned with data formats or coordinate
19
- systems. It is based on the widely deployed GEOS_ (the engine of PostGIS_) and
20
- JTS_ (from which GEOS is ported) libraries. This C dependency is traded for the
21
- ability to execute with blazing speed.
22
-
23
- In a nutshell: Shapely lets you do PostGIS-ish stuff outside the context of a
24
- database using idiomatic Python. For more details, see:
21
+ planar geometric objects. It is based on the widely deployed GEOS_ (the engine
22
+ of PostGIS_) and JTS_ (from which GEOS is ported) libraries. This C dependency
23
+ is traded for the ability to execute with blazing speed. Shapely is not
24
+ concerned with data formats or coordinate systems, but can be readily
25
+ integrated with packages that are. For more details, see:
25
26
 
26
27
  * Shapely wiki_
27
28
  * Shapely manual_
28
29
  * Shapely `example apps`_
29
30
 
30
31
  Dependencies
31
- ------------
32
+ ============
32
33
 
33
34
  Shapely 1.2 depends on:
34
35
 
@@ -36,7 +37,7 @@ Description: ======
36
37
  * libgeos_c >=3.1 (3.0 and below have not been tested, YMMV)
37
38
 
38
39
  Installation
39
- ------------
40
+ ============
40
41
 
41
42
  Windows users should use the executable installer, which contains the required
42
43
  GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
@@ -49,7 +50,7 @@ Description: ======
49
50
  $ python setup.py install
50
51
 
51
52
  Usage
52
- -----
53
+ =====
53
54
 
54
55
  Here is the canonical example of building an approximately circular patch by
55
56
  buffering a point::
@@ -65,7 +66,7 @@ Description: ======
65
66
  intersect.py `example apps`_.
66
67
 
67
68
  Integration
68
- -----------
69
+ ===========
69
70
 
70
71
  Shapely does not read or write data files, but it can serialize and deserialize
71
72
  using several well known formats and protocols. The shapely.wkb and shapely.wkt
@@ -88,8 +89,8 @@ Description: ======
88
89
  [ 1.00000000e+01, 0.00000000e+00]])
89
90
 
90
91
  That yields a numpy array of [x, y] arrays. This is not always exactly what one
91
- wants for plotting shapes with Matplotlib, so Shapely 1.2 adds a `xy` property
92
- for getting separate arrays of coordinate x and y values.::
92
+ wants for plotting shapes with Matplotlib (for example), so Shapely 1.2 adds
93
+ a `xy` property for obtaining separate arrays of coordinate x and y values.::
93
94
 
94
95
  >>> x, y = patch.exterior.xy
95
96
  >>> ax = asarray(x)
@@ -105,9 +106,9 @@ Description: ======
105
106
  'LINESTRING (10.0000000000000000 0.0000000000000000, ...)'
106
107
 
107
108
  Testing
108
- -------
109
+ =======
109
110
 
110
- Shapely uses a Zope-stye suite of unittests and doctests, excercised via
111
+ Shapely uses a Zope-stye suite of unittests and doctests, exercised via
111
112
  setup.py.::
112
113
 
113
114
  $ python setup.py test
@@ -116,38 +117,35 @@ Description: ======
116
117
  supported well by nose.
117
118
 
118
119
  Support
119
- -------
120
-
121
- For current information about this project, see the wiki_.
122
-
123
- If you have questions, please consider joining our community list:
120
+ =======
124
121
 
125
- http://trac.gispython.org/projects/PCL/wiki/CommunityList
122
+ Bugs may be reported and questions asked via https://github.com/Toblerity/Shapely.
126
123
 
127
124
  Credits
128
- -------
125
+ =======
129
126
 
130
127
  Shapely is written by:
131
128
 
132
129
  * Sean Gillies
133
130
  * Aron Bierbaum
134
131
  * Kai Lautaportti
132
+ * Oliver Tonnhofer
135
133
 
136
134
  Patches contributed by:
137
135
 
138
136
  * Howard Butler
139
- * Fr |eaigue| d |eaigue| ric Junod
140
- * Eric Lemoine
137
+ * Frédéric Junod
138
+ * Éric Lemoine
141
139
  * Jonathan Tartley
142
140
  * Kristian Thy
143
- * Oliver Tonnhofer
141
+ * Mike Toews (https://github.com/mwtoews)
144
142
 
145
143
  Additional help from:
146
144
 
147
145
  * Justin Bronn (GeoDjango) for ctypes inspiration
148
146
  * Martin Davis (JTS)
149
147
  * Jaakko Salli for the Windows distributions
150
- * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
148
+ * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS_ Project)
151
149
 
152
150
  Major portions of this work were supported by a grant (for Pleiades_) from the
153
151
  U.S. National Endowment for the Humanities (http://www.neh.gov).
@@ -157,14 +155,26 @@ Description: ======
157
155
  .. _GEOS: http://trac.osgeo.org/geos/
158
156
  .. _example apps: http://trac.gispython.org/lab/wiki/Examples
159
157
  .. _wiki: http://trac.gispython.org/lab/wiki/Shapely
160
- .. _manual: http://gispython.org/shapely/docs/1.2
161
- .. |eaigue| unicode:: U+00E9
162
- :trim:
158
+ .. _manual: http://toblerity.github.com/shapely/manual.html
163
159
  .. _Pleiades: http://pleiades.stoa.org
164
160
 
161
+
162
+ Changes
165
163
  =======
166
- CHANGES
167
- =======
164
+
165
+ 1.2.14 (2012-01-23)
166
+ -------------------
167
+ - A geometry's coords property is now sliceable, yielding a list of coordinate
168
+ values.
169
+ - Homogeneous collections are now sliceable, yielding a new collection of the
170
+ same type.
171
+
172
+ 1.2.13 (2011-09-16)
173
+ -------------------
174
+ - Fixed errors in speedups on 32bit systems when GEOS references memory above
175
+ 2GB.
176
+ - Add shapely.__version__ attribute.
177
+ - Update the manual.
168
178
 
169
179
  1.2.12 (2011-08-15)
170
180
  -------------------
@@ -297,9 +307,7 @@ Description: ======
297
307
  - Prototype libgeos_c functions in a way that lets py2exe apps import shapely
298
308
  (#189).
299
309
 
300
- =========================
301
310
  1.2 Branched (2009-09-19)
302
- =========================
303
311
 
304
312
  1.0.12 (2009-04-09)
305
313
  -------------------
@@ -1,7 +1,7 @@
1
1
  CHANGES.txt
2
2
  CREDITS.txt
3
3
  LICENSE.txt
4
- README.txt
4
+ README.rst
5
5
  setup.cfg
6
6
  setup.py
7
7
  Shapely.egg-info/PKG-INFO
@@ -74,6 +74,7 @@ shapely/tests/test_doctests.py
74
74
  shapely/tests/test_emptiness.py
75
75
  shapely/tests/test_equality.py
76
76
  shapely/tests/test_geomseq.py
77
+ shapely/tests/test_getitem.py
77
78
  shapely/tests/test_linear_referencing.py
78
79
  shapely/tests/test_mapping.py
79
80
  shapely/tests/test_prepared.py