1
1
Metadata-Version: 1.0
2
2
Name: Shapely
3
- Version: 1.2.10
3
+ Version: 1.2.13
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
8
8
License: BSD
9
- Description: ======
10
- README
11
- ======
9
+ Description: =======
10
+ Shapely
11
+ =======
12
+
13
+ PostGIS-ish operations outside a database context for Pythoneers and Pythonistas
12
14
13
15
.. image:: http://farm3.static.flickr.com/2738/4511827859_b5822043b7_o_d.png
14
16
:width: 800
15
17
:height: 400
16
18
17
19
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:
20
+ planar geometric objects. It is based on the widely deployed GEOS_ (the engine
21
+ of PostGIS_) and JTS_ (from which GEOS is ported) libraries. This C dependency
22
+ is traded for the ability to execute with blazing speed. Shapely is not
23
+ concerned with data formats or coordinate systems, but can be readily
24
+ integrated with packages that are. For more details, see:
25
25
26
26
* Shapely wiki_
27
27
* Shapely manual_
28
28
* Shapely `example apps`_
29
29
30
30
Dependencies
31
- ------------
31
+ ============
32
32
33
33
Shapely 1.2 depends on:
34
34
35
35
* Python >=2.5,<3
36
36
* libgeos_c >=3.1 (3.0 and below have not been tested, YMMV)
37
37
38
38
Installation
39
- ------------
39
+ ============
40
40
41
41
Windows users should use the executable installer, which contains the required
42
42
GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
@@ -49,7 +49,7 @@ Description: ======
49
49
$ python setup.py install
50
50
51
51
Usage
52
- -----
52
+ =====
53
53
54
54
Here is the canonical example of building an approximately circular patch by
55
55
buffering a point::
@@ -65,7 +65,7 @@ Description: ======
65
65
intersect.py `example apps`_.
66
66
67
67
Integration
68
- -----------
68
+ ===========
69
69
70
70
Shapely does not read or write data files, but it can serialize and deserialize
71
71
using several well known formats and protocols. The shapely.wkb and shapely.wkt
@@ -88,8 +88,8 @@ Description: ======
88
88
[ 1.00000000e+01, 0.00000000e+00]])
89
89
90
90
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.::
91
+ wants for plotting shapes with Matplotlib (for example) , so Shapely 1.2 adds
92
+ a `xy` property for obtaining separate arrays of coordinate x and y values.::
93
93
94
94
>>> x, y = patch.exterior.xy
95
95
>>> ax = asarray(x)
@@ -105,7 +105,7 @@ Description: ======
105
105
'LINESTRING (10.0000000000000000 0.0000000000000000, ...)'
106
106
107
107
Testing
108
- -------
108
+ =======
109
109
110
110
Shapely uses a Zope-stye suite of unittests and doctests, excercised via
111
111
setup.py.::
@@ -116,16 +116,12 @@ Description: ======
116
116
supported well by nose.
117
117
118
118
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:
119
+ =======
124
120
125
- http ://trac.gispython.org/projects/PCL/wiki/CommunityList
121
+ Bugs may be reported and questions asked via https ://github.com/sgillies/shapely.
126
122
127
123
Credits
128
- -------
124
+ =======
129
125
130
126
Shapely is written by:
131
127
@@ -136,8 +132,8 @@ Description: ======
136
132
Patches contributed by:
137
133
138
134
* Howard Butler
139
- * Fr |eaigue | d |eaigue | ric Junod
140
- * Eric Lemoine
135
+ * Fr |eacute | d |eacute | ric Junod
136
+ * |Eacute| ric Lemoine
141
137
* Jonathan Tartley
142
138
* Kristian Thy
143
139
* Oliver Tonnhofer
@@ -158,14 +154,37 @@ Description: ======
158
154
.. _example apps: http://trac.gispython.org/lab/wiki/Examples
159
155
.. _wiki: http://trac.gispython.org/lab/wiki/Shapely
160
156
.. _manual: http://gispython.org/shapely/docs/1.2
161
- .. |eaigue| unicode:: U+00E9
157
+ .. |eacute| unicode:: U+00E9
158
+ :trim:
159
+ .. |Eacute| unicode:: U+00C9
162
160
:trim:
163
161
.. _Pleiades: http://pleiades.stoa.org
164
162
165
163
=======
166
164
CHANGES
167
165
=======
168
166
167
+ 1.2.13 (2011-09-16)
168
+ -------------------
169
+ - Fixed errors in speedups on 32bit systems when GEOS references memory above 2GB.
170
+ - Add shapely.__version__ attribute.
171
+ - Update the manual.
172
+
173
+ 1.2.12 (2011-08-15)
174
+ -------------------
175
+ - Build Windows distributions with VC7 or VC9 as appropriate.
176
+ - More verbose report on failure to speed up.
177
+ - Fix for prepared geometries broken in 1.2.11.
178
+ - DO NOT INSTALL 1.2.11
179
+
180
+ 1.2.11 (2011-08-04)
181
+ -------------------
182
+ - Ignore AttributeError during exit.
183
+ - PyPy 1.5 support.
184
+ - Prevent operation on prepared geometry crasher (#12).
185
+ - Optional Cython speedups for Windows.
186
+ - Linux 3 platform support.
187
+
169
188
1.2.10 (2011-05-09)
170
189
-------------------
171
190
- Add optional Cython speedups.
0 commit comments