Skip to content
Commits on Source (5)
Changes
=======
1.6.4 (2017-01-24)
------------------
- Handle a ``TypeError`` that can occur when geometries are torn down (#473,
#528).
-
1.6.3 (2017-12-09)
------------------
......@@ -21,8 +28,6 @@ Changes
1.6.2 (2017-10-26)
------------------
- Handle a ``TypeError`` that can occur when geometries are torn down (#473,
#528).
- Splitting a linestring by one of its end points will now succeed instead of
failing with a ``ValueError`` (#524, #533).
- Missing documentation of a geometry's ``overlaps`` predicate has been added
......
python-shapely (1.6.3-2) UNRELEASED; urgency=medium
python-shapely (1.6.4-1) unstable; urgency=medium
* New upstream release.
* Update copyright-format URL to use HTTPS.
* Bump Standards-Version to 4.1.3, no changes.
-- Bas Couwenberg <sebastic@debian.org> Sun, 21 Jan 2018 10:41:07 +0100
-- Bas Couwenberg <sebastic@debian.org> Wed, 24 Jan 2018 17:33:30 +0100
python-shapely (1.6.3-1) unstable; urgency=medium
......
......@@ -26,7 +26,7 @@ Build-Depends: debhelper (>= 9),
cython,
cython3,
libjs-mathjax
Standards-Version: 4.1.2
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/python-shapely.git
Vcs-Git: https://anonscm.debian.org/git/pkg-grass/python-shapely.git
Homepage: http://toblerity.org/shapely
......
......@@ -2553,8 +2553,8 @@ References
.. _GEOS: http://trac.osgeo.org/geos/
.. _Java Topology Suite: http://www.vividsolutions.com/jts/jtshome.htm
.. _JTS: http://www.vividsolutions.com/jts/jtshome.htm
.. _Java Topology Suite: https://www.locationtech.org/projects/technology.jts
.. _JTS: https://www.locationtech.org/projects/technology.jts
.. _PostGIS: http://postgis.refractions.net
.. _record: http://pypi.python.org/pypi/Shapely
.. _wiki: http://trac.gispython.org/lab/wiki/Shapely
......
__version__ = "1.6.3"
__version__ = "1.6.4"
......@@ -225,7 +225,7 @@ class BaseGeometry(object):
if not self._is_empty and not self._other_owned and self.__geom__:
try:
self._lgeos.GEOSGeom_destroy(self.__geom__)
except AttributeError:
except (AttributeError, TypeError):
pass # _lgeos might be empty on shutdown
self._is_empty = True
self.__geom__ = val
......
......@@ -13,8 +13,7 @@ from ctypes import byref, c_void_p, c_double
from shapely.geos import lgeos
from shapely.geometry.base import geom_factory, BaseGeometry
from shapely.geometry import asShape, asLineString, asMultiLineString, Point, MultiPoint,\
LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection
from shapely.algorithms.polylabel import polylabel
LineString, MultiLineString, Polygon, GeometryCollection
__all__ = ['cascaded_union', 'linemerge', 'operator', 'polygonize',
'polygonize_full', 'transform', 'unary_union', 'triangulate', 'split']
......