shapely 1.0__tar.gz → 1.0a7__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.0a7/CREDITS.txt +5 -0
- {Shapely-1.0 → Shapely-1.0a7}/PKG-INFO +17 -57
- {Shapely-1.0 → Shapely-1.0a7}/README.txt +16 -56
- {Shapely-1.0 → Shapely-1.0a7}/Shapely.egg-info/PKG-INFO +17 -57
- {Shapely-1.0 → Shapely-1.0a7}/Shapely.egg-info/SOURCES.txt +2 -9
- {Shapely-1.0 → Shapely-1.0a7}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/Shapely.egg-info/requires.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/setup.py +7 -14
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/base.py +13 -101
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/linestring.py +21 -19
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/multilinestring.py +6 -8
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/multipoint.py +21 -18
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/multipolygon.py +6 -8
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/point.py +23 -33
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/polygon.py +12 -27
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geos.py +6 -22
- {Shapely-1.0 → Shapely-1.0a7}/shapely/iterops.py +7 -9
- Shapely-1.0a7/shapely/predicates.py +50 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/topology.py +1 -15
- {Shapely-1.0 → Shapely-1.0a7}/shapely/wkb.py +3 -8
- {Shapely-1.0 → Shapely-1.0a7}/shapely/wkt.py +2 -9
- {Shapely-1.0 → Shapely-1.0a7}/tests/LineString.txt +1 -20
- {Shapely-1.0 → Shapely-1.0a7}/tests/MultiPoint.txt +2 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/Persist.txt +2 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/Point.txt +0 -25
- {Shapely-1.0 → Shapely-1.0a7}/tests/Polygon.txt +1 -20
- {Shapely-1.0 → Shapely-1.0a7}/tests/Predicates.txt +1 -1
- Shapely-1.0a7/tests/__init__.py +1 -0
- Shapely-1.0a7/tests/runalldoctests.py +49 -0
- Shapely-1.0a7/tests/rungrind.dist +4 -0
- Shapely-1.0a7/tests/runtests.dist +4 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/test_doctests.py +2 -5
- Shapely-1.0/CHANGES.txt +0 -0
- Shapely-1.0/CREDITS.txt +0 -10
- Shapely-1.0/HISTORY.txt +0 -16
- Shapely-1.0/LICENSE.txt +0 -28
- Shapely-1.0/manual/manual.txt +0 -847
- Shapely-1.0/manual/style.css +0 -231
- Shapely-1.0/setup_windows.py +0 -39
- Shapely-1.0/shapely/predicates.py +0 -58
- Shapely-1.0/tests/__init__.py +0 -2
- Shapely-1.0/tests/binascii_hex.txt +0 -47
- Shapely-1.0/tests/invalid_intersection.txt +0 -29
- Shapely-1.0/tests/rungrind.dist +0 -4
- Shapely-1.0/tests/valgrind-python.supp +0 -240
- {Shapely-1.0 → Shapely-1.0a7}/examples/geoms.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/examples/world.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/setup.cfg +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/__init__.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/collection.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/geometry/geo.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/shapely/kml.py +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/Array.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/GeoInterface.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/IterOps.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/MultiLineString.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/MultiPolygon.txt +0 -0
- {Shapely-1.0 → Shapely-1.0a7}/tests/Operations.txt +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 1.0
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0a7
|
|
4
4
|
Summary: Geospatial geometries, predicates, and operations
|
|
5
|
-
Home-page: http://trac.gispython.org/projects/PCL/wiki/
|
|
5
|
+
Home-page: http://trac.gispython.org/projects/PCL/wiki/ShapeLy
|
|
6
6
|
Author: Sean Gillies
|
|
7
7
|
Author-email: sgillies@frii.com
|
|
8
|
-
License:
|
|
8
|
+
License: LGPL
|
|
9
9
|
Description: Shapely
|
|
10
10
|
=======
|
|
11
11
|
|
|
12
|
-
Shapely is a Python package for programming with
|
|
13
|
-
|
|
12
|
+
Shapely is a Python package for programming with geospatial geometries. It is
|
|
13
|
+
based on GEOS (http://geos.refractions.net). Shapely 1.0 is ignorant about
|
|
14
14
|
coordinate and reference systems. Projection responsibility is left to specific
|
|
15
15
|
applications. For more information, see:
|
|
16
16
|
|
|
@@ -20,22 +20,21 @@ Description: Shapely
|
|
|
20
20
|
Shapely requires Python 2.4+. (I've also begun to port it to Python 3.0:
|
|
21
21
|
http://zcologia.com/news/564/shapely-for-python-3-0/.)
|
|
22
22
|
|
|
23
|
+
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
24
|
+
.. _manual: http://trac.gispython.org/projects/PCL/wiki/ShapelyManual
|
|
23
25
|
|
|
24
26
|
Dependencies
|
|
25
27
|
------------
|
|
26
28
|
|
|
27
|
-
* libgeos_c (2.2.3
|
|
29
|
+
* libgeos_c (2.2.3, also reported to work with 3.0 after small modifications.)
|
|
28
30
|
* Python ctypes_ (standard in Python 2.5+)
|
|
29
31
|
|
|
30
32
|
.. _ctypes: http://pypi.python.org/pypi/ctypes/
|
|
31
33
|
|
|
32
|
-
|
|
33
34
|
Installation
|
|
34
35
|
------------
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
|
|
38
|
-
is on the system library path, and install from the Python package index::
|
|
37
|
+
Shapely can be installed from the Python package index::
|
|
39
38
|
|
|
40
39
|
$ sudo easy_install Shapely
|
|
41
40
|
|
|
@@ -43,29 +42,26 @@ Description: Shapely
|
|
|
43
42
|
|
|
44
43
|
$ sudo python setup.py install
|
|
45
44
|
|
|
46
|
-
or by using the development buildout
|
|
45
|
+
or by using the development buildout, which also provides libgeos_c::
|
|
47
46
|
|
|
48
47
|
$ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout
|
|
49
48
|
$ cd shapely.buildout
|
|
50
49
|
$ python bootstrap.py
|
|
51
50
|
$ ./bin/buildout
|
|
52
51
|
|
|
53
|
-
|
|
54
52
|
Usage
|
|
55
53
|
-----
|
|
56
54
|
|
|
57
|
-
|
|
55
|
+
Buffer a point::
|
|
58
56
|
|
|
59
57
|
>>> from shapely.geometry import Point
|
|
60
58
|
>>> point = Point(-106.0, 40.0) # longitude, latitude
|
|
61
59
|
>>> point.buffer(10.0)
|
|
62
60
|
<shapely.geometry.polygon.Polygon object at ...>
|
|
63
61
|
|
|
64
|
-
See
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
examples of the geometry APIs.
|
|
68
|
-
|
|
62
|
+
See Operations.txt and Predicates.txt under tests/ for more examples of the
|
|
63
|
+
spatial operations and predicates provided by Shapely. Also see Point.txt,
|
|
64
|
+
LineString.txt, etc for examples of the geometry APIs.
|
|
69
65
|
|
|
70
66
|
Numpy integration
|
|
71
67
|
-----------------
|
|
@@ -87,7 +83,6 @@ Description: Shapely
|
|
|
87
83
|
>>> line.wkt
|
|
88
84
|
'LINESTRING (1.0000000000000000 2.0000000000000000, 3.0000000000000000 4.0000000000000000)'
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
Python Geo Interface
|
|
92
87
|
--------------------
|
|
93
88
|
|
|
@@ -115,7 +110,6 @@ Description: Shapely
|
|
|
115
110
|
See http://trac.gispython.org/projects/PCL/wiki/PythonGeoInterface for more
|
|
116
111
|
details on the interface.
|
|
117
112
|
|
|
118
|
-
|
|
119
113
|
Testing
|
|
120
114
|
-------
|
|
121
115
|
|
|
@@ -125,49 +119,15 @@ Description: Shapely
|
|
|
125
119
|
$ python point.py
|
|
126
120
|
|
|
127
121
|
There are also two test runners under tests/. test_doctests.py requires
|
|
128
|
-
zope.testing. runalldoctests.py does not.
|
|
129
|
-
tests is::
|
|
130
|
-
|
|
131
|
-
$ python setup.py test
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Support
|
|
135
|
-
-------
|
|
136
|
-
|
|
137
|
-
For current information about this project, see the wiki_.
|
|
138
|
-
|
|
139
|
-
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
140
|
-
.. _manual: http://gispython.org/shapely/manual.html
|
|
141
|
-
|
|
142
|
-
If you have questions, please consider joining our community list:
|
|
143
|
-
|
|
144
|
-
http://trac.gispython.org/projects/PCL/wiki/CommunityList
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
Credits
|
|
148
|
-
-------
|
|
149
|
-
|
|
150
|
-
* Sean Gillies (Pleiades)
|
|
151
|
-
* Howard Butler (Hobu, Inc.)
|
|
152
|
-
* Kai Lautaportti (Hexagon IT)
|
|
153
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
154
|
-
* Eric Lemoine (Camptocamp SA)
|
|
155
|
-
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
156
|
-
* Artem Pavlenko (Mapnik) for help with GEOS DLLs
|
|
157
|
-
|
|
158
|
-
.. |eaigue| unicode:: U+00E9
|
|
159
|
-
:trim:
|
|
160
|
-
|
|
161
|
-
Major portions of this work were supported by a grant (to Pleiades) from the
|
|
162
|
-
U.S. National Endowment for the Humanities (http://www.neh.gov).
|
|
122
|
+
zope.testing. runalldoctests.py does not.
|
|
163
123
|
|
|
164
124
|
|
|
165
125
|
Keywords: geometry topology
|
|
166
126
|
Platform: UNKNOWN
|
|
167
|
-
Classifier: Development Status ::
|
|
127
|
+
Classifier: Development Status :: 3 - Alpha
|
|
168
128
|
Classifier: Intended Audience :: Developers
|
|
169
129
|
Classifier: Intended Audience :: Science/Research
|
|
170
|
-
Classifier: License :: OSI Approved ::
|
|
130
|
+
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
|
|
171
131
|
Classifier: Operating System :: OS Independent
|
|
172
132
|
Classifier: Programming Language :: Python
|
|
173
133
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Shapely
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
-
Shapely is a Python package for programming with
|
|
5
|
-
|
|
4
|
+
Shapely is a Python package for programming with geospatial geometries. It is
|
|
5
|
+
based on GEOS (http://geos.refractions.net). Shapely 1.0 is ignorant about
|
|
6
6
|
coordinate and reference systems. Projection responsibility is left to specific
|
|
7
7
|
applications. For more information, see:
|
|
8
8
|
|
|
@@ -12,22 +12,21 @@ applications. For more information, see:
|
|
|
12
12
|
Shapely requires Python 2.4+. (I've also begun to port it to Python 3.0:
|
|
13
13
|
http://zcologia.com/news/564/shapely-for-python-3-0/.)
|
|
14
14
|
|
|
15
|
+
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
16
|
+
.. _manual: http://trac.gispython.org/projects/PCL/wiki/ShapelyManual
|
|
15
17
|
|
|
16
18
|
Dependencies
|
|
17
19
|
------------
|
|
18
20
|
|
|
19
|
-
* libgeos_c (2.2.3
|
|
21
|
+
* libgeos_c (2.2.3, also reported to work with 3.0 after small modifications.)
|
|
20
22
|
* Python ctypes_ (standard in Python 2.5+)
|
|
21
23
|
|
|
22
24
|
.. _ctypes: http://pypi.python.org/pypi/ctypes/
|
|
23
25
|
|
|
24
|
-
|
|
25
26
|
Installation
|
|
26
27
|
------------
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
|
|
30
|
-
is on the system library path, and install from the Python package index::
|
|
29
|
+
Shapely can be installed from the Python package index::
|
|
31
30
|
|
|
32
31
|
$ sudo easy_install Shapely
|
|
33
32
|
|
|
@@ -35,29 +34,26 @@ with the setup script::
|
|
|
35
34
|
|
|
36
35
|
$ sudo python setup.py install
|
|
37
36
|
|
|
38
|
-
or by using the development buildout
|
|
39
|
-
|
|
40
|
-
$ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout
|
|
41
|
-
$ cd shapely.buildout
|
|
42
|
-
$ python bootstrap.py
|
|
43
|
-
$ ./bin/buildout
|
|
37
|
+
or by using the development buildout, which also provides libgeos_c::
|
|
44
38
|
|
|
39
|
+
$ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout
|
|
40
|
+
$ cd shapely.buildout
|
|
41
|
+
$ python bootstrap.py
|
|
42
|
+
$ ./bin/buildout
|
|
45
43
|
|
|
46
44
|
Usage
|
|
47
45
|
-----
|
|
48
46
|
|
|
49
|
-
|
|
47
|
+
Buffer a point::
|
|
50
48
|
|
|
51
49
|
>>> from shapely.geometry import Point
|
|
52
50
|
>>> point = Point(-106.0, 40.0) # longitude, latitude
|
|
53
51
|
>>> point.buffer(10.0)
|
|
54
52
|
<shapely.geometry.polygon.Polygon object at ...>
|
|
55
53
|
|
|
56
|
-
See
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
examples of the geometry APIs.
|
|
60
|
-
|
|
54
|
+
See Operations.txt and Predicates.txt under tests/ for more examples of the
|
|
55
|
+
spatial operations and predicates provided by Shapely. Also see Point.txt,
|
|
56
|
+
LineString.txt, etc for examples of the geometry APIs.
|
|
61
57
|
|
|
62
58
|
Numpy integration
|
|
63
59
|
-----------------
|
|
@@ -79,7 +75,6 @@ Numpy arrays can also be adapted to Shapely points and linestrings::
|
|
|
79
75
|
>>> line.wkt
|
|
80
76
|
'LINESTRING (1.0000000000000000 2.0000000000000000, 3.0000000000000000 4.0000000000000000)'
|
|
81
77
|
|
|
82
|
-
|
|
83
78
|
Python Geo Interface
|
|
84
79
|
--------------------
|
|
85
80
|
|
|
@@ -107,7 +102,6 @@ geometry with the asShape factory::
|
|
|
107
102
|
See http://trac.gispython.org/projects/PCL/wiki/PythonGeoInterface for more
|
|
108
103
|
details on the interface.
|
|
109
104
|
|
|
110
|
-
|
|
111
105
|
Testing
|
|
112
106
|
-------
|
|
113
107
|
|
|
@@ -117,39 +111,5 @@ Several of the modules have docstring doctests::
|
|
|
117
111
|
$ python point.py
|
|
118
112
|
|
|
119
113
|
There are also two test runners under tests/. test_doctests.py requires
|
|
120
|
-
zope.testing. runalldoctests.py does not.
|
|
121
|
-
tests is::
|
|
122
|
-
|
|
123
|
-
$ python setup.py test
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
Support
|
|
127
|
-
-------
|
|
128
|
-
|
|
129
|
-
For current information about this project, see the wiki_.
|
|
130
|
-
|
|
131
|
-
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
132
|
-
.. _manual: http://gispython.org/shapely/manual.html
|
|
133
|
-
|
|
134
|
-
If you have questions, please consider joining our community list:
|
|
135
|
-
|
|
136
|
-
http://trac.gispython.org/projects/PCL/wiki/CommunityList
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
Credits
|
|
140
|
-
-------
|
|
141
|
-
|
|
142
|
-
* Sean Gillies (Pleiades)
|
|
143
|
-
* Howard Butler (Hobu, Inc.)
|
|
144
|
-
* Kai Lautaportti (Hexagon IT)
|
|
145
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
146
|
-
* Eric Lemoine (Camptocamp SA)
|
|
147
|
-
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
148
|
-
* Artem Pavlenko (Mapnik) for help with GEOS DLLs
|
|
149
|
-
|
|
150
|
-
.. |eaigue| unicode:: U+00E9
|
|
151
|
-
:trim:
|
|
152
|
-
|
|
153
|
-
Major portions of this work were supported by a grant (to Pleiades) from the
|
|
154
|
-
U.S. National Endowment for the Humanities (http://www.neh.gov).
|
|
114
|
+
zope.testing. runalldoctests.py does not.
|
|
155
115
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 1.0
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0a7
|
|
4
4
|
Summary: Geospatial geometries, predicates, and operations
|
|
5
|
-
Home-page: http://trac.gispython.org/projects/PCL/wiki/
|
|
5
|
+
Home-page: http://trac.gispython.org/projects/PCL/wiki/ShapeLy
|
|
6
6
|
Author: Sean Gillies
|
|
7
7
|
Author-email: sgillies@frii.com
|
|
8
|
-
License:
|
|
8
|
+
License: LGPL
|
|
9
9
|
Description: Shapely
|
|
10
10
|
=======
|
|
11
11
|
|
|
12
|
-
Shapely is a Python package for programming with
|
|
13
|
-
|
|
12
|
+
Shapely is a Python package for programming with geospatial geometries. It is
|
|
13
|
+
based on GEOS (http://geos.refractions.net). Shapely 1.0 is ignorant about
|
|
14
14
|
coordinate and reference systems. Projection responsibility is left to specific
|
|
15
15
|
applications. For more information, see:
|
|
16
16
|
|
|
@@ -20,22 +20,21 @@ Description: Shapely
|
|
|
20
20
|
Shapely requires Python 2.4+. (I've also begun to port it to Python 3.0:
|
|
21
21
|
http://zcologia.com/news/564/shapely-for-python-3-0/.)
|
|
22
22
|
|
|
23
|
+
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
24
|
+
.. _manual: http://trac.gispython.org/projects/PCL/wiki/ShapelyManual
|
|
23
25
|
|
|
24
26
|
Dependencies
|
|
25
27
|
------------
|
|
26
28
|
|
|
27
|
-
* libgeos_c (2.2.3
|
|
29
|
+
* libgeos_c (2.2.3, also reported to work with 3.0 after small modifications.)
|
|
28
30
|
* Python ctypes_ (standard in Python 2.5+)
|
|
29
31
|
|
|
30
32
|
.. _ctypes: http://pypi.python.org/pypi/ctypes/
|
|
31
33
|
|
|
32
|
-
|
|
33
34
|
Installation
|
|
34
35
|
------------
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
GEOS DLL. Other users should acquire libgeos_c by any means, make sure that it
|
|
38
|
-
is on the system library path, and install from the Python package index::
|
|
37
|
+
Shapely can be installed from the Python package index::
|
|
39
38
|
|
|
40
39
|
$ sudo easy_install Shapely
|
|
41
40
|
|
|
@@ -43,29 +42,26 @@ Description: Shapely
|
|
|
43
42
|
|
|
44
43
|
$ sudo python setup.py install
|
|
45
44
|
|
|
46
|
-
or by using the development buildout
|
|
45
|
+
or by using the development buildout, which also provides libgeos_c::
|
|
47
46
|
|
|
48
47
|
$ svn co http://svn.gispython.org/svn/gispy/buildout/shapely.buildout/trunk shapely.buildout
|
|
49
48
|
$ cd shapely.buildout
|
|
50
49
|
$ python bootstrap.py
|
|
51
50
|
$ ./bin/buildout
|
|
52
51
|
|
|
53
|
-
|
|
54
52
|
Usage
|
|
55
53
|
-----
|
|
56
54
|
|
|
57
|
-
|
|
55
|
+
Buffer a point::
|
|
58
56
|
|
|
59
57
|
>>> from shapely.geometry import Point
|
|
60
58
|
>>> point = Point(-106.0, 40.0) # longitude, latitude
|
|
61
59
|
>>> point.buffer(10.0)
|
|
62
60
|
<shapely.geometry.polygon.Polygon object at ...>
|
|
63
61
|
|
|
64
|
-
See
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
examples of the geometry APIs.
|
|
68
|
-
|
|
62
|
+
See Operations.txt and Predicates.txt under tests/ for more examples of the
|
|
63
|
+
spatial operations and predicates provided by Shapely. Also see Point.txt,
|
|
64
|
+
LineString.txt, etc for examples of the geometry APIs.
|
|
69
65
|
|
|
70
66
|
Numpy integration
|
|
71
67
|
-----------------
|
|
@@ -87,7 +83,6 @@ Description: Shapely
|
|
|
87
83
|
>>> line.wkt
|
|
88
84
|
'LINESTRING (1.0000000000000000 2.0000000000000000, 3.0000000000000000 4.0000000000000000)'
|
|
89
85
|
|
|
90
|
-
|
|
91
86
|
Python Geo Interface
|
|
92
87
|
--------------------
|
|
93
88
|
|
|
@@ -115,7 +110,6 @@ Description: Shapely
|
|
|
115
110
|
See http://trac.gispython.org/projects/PCL/wiki/PythonGeoInterface for more
|
|
116
111
|
details on the interface.
|
|
117
112
|
|
|
118
|
-
|
|
119
113
|
Testing
|
|
120
114
|
-------
|
|
121
115
|
|
|
@@ -125,49 +119,15 @@ Description: Shapely
|
|
|
125
119
|
$ python point.py
|
|
126
120
|
|
|
127
121
|
There are also two test runners under tests/. test_doctests.py requires
|
|
128
|
-
zope.testing. runalldoctests.py does not.
|
|
129
|
-
tests is::
|
|
130
|
-
|
|
131
|
-
$ python setup.py test
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Support
|
|
135
|
-
-------
|
|
136
|
-
|
|
137
|
-
For current information about this project, see the wiki_.
|
|
138
|
-
|
|
139
|
-
.. _wiki: http://trac.gispython.org/projects/PCL/wiki/Shapely
|
|
140
|
-
.. _manual: http://gispython.org/shapely/manual.html
|
|
141
|
-
|
|
142
|
-
If you have questions, please consider joining our community list:
|
|
143
|
-
|
|
144
|
-
http://trac.gispython.org/projects/PCL/wiki/CommunityList
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
Credits
|
|
148
|
-
-------
|
|
149
|
-
|
|
150
|
-
* Sean Gillies (Pleiades)
|
|
151
|
-
* Howard Butler (Hobu, Inc.)
|
|
152
|
-
* Kai Lautaportti (Hexagon IT)
|
|
153
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
154
|
-
* Eric Lemoine (Camptocamp SA)
|
|
155
|
-
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
156
|
-
* Artem Pavlenko (Mapnik) for help with GEOS DLLs
|
|
157
|
-
|
|
158
|
-
.. |eaigue| unicode:: U+00E9
|
|
159
|
-
:trim:
|
|
160
|
-
|
|
161
|
-
Major portions of this work were supported by a grant (to Pleiades) from the
|
|
162
|
-
U.S. National Endowment for the Humanities (http://www.neh.gov).
|
|
122
|
+
zope.testing. runalldoctests.py does not.
|
|
163
123
|
|
|
164
124
|
|
|
165
125
|
Keywords: geometry topology
|
|
166
126
|
Platform: UNKNOWN
|
|
167
|
-
Classifier: Development Status ::
|
|
127
|
+
Classifier: Development Status :: 3 - Alpha
|
|
168
128
|
Classifier: Intended Audience :: Developers
|
|
169
129
|
Classifier: Intended Audience :: Science/Research
|
|
170
|
-
Classifier: License :: OSI Approved ::
|
|
130
|
+
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
|
|
171
131
|
Classifier: Operating System :: OS Independent
|
|
172
132
|
Classifier: Programming Language :: Python
|
|
173
133
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
CHANGES.txt
|
|
2
1
|
CREDITS.txt
|
|
3
|
-
HISTORY.txt
|
|
4
|
-
LICENSE.txt
|
|
5
2
|
README.txt
|
|
6
3
|
setup.py
|
|
7
|
-
setup_windows.py
|
|
8
4
|
Shapely.egg-info/PKG-INFO
|
|
9
5
|
Shapely.egg-info/SOURCES.txt
|
|
10
6
|
Shapely.egg-info/dependency_links.txt
|
|
@@ -12,8 +8,6 @@ Shapely.egg-info/requires.txt
|
|
|
12
8
|
Shapely.egg-info/top_level.txt
|
|
13
9
|
examples/geoms.py
|
|
14
10
|
examples/world.py
|
|
15
|
-
manual/manual.txt
|
|
16
|
-
manual/style.css
|
|
17
11
|
shapely/__init__.py
|
|
18
12
|
shapely/geos.py
|
|
19
13
|
shapely/iterops.py
|
|
@@ -45,8 +39,7 @@ tests/Point.txt
|
|
|
45
39
|
tests/Polygon.txt
|
|
46
40
|
tests/Predicates.txt
|
|
47
41
|
tests/__init__.py
|
|
48
|
-
tests/
|
|
49
|
-
tests/invalid_intersection.txt
|
|
42
|
+
tests/runalldoctests.py
|
|
50
43
|
tests/rungrind.dist
|
|
44
|
+
tests/runtests.dist
|
|
51
45
|
tests/test_doctests.py
|
|
52
|
-
tests/valgrind-python.supp
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,35 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
from setuptools import setup, Extension
|
|
3
|
-
from sys import version_info
|
|
4
|
-
|
|
5
|
-
# Require ctypes egg only for Python < 2.5
|
|
6
|
-
install_requires = ['setuptools']
|
|
7
|
-
if version_info[:2] < (2,5):
|
|
8
|
-
install_requires.append('ctypes')
|
|
9
3
|
|
|
10
4
|
# Get text from README.txt
|
|
11
5
|
readme_text = file('README.txt', 'rb').read()
|
|
12
6
|
|
|
13
7
|
setup(name = 'Shapely',
|
|
14
|
-
version = '1.
|
|
8
|
+
version = '1.0a7',
|
|
15
9
|
description = 'Geospatial geometries, predicates, and operations',
|
|
16
|
-
license = '
|
|
10
|
+
license = 'LGPL',
|
|
17
11
|
keywords = 'geometry topology',
|
|
18
12
|
author = 'Sean Gillies',
|
|
19
13
|
author_email = 'sgillies@frii.com',
|
|
20
14
|
maintainer = 'Sean Gillies',
|
|
21
15
|
maintainer_email = 'sgillies@frii.com',
|
|
22
|
-
url = 'http://trac.gispython.org/projects/PCL/wiki/
|
|
16
|
+
url = 'http://trac.gispython.org/projects/PCL/wiki/ShapeLy',
|
|
23
17
|
long_description = readme_text,
|
|
24
18
|
packages = ['shapely', 'shapely.geometry'],
|
|
25
|
-
install_requires =
|
|
26
|
-
|
|
27
|
-
test_suite = 'tests.test_suite',
|
|
19
|
+
install_requires = ['setuptools', 'ctypes'],
|
|
20
|
+
tests_require = ['zope.testing', 'numpy'],
|
|
28
21
|
classifiers = [
|
|
29
|
-
'Development Status ::
|
|
22
|
+
'Development Status :: 3 - Alpha',
|
|
30
23
|
'Intended Audience :: Developers',
|
|
31
24
|
'Intended Audience :: Science/Research',
|
|
32
|
-
'License :: OSI Approved ::
|
|
25
|
+
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
|
|
33
26
|
'Operating System :: OS Independent',
|
|
34
27
|
'Programming Language :: Python',
|
|
35
28
|
'Topic :: Scientific/Engineering :: GIS',
|