Skip to content

Commit b9fb6b2

Browse files
authored
Import all items from GeoInterface and Extents (#93)
1 parent af4cb4a commit b9fb6b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/GeometryOps.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ include("transformations/transform.jl")
5454
include("transformations/correction/geometry_correction.jl")
5555
include("transformations/correction/closed_ring.jl")
5656

57+
# Import all names from GeoInterface and Extents, so users can do `GO.extent` or `GO.trait`.
58+
for name in names(GeoInterface)
59+
@eval using GeoInterface: $name
60+
end
61+
for name in names(Extents)
62+
@eval using GeoInterface.Extents: $name
63+
end
64+
5765
function __init__()
5866
# Handle all available errors!
5967
Base.Experimental.register_error_hint(_reproject_error_hinter, MethodError)

0 commit comments

Comments
 (0)