Skip to content

Commit 59c3d3f

Browse files
committed
remove dependency on Docile
1 parent e30f177 commit 59c3d3f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/LibGEOS.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ module LibGEOS
22

33
@unix_only const libgeos = "libgeos_c"
44

5-
using Compat, GeoInterface, Docile
6-
@docstrings
5+
using Compat, GeoInterface
76

87
export Point, LineString, MultiLineString, LinearRing, Polygon, MultiPolygon, GeometryCollection,
98
parseWKT, geomFromWKT, geomToWKT,

src/geos_functions.jl

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
# GEOSGeom objects to avoid memory leaks, and to GEOSFree()
66
# all returned char * (unless const).
77

8-
# Supported geometry types
9-
# This was renamed from GEOSGeomTypeId in GEOS 2.2.X, which might
10-
# break compatibility, this issue is still under investigation.
118
GEOMTYPE = @compat Dict( GEOS_POINT => :Point,
129
GEOS_LINESTRING => :LineString,
1310
GEOS_LINEARRING => :LinearRing,
@@ -390,12 +387,10 @@ function intersection(g1::GEOSGeom, g2::GEOSGeom)
390387
result
391388
end
392389

393-
@doc """
394-
Returns a Geometry that represents the convex hull of the input geometry. The returned geometry contains the minimal number of points needed to represent the convex hull. In particular, no more than two consecutive points will be collinear.
390+
# Returns a Geometry that represents the convex hull of the input geometry. The returned geometry contains the minimal number of points needed to represent the convex hull. In particular, no more than two consecutive points will be collinear.
395391

396-
Returns:
397-
if the convex hull contains 3 or more points, a Polygon; 2 points, a LineString; 1 point, a Point; 0 points, an empty GeometryCollection.
398-
""" ->
392+
# Returns:
393+
# if the convex hull contains 3 or more points, a Polygon; 2 points, a LineString; 1 point, a Point; 0 points, an empty GeometryCollection.
399394
function convexhull(ptr::GEOSGeom)
400395
result = GEOSConvexHull(ptr)
401396
if result == C_NULL

0 commit comments

Comments
 (0)