shapely 1.3.3__cp34-none-win_amd64.whl

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 (95) hide show
  1. Shapely-1.3.3.data/data/shapely/_geos.pxi +52 -0
  2. Shapely-1.3.3.dist-info/DESCRIPTION.rst +505 -0
  3. Shapely-1.3.3.dist-info/METADATA +527 -0
  4. Shapely-1.3.3.dist-info/RECORD +95 -0
  5. Shapely-1.3.3.dist-info/WHEEL +5 -0
  6. Shapely-1.3.3.dist-info/metadata.json +1 -0
  7. Shapely-1.3.3.dist-info/top_level.txt +1 -0
  8. shapely/DLLs/geos.dll +0 -0
  9. shapely/DLLs/geos_c.dll +0 -0
  10. shapely/__init__.py +1 -0
  11. shapely/_geos.pxi +52 -0
  12. shapely/affinity.py +255 -0
  13. shapely/algorithms/__init__.py +0 -0
  14. shapely/algorithms/cga.py +16 -0
  15. shapely/coords.py +206 -0
  16. shapely/ctypes_declarations.py +455 -0
  17. shapely/examples/__init__.py +1 -0
  18. shapely/examples/dissolve.py +53 -0
  19. shapely/examples/geoms.py +51 -0
  20. shapely/examples/intersect.py +81 -0
  21. shapely/examples/world.py +21 -0
  22. shapely/ftools.py +78 -0
  23. shapely/geometry/__init__.py +20 -0
  24. shapely/geometry/base.py +797 -0
  25. shapely/geometry/collection.py +43 -0
  26. shapely/geometry/geo.py +75 -0
  27. shapely/geometry/linestring.py +298 -0
  28. shapely/geometry/multilinestring.py +156 -0
  29. shapely/geometry/multipoint.py +213 -0
  30. shapely/geometry/multipolygon.py +186 -0
  31. shapely/geometry/point.py +269 -0
  32. shapely/geometry/polygon.py +504 -0
  33. shapely/geometry/proxy.py +51 -0
  34. shapely/geos.py +732 -0
  35. shapely/impl.py +126 -0
  36. shapely/iterops.py +55 -0
  37. shapely/linref.py +26 -0
  38. shapely/ops.py +234 -0
  39. shapely/predicates.py +23 -0
  40. shapely/prepared.py +61 -0
  41. shapely/speedups/__init__.py +43 -0
  42. shapely/speedups/_speedups.c +5674 -0
  43. shapely/speedups/_speedups.pyd +0 -0
  44. shapely/tests/__init__.py +81 -0
  45. shapely/tests/binascii_hex.txt +47 -0
  46. shapely/tests/test_affinity.py +255 -0
  47. shapely/tests/test_box.py +24 -0
  48. shapely/tests/test_cga.py +37 -0
  49. shapely/tests/test_collection.py +29 -0
  50. shapely/tests/test_delegated.py +34 -0
  51. shapely/tests/test_dlls.py +20 -0
  52. shapely/tests/test_doctests.py +36 -0
  53. shapely/tests/test_emptiness.py +53 -0
  54. shapely/tests/test_equality.py +29 -0
  55. shapely/tests/test_geointerface.py +74 -0
  56. shapely/tests/test_geomseq.py +13 -0
  57. shapely/tests/test_getitem.py +125 -0
  58. shapely/tests/test_invalid_geometries.py +30 -0
  59. shapely/tests/test_iterops.py +47 -0
  60. shapely/tests/test_linear_referencing.py +72 -0
  61. shapely/tests/test_linemerge.py +52 -0
  62. shapely/tests/test_linestring.py +111 -0
  63. shapely/tests/test_locale.py +56 -0
  64. shapely/tests/test_mapping.py +13 -0
  65. shapely/tests/test_multilinestring.py +61 -0
  66. shapely/tests/test_multipoint.py +73 -0
  67. shapely/tests/test_multipolygon.py +72 -0
  68. shapely/tests/test_ndarrays.py +54 -0
  69. shapely/tests/test_operations.py +70 -0
  70. shapely/tests/test_operators.py +18 -0
  71. shapely/tests/test_persist.py +34 -0
  72. shapely/tests/test_pickle.py +22 -0
  73. shapely/tests/test_point.py +139 -0
  74. shapely/tests/test_polygon.py +186 -0
  75. shapely/tests/test_polygonize.py +49 -0
  76. shapely/tests/test_predicates.py +34 -0
  77. shapely/tests/test_prepared.py +31 -0
  78. shapely/tests/test_products_z.py +17 -0
  79. shapely/tests/test_singularity.py +19 -0
  80. shapely/tests/test_speedups.py +39 -0
  81. shapely/tests/test_styles.py +20 -0
  82. shapely/tests/test_transform.py +84 -0
  83. shapely/tests/test_union.py +72 -0
  84. shapely/tests/test_validation.py +12 -0
  85. shapely/tests/test_vectorized.py +107 -0
  86. shapely/tests/test_xy.py +17 -0
  87. shapely/tests/threading_test.py +40 -0
  88. shapely/topology.py +60 -0
  89. shapely/validation.py +8 -0
  90. shapely/vectorized/__init__.py +3 -0
  91. shapely/vectorized/_vectorized.c +20816 -0
  92. shapely/vectorized/_vectorized.pyd +0 -0
  93. shapely/vectorized/_vectorized.pyx +120 -0
  94. shapely/wkb.py +37 -0
  95. shapely/wkt.py +26 -0
