Skip to content

Commit 1a52f62

Browse files
authored
writegeom for prepared geometry (#174)
1 parent 9359b31 commit 1a52f62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/geos_functions.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ end
5050
writegeom(obj::Geometry, context::GEOSContext = get_context(obj)) =
5151
writegeom(obj, WKTWriter(context), context)
5252

53+
writegeom(obj::PreparedGeometry, context::GEOSContext = get_context(obj)) =
54+
writegeom(obj.ownedby, WKTWriter(context), context)
55+
5356
# -----
5457
# Coordinate Sequence functions
5558
# -----

0 commit comments

Comments
 (0)