-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
using GeometryBasics, GeoInterface, GeometryOps, LibGEOS
v = [Point2(0.0, 0.0), Point2(0.0, 1.0), Point2(1.0, 1.0), Point2(1.0, 0.0), Point2(0.0, 0.0)]
p = GeoInterface.Polygon([GeoInterface.LinearRing(v)])
GeometryOps.intersection(GeometryOps.GEOS(), p, p)
hits
Error showing value of type GeoInterface.Wrappers.Polygon{false, false, LibGEOS.Polygon, Nothing, Nothing}:
ERROR: UndefVarError: `g` not defined in `GeoInterface.Wrappers`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] show(io::IOContext{…}, ::MIME{…}, geom::GeoInterface.Wrappers.Polygon{…}; show_mz::Bool, screen_ncols::Int64)
@ GeoInterface.Wrappers ~/.julia/packages/GeoInterface/rJdrx/src/wrappers.jl:237
[2] show(io::IOContext{…}, ::MIME{…}, geom::GeoInterface.Wrappers.Polygon{…})
@ GeoInterface.Wrappers ~/.julia/packages/GeoInterface/rJdrx/src/wrappers.jl:175
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done