@@ -0,0 +1,52 @@
1
+ # The beginnings of a Cython definition of GEOS. In the future much of this
2
+ # could be auto-generated.
3
+
4
+ ctypedef long ptr
5
+
6
+
7
+ cdef extern from "geos_c.h":
8
+ ctypedef void *GEOSContextHandle_t
9
+ ctypedef struct GEOSGeometry
10
+ ctypedef struct GEOSCoordSequence
11
+ ctypedef struct GEOSPreparedGeometry
12
+
13
+ GEOSCoordSequence *GEOSCoordSeq_create_r(GEOSContextHandle_t, unsigned int, unsigned int) nogil
14
+ GEOSCoordSequence *GEOSGeom_getCoordSeq_r(GEOSContextHandle_t, GEOSGeometry *) nogil
15
+
16
+ int GEOSCoordSeq_getSize_r(GEOSContextHandle_t, GEOSCoordSequence *, int *) nogil
17
+ int GEOSCoordSeq_setX_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double) nogil
18
+ int GEOSCoordSeq_setY_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double) nogil
19
+ int GEOSCoordSeq_setZ_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double) nogil
20
+ int GEOSCoordSeq_getX_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double *) nogil
21
+ int GEOSCoordSeq_getY_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double *) nogil
22
+ int GEOSCoordSeq_getZ_r(GEOSContextHandle_t, GEOSCoordSequence *, int, double *) nogil
23
+
24
+ GEOSGeometry *GEOSGeom_createPoint_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil
25
+ GEOSGeometry *GEOSGeom_createLineString_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil
26
+ GEOSGeometry *GEOSGeom_createLinearRing_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil
27
+
28
+ void GEOSGeom_destroy_r(GEOSContextHandle_t, GEOSGeometry *) nogil
29
+
30
+ char GEOSPreparedContains_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
31
+ char GEOSPreparedContainsProperly_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
32
+ char GEOSPreparedCoveredBy_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
33
+ char GEOSPreparedCovers_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
34
+ char GEOSPreparedCrosses_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
35
+ char GEOSPreparedDisjoint_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
36
+ char GEOSPreparedIntersects_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
37
+ char GEOSPreparedOverlaps_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
38
+ char GEOSPreparedTouches_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
39
+ char GEOSPreparedWithin_r(GEOSContextHandle_t, const GEOSPreparedGeometry*, const GEOSGeometry*) nogil
40
+
41
+
42
+ cdef GEOSContextHandle_t get_geos_context_handle():
43
+ # Note: This requires that lgeos is defined, so needs to be imported as:
44
+ from shapely.geos import lgeos
45
+ cdef ptr handle = lgeos.geos_handle
46
+ return <GEOSContextHandle_t>handle
47
+
48
+
49
+ cdef GEOSPreparedGeometry *geos_from_prepared(shapely_geom) except *:
50
+ """Get the Prepared GEOS geometry pointer from the given shapely geometry."""
51
+ cdef ptr geos_geom = shapely_geom._geom
52
+ return <GEOSPreparedGeometry *>geos_geom
@@ -0,0 +1,505 @@
1
+ =======
2
+ Shapely
3
+ =======
4
+
5
+ Manipulation and analysis of geometric objects in the Cartesian plane.
6
+
7
+ .. image:: http://farm3.staticflickr.com/2738/4511827859_b5822043b7_o_d.png
8
+ :width: 800
9
+ :height: 400
10
+
11
+ Shapely is a BSD-licensed Python package for manipulation and analysis of
12
+ planar geometric objects. It is based on the widely deployed GEOS_ (the engine
13
+ of PostGIS_) and JTS_ (from which GEOS is ported) libraries. Shapely is not
14
+ concerned with data formats or coordinate systems, but can be readily
15
+ integrated with packages that are. For more details, see:
16
+
17
+ * Shapely manual_
18
+ * Shapely `example apps`_
19
+
20
+ Requirements
21
+ ============
22
+
23
+ Shapely 1.3 requires
24
+
25
+ * Python >=2.6 (including Python 3.x)
26
+ * libgeos_c >=3.1 (3.0 and below have not been tested, YMMV)
27
+
28
+ Installation
29
+ ============
30
+
31
+ Windows users should use the executable installer, which contains the required
32
+ GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
33
+ is on the system library path, and install from the Python package index::
34
+
35
+ $ pip install Shapely
36
+
37
+ or from a source distribution with the setup script::
38
+
39
+ $ python setup.py install
40
+
41
+ .. warning:: Windows users:
42
+ do not under any circumstances use pip (or easy_install) to uninstall
43
+ Shapely versions < 1.2.17. Due to the way Shapely used to install its GEOS
44
+ DLL and a distribute or setuptools bug, your Python installation may be
45
+ broken by an uninstall command. Shapely 1.2.17 will uninstall safely.
46
+
47
+ Usage
48
+ =====
49
+
50
+ Here is the canonical example of building an approximately circular patch by
51
+ buffering a point::
52
+
53
+ >>> from shapely.geometry import Point
54
+ >>> patch = Point(0.0, 0.0).buffer(10.0)
55
+ >>> patch
56
+ <shapely.geometry.polygon.Polygon object at 0x...>
57
+ >>> patch.area
58
+ 313.65484905459385
59
+
60
+ See the manual_ for comprehensive usage snippets and the dissolve.py and
61
+ intersect.py `example apps`_.
62
+
63
+ Integration
64
+ ===========
65
+
66
+ Shapely does not read or write data files, but it can serialize and deserialize
67
+ using several well known formats and protocols. The shapely.wkb and shapely.wkt
68
+ modules provide dumpers and loaders inspired by Python's pickle module.::
69
+
70
+ >>> from shapely.wkt import dumps, loads
71
+ >>> dumps(loads('POINT (0 0)'))
72
+ 'POINT (0.0000000000000000 0.0000000000000000)'
73
+
74
+ All linear objects, such as the rings of a polygon (like ``patch`` above),
75
+ provide the Numpy array interface.::
76
+
77
+ >>> from numpy import asarray
78
+ >>> ag = asarray(patch.exterior)
79
+ >>> ag
80
+ array([[ 1.00000000e+01, 0.00000000e+00],
81
+ [ 9.95184727e+00, -9.80171403e-01],
82
+ [ 9.80785280e+00, -1.95090322e+00],
83
+ ...
84
+ [ 1.00000000e+01, 0.00000000e+00]])
85
+
86
+ That yields a Numpy array of [x, y] arrays. This is not always exactly what one
87
+ wants for plotting shapes with Matplotlib (for example), so Shapely 1.2 adds
88
+ a `xy` property for obtaining separate arrays of coordinate x and y values.::
89
+
90
+ >>> x, y = patch.exterior.xy
91
+ >>> ax = asarray(x)
92
+ >>> ax
93
+ array([ 1.00000000e+01, 9.95184727e+00, 9.80785280e+00, ...])
94
+
95
+ Numpy arrays can also be adapted to Shapely linestrings::
96
+
97
+ >>> from shapely.geometry import asLineString
98
+ >>> asLineString(ag).length
99
+ 62.806623139095073
100
+ >>> asLineString(ag).wkt
101
+ 'LINESTRING (10.0000000000000000 0.0000000000000000, ...)'
102
+
103
+ Shapely can also integrate with other Python GIS packages using data modeled
104
+ after GeoJSON.
105
+
106
+ .. sourcecode:: pycon
107
+
108
+ >>> import json
109
+ >>> from shapely.geometry import mapping, shape
110
+ >>> s = shape(json.loads('{"type": "Point", "coordinates": [0.0, 0.0]}'))
111
+ >>> s
112
+ <shapely.geometry.point.Point object at 0x...>
113
+ >>> print(json.dumps(mapping(s)))
114
+ {"type": "Point", "coordinates": [0.0, 0.0]}
115
+
116
+ Development and Testing
117
+ =======================
118
+
119
+ Dependencies for developing Shapely are listed in requirements-dev.txt. Cython
120
+ and Numpy are not required for production installations, only for development.
121
+ Use of a virtual environment is strongly recommended.::
122
+
123
+ $ virtualenv .
124
+ $ source bin/activate
125
+ (env)$ pip install -r requirements-dev.txt
126
+ (env)$ python setup.py develop
127
+
128
+ Shapely's suite of unittests and doctests, exercised via
129
+ setup.py.::
130
+
131
+ (env)$ python setup.py test
132
+
133
+ Nosetests won't run the tests properly; Zope doctest suites are not currently
134
+ supported well by nose.
135
+
136
+ Roadmap and Maintenance
137
+ =======================
138
+
139
+ Shapely 1.2.x is a maintenance-only branch which supports Python 2.4-2.6, but
140
+ not Python 3+. There will be no new features in Shapely 1.2.x and only fixes
141
+ for major bugs.
142
+
143
+ Shapely 1.3.x is a maintenance-only branch supporting Pythons 2.7 and 3+.
144
+
145
+ "Shapely 3000" is the name of the next milestone. New features will include
146
+ vectorized operations, better integration with IPython Notebook, support for
147
+ fixed precision models, and more. Less ctypes and more Cython is another theme
148
+ in this branch. A 1.4 release should come out of this by Summer, 2014.
149
+
150
+ Support
151
+ =======
152
+
153
+ Please discuss Shapely with us at
154
+ http://lists.gispython.org/mailman/listinfo/community.
155
+
156
+ Bugs may be reported at https://github.com/Toblerity/Shapely.
157
+
158
+
159
+
160
+ .. _JTS: http://www.vividsolutions.com/jts/jtshome.htm
161
+ .. _PostGIS: http://postgis.org
162
+ .. _GEOS: http://trac.osgeo.org/geos/
163
+ .. _example apps: https://github.com/sgillies/shapely/tree/master/shapely/examples
164
+ .. _manual: http://toblerity.github.com/shapely/manual.html
165
+ .. _Pleiades: http://pleiades.stoa.org
166
+
167
+
168
+ Credits
169
+ =======
170
+
171
+ Shapely is written by:
172
+
173
+ * Sean Gillies
174
+ * Aron Bierbaum
175
+ * Kai Lautaportti
176
+ * Oliver Tonnhofer
177
+
178
+ Patches contributed by:
179
+
180
+ * Allan Adair (https://github.com/allanadair)
181
+ * Howard Butler
182
+ * Gabi Davar (https://github.com/mindw)
183
+ * Phil Elson (https://github.com/pelson)
184
+ * Johan Euphrosine (https://github.com/proppy)
185
+ * Bertrand Gervais (https://github.com/BertrandGervais)
186
+ * Marc Jansen (https://github.com/marcjansen)
187
+ * Kelsey Jordahl (https://github.com/kjordahl)
188
+ * Fr |eaigue| d |eaigue| ric Junod
189
+ * Thomas Kluyver (https://github.com/takluyver)
190
+ * William Kyngesburye (https://github.com/kyngchaos)
191
+ * Eric Lemoine
192
+ * Naveen Michaud-Agrawal (https://github.com/nmichaud)
193
+ * psagers https://github.com/psagers
194
+ * Jeethu Rao (https://github.com/jeethu)
195
+ * Benjamin Root (https://github.com/WeatherGod)
196
+ * Jason Sanford (https://github.com/JasonSanford)
197
+ * Johannes Schönberger (https://github.com/ahojnnes)
198
+ * Jonathan Tartley
199
+ * Kristian Thy
200
+ * Mike Toews (https://github.com/mwtoews)
201
+ * Maarten Vermeyen (https://github.com/maarten-vermeyen)
202
+
203
+ See also: https://github.com/Toblerity/Shapely/graphs/contributors.
204
+
205
+ Additional help from:
206
+
207
+ * Justin Bronn (GeoDjango) for ctypes inspiration
208
+ * Martin Davis (JTS)
209
+ * Jaakko Salli for the Windows distributions
210
+ * Sandro Santilli, Mateusz Loskot, Paul Ramsey, et al (GEOS Project)
211
+
212
+ Major portions of this work were supported by a grant (for Pleiades_) from the
213
+ U.S. National Endowment for the Humanities (http://www.neh.gov).
214
+
215
+ .. |eaigue| unicode:: U+00E9
216
+ :trim:
217
+ .. _Pleiades: http://pleiades.stoa.org
218
+
219
+ Changes
220
+ =======
221
+
222
+ 1.3.3 (2014-07-23)
223
+ ------------------
224
+ - Allow single-part geometries as argument to ops.cacaded_union() (#135).
225
+ - Support affine transformations of LinearRings (#112).
226
+
227
+ 1.3.2 (2014-05-13)
228
+ ------------------
229
+ - Let LineString() take a sequence of Points (#130).
230
+
231
+ 1.3.0 (2013-12-31)
232
+ ------------------
233
+ - Include support for Python 3.2 and 3.3 (#56), minimum version is now 2.6.
234
+ - Switch to GEOS WKT/WKB Reader/Writer API, with defaults changed to enable 3D
235
+ output dimensions, and to 'trim' WKT output for GEOS >=3.3.0.
236
+ - Use GEOS version instead of GEOS C API version to determine library
237
+ capabilities (#65).
238
+
239
+ 1.2.19 (2013-12-30)
240
+ -------------------
241
+ - Add buffering style options (#55).
242
+
243
+ 1.2.18 (2013-07-23)
244
+ --------------------
245
+ - Add shapely.ops.transform.
246
+ - Permit empty sequences in collection constructors (#49, #50).
247
+ - Individual polygons in MultiPolygon.__geo_interface__ are changed to tuples
248
+ to match Polygon.__geo_interface__ (#51).
249
+ - Add shapely.ops.polygonize_full (#57).
250
+
251
+ 1.2.17 (2013-01-27)
252
+ -------------------
253
+ - Avoid circular import between wkt/wkb and geometry.base by moving calls
254
+ to GEOS serializers to the latter module.
255
+ - Set _ndim when unpickling (issue #6).
256
+ - Don't install DLLs to Python's DLL directory (#37).
257
+ - Add affinity module of affine transformation (#31).
258
+ - Fix NameError that blocked installation with PyPy (#40, #41).
259
+
260
+ 1.2.16 (2012-09-18)
261
+ -------------------
262
+ - Add ops.unary_union function.
263
+ - Alias ops.cascaded_union to ops.unary_union when GEOS CAPI >= (1,7,0).
264
+ - Add geos_version_string attribute to shapely.geos.
265
+ - Ensure parent is set when child geometry is accessed.
266
+ - Generate _speedups.c using Cython when building from repo when missing,
267
+ stale, or the build target is "sdist".
268
+ - The is_simple predicate of invalid, self-intersecting linear rings now
269
+ returns ``False``.
270
+ - Remove VERSION.txt from repo, it's now written by the distutils setup script
271
+ with value of shapely.__version__.
272
+
273
+ 1.2.15 (2012-06-27)
274
+ -------------------
275
+ - Eliminate numerical sensitivity in a method chaining test (Debian bug
276
+ #663210).
277
+ - Account for cascaded union of random buffered test points being a polygon
278
+ or multipolygon (Debian bug #666655).
279
+ - Use Cython to build speedups if it is installed.
280
+ - Avoid stumbling over SVN revision numbers in GEOS C API version strings.
281
+
282
+ 1.2.14 (2012-01-23)
283
+ -------------------
284
+ - A geometry's coords property is now sliceable, yielding a list of coordinate
285
+ values.
286
+ - Homogeneous collections are now sliceable, yielding a new collection of the
287
+ same type.
288
+
289
+ 1.2.13 (2011-09-16)
290
+ -------------------
291
+ - Fixed errors in speedups on 32bit systems when GEOS references memory above
292
+ 2GB.
293
+ - Add shapely.__version__ attribute.
294
+ - Update the manual.
295
+
296
+ 1.2.12 (2011-08-15)
297
+ -------------------
298
+ - Build Windows distributions with VC7 or VC9 as appropriate.
299
+ - More verbose report on failure to speed up.
300
+ - Fix for prepared geometries broken in 1.2.11.
301
+ - DO NOT INSTALL 1.2.11
302
+
303
+ 1.2.11 (2011-08-04)
304
+ -------------------
305
+ - Ignore AttributeError during exit.
306
+ - PyPy 1.5 support.
307
+ - Prevent operation on prepared geometry crasher (#12).
308
+ - Optional Cython speedups for Windows.
309
+ - Linux 3 platform support.
310
+
311
+ 1.2.10 (2011-05-09)
312
+ -------------------
313
+ - Add optional Cython speedups.
314
+ - Add is_cww predicate to LinearRing.
315
+ - Add function that forces orientation of Polygons.
316
+ - Disable build of speedups on Windows pending packaging work.
317
+
318
+ 1.2.9 (2011-03-31)
319
+ ------------------
320
+ - Remove extra glob import.
321
+ - Move examples to shapely.examples.
322
+ - Add box() constructor for rectangular polygons.
323
+ - Fix extraneous imports.
324
+
325
+ 1.2.8 (2011-12-03)
326
+ ------------------
327
+ - New parallel_offset method (#6).
328
+ - Support for Python 2.4.
329
+
330
+ 1.2.7 (2010-11-05)
331
+ ------------------
332
+ - Support for Windows eggs.
333
+
334
+ 1.2.6 (2010-10-21)
335
+ ------------------
336
+ - The geoms property of an empty collection yields [] instead of a ValueError
337
+ (#3).
338
+ - The coords and geometry type sproperties have the same behavior as above.
339
+ - Ensure that z values carry through into products of operations (#4).
340
+
341
+ 1.2.5 (2010-09-19)
342
+ ------------------
343
+ - Stop distributing docs/_build.
344
+ - Include library fallbacks in test_dlls.py for linux platform.
345
+
346
+ 1.2.4 (2010-09-09)
347
+ ------------------
348
+ - Raise AttributeError when there's no backend support for a method.
349
+ - Raise OSError if libgeos_c.so (or variants) can't be found and loaded.
350
+ - Add geos_c DLL loading support for linux platforms where find_library doesn't
351
+ work.
352
+
353
+ 1.2.3 (2010-08-17)
354
+ ------------------
355
+ - Add mapping function.
356
+ - Fix problem with GEOSisValidReason symbol for GEOS < 3.1.
357
+
358
+ 1.2.2 (2010-07-23)
359
+ ------------------
360
+ - Add representative_point method.
361
+
362
+ 1.2.1 (2010-06-23)
363
+ ------------------
364
+ - Fixed bounds of singular polygons.
365
+ - Added shapely.validation.explain_validity function (#226).
366
+
367
+ 1.2 (2010-05-27)
368
+ ----------------
369
+ - Final release.
370
+
371
+ 1.2rc2 (2010-05-26)
372
+ -------------------
373
+ - Add examples and tests to MANIFEST.in.
374
+ - Release candidate 2.
375
+
376
+ 1.2rc1 (2010-05-25)
377
+ -------------------
378
+ - Release candidate.
379
+
380
+ 1.2b7 (2010-04-22)
381
+ ------------------
382
+ - Memory leak associated with new empty geometry state fixed.
383
+
384
+ 1.2b6 (2010-04-13)
385
+ ------------------
386
+ - Broken GeometryCollection fixed.
387
+
388
+ 1.2b5 (2010-04-09)
389
+ ------------------
390
+ - Objects can be constructed from others of the same type, thereby making
391
+ copies. Collections can be constructed from sequences of objects, also making
392
+ copies.
393
+ - Collections are now iterators over their component objects.
394
+ - New code for manual figures, using the descartes package.
395
+
396
+ 1.2b4 (2010-03-19)
397
+ ------------------
398
+ - Adds support for the "sunos5" platform.
399
+
400
+ 1.2b3 (2010-02-28)
401
+ ------------------
402
+ - Only provide simplification implementations for GEOS C API >= 1.5.
403
+
404
+ 1.2b2 (2010-02-19)
405
+ ------------------
406
+ - Fix cascaded_union bug introduced in 1.2b1 (#212).
407
+
408
+ 1.2b1 (2010-02-18)
409
+ ------------------
410
+ - Update the README. Remove cruft from setup.py. Add some version 1.2 metadata
411
+ regarding required Python version (>=2.5,<3) and external dependency
412
+ (libgeos_c >= 3.1).
413
+
414
+ 1.2a6 (2010-02-09)
415
+ ------------------
416
+ - Add accessor for separate arrays of X and Y values (#210).
417
+
418
+ TODO: fill gap here
419
+
420
+ 1.2a1 (2010-01-20)
421
+ ------------------
422
+ - Proper prototyping of WKB writer, and avoidance of errors on 64-bit systems
423
+ (#191).
424
+ - Prototype libgeos_c functions in a way that lets py2exe apps import shapely
425
+ (#189).
426
+
427
+ 1.2 Branched (2009-09-19)
428
+
429
+ 1.0.12 (2009-04-09)
430
+ -------------------
431
+ - Fix for references held by topology and predicate descriptors.
432
+
433
+ 1.0.11 (2008-11-20)
434
+ -------------------
435
+ - Work around bug in GEOS 2.2.3, GEOSCoordSeq_getOrdinate not exported properly
436
+ (#178).
437
+
438
+ 1.0.10 (2008-11-17)
439
+ -------------------
440
+ - Fixed compatibility with GEOS 2.2.3 that was broken in 1.0.8 release (#176).
441
+
442
+ 1.0.9 (2008-11-16)
443
+ ------------------
444
+ - Find and load MacPorts libgeos.
445
+
446
+ 1.0.8 (2008-11-01)
447
+ ------------------
448
+ - Fill out GEOS function result and argument types to prevent faults on a
449
+ 64-bit arch.
450
+
451
+ 1.0.7 (2008-08-22)
452
+ ------------------
453
+ - Polygon rings now have the same dimensions as parent (#168).
454
+ - Eliminated reference cycles in polygons (#169).
455
+
456
+ 1.0.6 (2008-07-10)
457
+ ------------------
458
+ - Fixed adaptation of multi polygon data.
459
+ - Raise exceptions earlier from binary predicates.
460
+ - Beginning distributing new windows DLLs (#166).
461
+
462
+ 1.0.5 (2008-05-20)
463
+ ------------------
464
+ - Added access to GEOS polygonizer function.
465
+ - Raise exception when insufficient coordinate tuples are passed to LinearRing
466
+ constructor (#164).
467
+
468
+ 1.0.4 (2008-05-01)
469
+ ------------------
470
+ - Disentangle Python and topological equality (#163).
471
+ - Add shape(), a factory that copies coordinates from a geo interface provider.
472
+ To be used instead of asShape() unless you really need to store coordinates
473
+ outside shapely for efficient use in other code.
474
+ - Cache GEOS geometries in adapters (#163).
475
+
476
+ 1.0.3 (2008-04-09)
477
+ ------------------
478
+ - Do not release GIL when calling GEOS functions (#158).
479
+ - Prevent faults when chaining multiple GEOS operators (#159).
480
+
481
+ 1.0.2 (2008-02-26)
482
+ ------------------
483
+ - Fix loss of dimensionality in polygon rings (#155).
484
+
485
+ 1.0.1 (2008-02-08)
486
+ ------------------
487
+ - Allow chaining expressions involving coordinate sequences and geometry parts
488
+ (#151).
489
+ - Protect against abnormal use of coordinate accessors (#152).
490
+ - Coordinate sequences now implement the numpy array protocol (#153).
491
+
492
+ 1.0 (2008-01-18)
493
+ ----------------
494
+ - Final release.
495
+
496
+ 1.0 RC2 (2008-01-16)
497
+ --------------------
498
+ - Added temporary solution for #149.
499
+
500
+ 1.0 RC1 (2008-01-14)
501
+ --------------------
502
+ - First release candidate
503
+
504
+
505
+