shapely 1.2b2__tar.gz → 1.2b4__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.2b2 → Shapely-1.2b4}/CHANGES.txt +4 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/PKG-INFO +13 -7
- {Shapely-1.2b2 → Shapely-1.2b4}/README.txt +12 -6
- {Shapely-1.2b2 → Shapely-1.2b4}/Shapely.egg-info/PKG-INFO +13 -7
- {Shapely-1.2b2 → Shapely-1.2b4}/setup.py +4 -2
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geos.py +41 -17
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/impl.py +3 -4
- {Shapely-1.2b2 → Shapely-1.2b4}/CREDITS.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/LICENSE.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/MANIFEST.in +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/Shapely.egg-info/SOURCES.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/Shapely.egg-info/dependency_links.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/Shapely.egg-info/top_level.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/examples/dissolve.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/examples/intersect.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/setup.cfg +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/__init__.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/coords.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/ctypes_declarations.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/__init__.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/base.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/collection.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/geo.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/linestring.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/multilinestring.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/multipoint.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/multipolygon.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/point.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/polygon.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geometry/proxy.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/geoms.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/iterops.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/linref.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/ops.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/predicates.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/prepared.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Array.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/GeoInterface.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/IterOps.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/LineString.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/MultiLineString.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/MultiPoint.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/MultiPolygon.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Operations.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Persist.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Point.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Polygon.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/Predicates.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/__init__.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/attribute-chains.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/binascii_hex.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/dimensions.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/invalid_intersection.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/linear-referencing.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/linemerge.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/polygonize.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/test_doctests.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/test_equality.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/test_geomseq.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/test_prepared.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/test_xy.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/threading_test.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/tests/wkt_locale.txt +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/topology.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/wkb.py +0 -0
- {Shapely-1.2b2 → Shapely-1.2b4}/shapely/wkt.py +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
All tickets are children of http://trac.gispython.org/lab/ticket.
|
|
2
2
|
|
|
3
|
+
1.2b3 (2010-02-28)
|
|
4
|
+
------------------
|
|
5
|
+
- Only provide simplification implementations for GEOS C API >= 1.5.
|
|
6
|
+
|
|
3
7
|
1.2b2 (2010-02-19)
|
|
4
8
|
------------------
|
|
5
9
|
- Fix cascaded_union bug introduced in 1.2b1 (#212).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.0
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2b4
|
|
4
4
|
Summary: Planar geometries, predicates, and operations
|
|
5
5
|
Home-page: http://trac.gispython.org/lab/wiki/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -124,14 +124,20 @@ Description:
|
|
|
124
124
|
|
|
125
125
|
Shapely is written by:
|
|
126
126
|
|
|
127
|
-
* Sean Gillies
|
|
127
|
+
* Sean Gillies
|
|
128
128
|
* Aron Bierbaum
|
|
129
|
-
*
|
|
130
|
-
* Kai Lautaportti (Hexagon IT)
|
|
131
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
132
|
-
* Eric Lemoine (Camptocamp SA)
|
|
129
|
+
* Kai Lautaportti
|
|
133
130
|
|
|
134
|
-
|
|
131
|
+
Patches contributed by:
|
|
132
|
+
|
|
133
|
+
* Howard Butler
|
|
134
|
+
* Fr |eaigue| d |eaigue| ric Junod
|
|
135
|
+
* Eric Lemoine
|
|
136
|
+
* Jonathan Tartley
|
|
137
|
+
* Kristian Thy
|
|
138
|
+
* Oliver Tonnhofer
|
|
139
|
+
|
|
140
|
+
Additional help from:
|
|
135
141
|
|
|
136
142
|
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
137
143
|
* Martin Davis (JTS)
|
|
@@ -116,14 +116,20 @@ Credits
|
|
|
116
116
|
|
|
117
117
|
Shapely is written by:
|
|
118
118
|
|
|
119
|
-
* Sean Gillies
|
|
119
|
+
* Sean Gillies
|
|
120
120
|
* Aron Bierbaum
|
|
121
|
-
*
|
|
122
|
-
* Kai Lautaportti (Hexagon IT)
|
|
123
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
124
|
-
* Eric Lemoine (Camptocamp SA)
|
|
121
|
+
* Kai Lautaportti
|
|
125
122
|
|
|
126
|
-
|
|
123
|
+
Patches contributed by:
|
|
124
|
+
|
|
125
|
+
* Howard Butler
|
|
126
|
+
* Fr |eaigue| d |eaigue| ric Junod
|
|
127
|
+
* Eric Lemoine
|
|
128
|
+
* Jonathan Tartley
|
|
129
|
+
* Kristian Thy
|
|
130
|
+
* Oliver Tonnhofer
|
|
131
|
+
|
|
132
|
+
Additional help from:
|
|
127
133
|
|
|
128
134
|
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
129
135
|
* Martin Davis (JTS)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.0
|
|
2
2
|
Name: Shapely
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2b4
|
|
4
4
|
Summary: Planar geometries, predicates, and operations
|
|
5
5
|
Home-page: http://trac.gispython.org/lab/wiki/Shapely
|
|
6
6
|
Author: Sean Gillies
|
|
@@ -124,14 +124,20 @@ Description:
|
|
|
124
124
|
|
|
125
125
|
Shapely is written by:
|
|
126
126
|
|
|
127
|
-
* Sean Gillies
|
|
127
|
+
* Sean Gillies
|
|
128
128
|
* Aron Bierbaum
|
|
129
|
-
*
|
|
130
|
-
* Kai Lautaportti (Hexagon IT)
|
|
131
|
-
* Fr |eaigue| d |eaigue| ric Junod (Camptocamp SA)
|
|
132
|
-
* Eric Lemoine (Camptocamp SA)
|
|
129
|
+
* Kai Lautaportti
|
|
133
130
|
|
|
134
|
-
|
|
131
|
+
Patches contributed by:
|
|
132
|
+
|
|
133
|
+
* Howard Butler
|
|
134
|
+
* Fr |eaigue| d |eaigue| ric Junod
|
|
135
|
+
* Eric Lemoine
|
|
136
|
+
* Jonathan Tartley
|
|
137
|
+
* Kristian Thy
|
|
138
|
+
* Oliver Tonnhofer
|
|
139
|
+
|
|
140
|
+
Additional help from:
|
|
135
141
|
|
|
136
142
|
* Justin Bronn (GeoDjango) for ctypes inspiration
|
|
137
143
|
* Martin Davis (JTS)
|
|
@@ -4,7 +4,9 @@ try:
|
|
|
4
4
|
from distribute_setup import use_setuptools
|
|
5
5
|
use_setuptools()
|
|
6
6
|
except:
|
|
7
|
-
warnings.warn(
|
|
7
|
+
warnings.warn(
|
|
8
|
+
"Failed to import distribute_setup, continuing without distribute.",
|
|
9
|
+
Warning)
|
|
8
10
|
|
|
9
11
|
from setuptools import setup, find_packages
|
|
10
12
|
import sys
|
|
@@ -14,7 +16,7 @@ readme_text = file('README.txt', 'rb').read()
|
|
|
14
16
|
setup_args = dict(
|
|
15
17
|
metadata_version = '1.2',
|
|
16
18
|
name = 'Shapely',
|
|
17
|
-
version = '1.
|
|
19
|
+
version = '1.2b4',
|
|
18
20
|
requires_python = '>=2.5,<3',
|
|
19
21
|
requires_external = 'libgeos_c (>=3.1)',
|
|
20
22
|
description = 'Planar geometries, predicates, and operations',
|
|
@@ -22,21 +22,15 @@ class NullHandler(logging.Handler):
|
|
|
22
22
|
LOG = logging.getLogger(__name__)
|
|
23
23
|
LOG.addHandler(NullHandler())
|
|
24
24
|
|
|
25
|
-
# Find and load the GEOS
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
def free(m):
|
|
35
|
-
try:
|
|
36
|
-
cdll.msvcrt.free(m)
|
|
37
|
-
except WindowsError:
|
|
38
|
-
# XXX: See http://trac.gispython.org/projects/PCL/ticket/149
|
|
39
|
-
pass
|
|
25
|
+
# Find and load the GEOS and C libraries
|
|
26
|
+
# If this ever gets any longer, we'll break it into separate modules
|
|
27
|
+
|
|
28
|
+
if sys.platform == 'linux2':
|
|
29
|
+
_lgeos = CDLL(find_library('geos_c'))
|
|
30
|
+
free = CDLL(find_library('c')).free
|
|
31
|
+
free.argtypes = [c_void_p]
|
|
32
|
+
free.restype = None
|
|
33
|
+
|
|
40
34
|
elif sys.platform == 'darwin':
|
|
41
35
|
lib = find_library('geos_c')
|
|
42
36
|
if lib is None:
|
|
@@ -54,10 +48,39 @@ elif sys.platform == 'darwin':
|
|
|
54
48
|
if lib is None:
|
|
55
49
|
raise ImportError("Could not find geos_c library")
|
|
56
50
|
_lgeos = CDLL(lib)
|
|
57
|
-
free = CDLL(find_library('
|
|
51
|
+
free = CDLL(find_library('c')).free
|
|
58
52
|
free.argtypes = [c_void_p]
|
|
59
53
|
free.restype = None
|
|
60
|
-
|
|
54
|
+
|
|
55
|
+
elif sys.platform == 'win32':
|
|
56
|
+
try:
|
|
57
|
+
local_dlls = os.path.abspath(os.__file__ + "../../../DLLs")
|
|
58
|
+
original_path = os.environ['PATH']
|
|
59
|
+
os.environ['PATH'] = "%s;%s" % (local_dlls, original_path)
|
|
60
|
+
_lgeos = CDLL("geos.dll")
|
|
61
|
+
except (ImportError, WindowsError):
|
|
62
|
+
raise
|
|
63
|
+
def free(m):
|
|
64
|
+
try:
|
|
65
|
+
cdll.msvcrt.free(m)
|
|
66
|
+
except WindowsError:
|
|
67
|
+
# XXX: See http://trac.gispython.org/projects/PCL/ticket/149
|
|
68
|
+
pass
|
|
69
|
+
|
|
70
|
+
elif sys.platform == 'sunos5':
|
|
71
|
+
# Try the major versioned name first, falling back on the unversioned
|
|
72
|
+
# name.
|
|
73
|
+
try:
|
|
74
|
+
_lgeos = CDLL('libgeos_c.so.1')
|
|
75
|
+
except (OSError, ImportError):
|
|
76
|
+
_lgeos = CDLL('libgeos_c.so')
|
|
77
|
+
except:
|
|
78
|
+
raise
|
|
79
|
+
free = CDLL('libc.so.1').free
|
|
80
|
+
free.argtypes = [c_void_p]
|
|
81
|
+
free.restype = None
|
|
82
|
+
|
|
83
|
+
else: # other *nix systems
|
|
61
84
|
# Try the major versioned name first, falling back on the unversioned
|
|
62
85
|
# name.
|
|
63
86
|
try:
|
|
@@ -344,5 +367,6 @@ elif geos_c_version >= (1, 5, 0):
|
|
|
344
367
|
L = LGEOS15
|
|
345
368
|
else:
|
|
346
369
|
L = LGEOS14
|
|
370
|
+
|
|
347
371
|
lgeos = L(_lgeos)
|
|
348
372
|
|
|
@@ -44,13 +44,12 @@ IMPL14 = {
|
|
|
44
44
|
'touches': (BinaryPredicate, 'touches'),
|
|
45
45
|
'within': (BinaryPredicate, 'within'),
|
|
46
46
|
'equals_exact': (BinaryPredicate, 'equals_exact'),
|
|
47
|
-
'simplify': (UnaryTopologicalOp, 'simplify'),
|
|
48
|
-
'topology_preserve_simplify':
|
|
49
|
-
(UnaryTopologicalOp, 'topology_preserve_simplify'),
|
|
50
|
-
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
IMPL15 = {
|
|
50
|
+
'simplify': (UnaryTopologicalOp, 'simplify'),
|
|
51
|
+
'topology_preserve_simplify':
|
|
52
|
+
(UnaryTopologicalOp, 'topology_preserve_simplify'),
|
|
54
53
|
'prepared_intersects': (BinaryPredicate, 'prepared_intersects'),
|
|
55
54
|
'prepared_contains': (BinaryPredicate, 'prepared_contains'),
|
|
56
55
|
'prepared_contains_properly':
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|