Skip to content

Commit

Permalink
add hasZ for Prepared
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Jan 2, 2024
1 parent b82d605 commit f18bb6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/geos_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,8 @@ function hasZ(obj::Geometry, context::GEOSContext = get_context(obj))
end
result != 0x00
end
hasZ(obj::PreparedGeometry, context::GEOSContext = get_context(obj)) =
hasZ(obj.ownedby, context)

# Call only on LINESTRING (return 2 on exception, 1 on true, 0 on false)
function isClosed(obj::LineString, context::GEOSContext = get_context(obj))
Expand Down

0 comments on commit f18bb6f

Please sign in to comment.