@@ -18,23 +18,30 @@ using GeoInterface
1818using GeometryBasics
1919using LinearAlgebra, Statistics
2020
21+ using GeometryBasics. StaticArrays
22+
2123import Tables, DataAPI
22- import GeometryBasics. StaticArrays
2324import DelaunayTriangulation # for convex hull and triangulation
2425import ExactPredicates
2526import Base. @kwdef
2627import GeoInterface. Extents: Extents
28+ import SortTileRecursiveTree
29+ import SortTileRecursiveTree: STRtree
2730
2831const GI = GeoInterface
2932const GB = GeometryBasics
3033
3134const TuplePoint{T} = Tuple{T, T} where T <: AbstractFloat
3235const Edge{T} = Tuple{TuplePoint{T},TuplePoint{T}} where T
3336
34- include (" types.jl" )
35- include (" primitives.jl" )
36- include (" utils.jl" )
37- include (" not_implemented_yet.jl" )
37+ include (" types.jl" ) # backend / algorithm types like GEOS, PROJ, etc.
38+ include (" primitives.jl" ) # moved to GeometryOpsCore
39+ include (" not_implemented_yet.jl" ) # functions that are not implemented yet, but we want stubs for, or the implementations might be in extensions
40+
41+ # Include utility modules first!
42+ include (" utils/LoopStateMachine/LoopStateMachine.jl" ) # Utils for functions that can tell the loop they run in to do something via the return value
43+ include (" utils/SpatialTreeInterface/SpatialTreeInterface.jl" ) # Utils for spatial trees
44+ include (" utils/utils.jl" ) # More general utility functions
3845
3946include (" methods/angles.jl" )
4047include (" methods/area.jl" )
0 commit comments