Skip to content

Add a convex hull algorithm #643

Add a convex hull algorithm

Add a convex hull algorithm #643

Triggered via pull request July 26, 2024 05:54
@asinghvi17asinghvi17
synchronize #160
as/deltri
Status Success
Total duration 10m 56s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
Julia 1.9 - ubuntu-latest - x64 - pull_request
Julia depot registries already exist. Skipping restoring of cached registries to avoid potential merge conflicts when updating. Please ensure that `julia-actions/cache` precedes any workflow steps which add registries.
Julia 1.9 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1.9 - ubuntu-latest - x64 - pull_request
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1 - ubuntu-latest - x64 - pull_request
Julia depot registries already exist. Skipping restoring of cached registries to avoid potential merge conflicts when updating. Please ensure that `julia-actions/cache` precedes any workflow steps which add registries.
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.reproject' in src/api.md:59-61 ```@autodocs Modules = [GeometryOps] ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
failed to run `@example` block in src/source/methods/convex_hull.md:15-25 ```@example simple import GeometryOps as GO, GeoInterface as GI using CairoMakie # to plot points = randn(GO.Point2f, 100) f, a, p = plot(points; label = "Points") hull_poly = GO.convex_hull(points) lines!(a, hull_poly; label = "Convex hull", color = Makie.wong_colors()[2]) axislegend(a) f ``` exception = type ConvexHull has no field indices Stacktrace: [1] getproperty @ ./Base.jl:37 [inlined] [2] convex_hull(::GeometryOps.MonotoneChainMethod, geometries::Vector{Point{2, Float32}}) @ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:89 [3] convex_hull(geometries::Vector{Point{2, Float32}}) @ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:69 [4] top-level scope @ convex_hull.md:21 [5] eval @ ./boot.jl:385 [inlined] [6] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [9] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [10] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [11] with_logger @ ./logging.jl:627 [inlined] [12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
failed to run `@example` block in src/source/methods/convex_hull.md:28-38 ```@example usa import GeometryOps as GO, GeoInterface as GI using CairoMakie # to plot using NaturalEarth # for data all_adm0 = naturalearth("admin_0_countries", 110) usa = all_adm0.geometry[findfirst(==("USA"), all_adm0.ADM0_A3)] f, a, p = lines(usa) lines!(a, GO.convex_hull(usa); color = Makie.wong_colors()[2]) f ``` exception = type ConvexHull has no field indices Stacktrace: [1] getproperty @ ./Base.jl:37 [inlined] [2] convex_hull(::GeometryOps.MonotoneChainMethod, geometries::GeoJSON.MultiPolygon{2, Float32}) @ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:89 [3] convex_hull(geometries::GeoJSON.MultiPolygon{2, Float32}) @ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:69 [4] top-level scope @ convex_hull.md:36 [5] eval @ ./boot.jl:385 [inlined] [6] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [9] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [10] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [11] with_logger @ ./logging.jl:627 [inlined] [12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'apply' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'applyreduce' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.unwrap' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'TraitTarget' in `@docs` block in src/source/primitives.md:8-10 ```@docs TraitTarget ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'LinearSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60 ```@docs LinearSegments GeodesicSegments ```
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeodesicSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60 ```@docs LinearSegments GeodesicSegments ```
Documentation: ../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L468
DocumenterVitepress: Unknown MIME type text/latex provided and no alternatives given. Ignoring render!