Sg/cross overlap #43
Draft
Sg/cross overlap #43
Annotations
10 warnings
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/centroid.md:30-34
```@example cshape
cent = centroid(cshape)
scatter!(a, GI.x(cent), GI.y(cent), color = :red)
f
```
value = UndefVarError: `GI` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/distance.md:19-31
```@example rect
using GeometryOps
using GeometryOps.GeometryBasics
using Makie
rect = Polygon([Point(0,0), Point(0,1), Point(1,1), Point(1,0), Point(0, 0)])
point_in = Point(0.5, 0.5)
point_out = Point(0.5, 1.5)
f, a, p = poly(rect; axis = (; aspect = DataAspect()))
scatter!(f, point_in)
scatter!(f, point_out)
f
```
value =
`Makie.convert_arguments` for the plot type Scatter{Tuple{Figure, Point2{Float64}}} and its conversion trait PointBased() was unsuccessful.
The signature that could not be converted was:
::Figure, ::StaticArraysCore.SizedVector{2, Float32, Vector{Float32}}
Makie needs to convert all plot input arguments to types that can be consumed by the backends (typically Arrays with Float32 elements).
You can define a method for `Makie.convert_arguments` (a type recipe) for these types or their supertypes to make this set of arguments convertible (See http://docs.makie.org/stable/documentation/recipes/index.html).
Alternatively, you can define `Makie.convert_single_argument` for single arguments which have types that are unknown to Makie but which can be converted to known types and fed back to the conversion pipeline.
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/distance.md:35-39
```@example rect
distance(point_in, poly) # == 0
signed_distance(point_in, poly) # < 0
signed_distance(point_out, poly) # > 0
```
value =
MethodError: no method matching _distance(::Type{Float64}, ::GeoInterface.PointTrait, ::Point2{Float64}, ::Nothing, ::typeof(poly))
Closest candidates are:
_distance(::Type{T}, ::GeoInterface.PointTrait, ::Any, !Matched::Union{GeoInterface.GeometryCollectionTrait, GeoInterface.MultiCurveTrait, GeoInterface.MultiPointTrait, GeoInterface.MultiPolygonTrait}, ::Any) where T
@ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:149
_distance(::Type{T}, ::GeoInterface.PointTrait, ::Any, !Matched::GeoInterface.PolygonTrait, ::Any) where T
@ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:136
_distance(::Type{T}, ::GeoInterface.PointTrait, ::Any, !Matched::GeoInterface.LinearRingTrait, ::Any) where T
@ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:129
...
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/equals.md:13-25
```@example equals
using GeometryOps
using GeometryOps.GeometryBasics
using Makie
using CairoMakie
l1 = GI.LineString([(0.0, 0.0), (0.0, 10.0)])
l2 = GI.LineString([(0.0, -10.0), (0.0, 3.0)])
f, a, p = lines(GI.getpoint(l1), color = :blue)
scatter!(GI.getpoint(l1), color = :blue)
lines!(GI.getpoint(l2), color = :orange)
scatter!(GI.getpoint(l2), color = :orange)
```
value = UndefVarError: `GI` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/equals.md:28-30
```@example equals
equals(l1, l2) # returns false
```
value = UndefVarError: `l1` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/geom_relations/contains.md:15-27
```@example contains
using GeometryOps
using GeometryOps.GeometryBasics
using Makie
using CairoMakie
l1 = GI.LineString([(0.0, 0.0), (1.0, 0.0), (0.0, 0.1)])
l2 = GI.LineString([(0.25, 0.0), (0.75, 0.0)])
f, a, p = lines(GI.getpoint(l1), color = :blue)
scatter!(GI.getpoint(l1), color = :blue)
lines!(GI.getpoint(l2), color = :orange)
scatter!(GI.getpoint(l2), color = :orange)
```
value = UndefVarError: `GI` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/geom_relations/contains.md:30-33
```@example contains
contains(l1, l2) # returns true
contains(l2, l1) # returns false
```
value = UndefVarError: `contains` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/geom_relations/crosses.md:20-31
```@example crosses
using GeometryOps
using GeometryOps.GeometryBasics
using Makie
using CairoMakie
l1 = Line([Point(0.0, 0.0), Point(1.0, 0.0)])
l2 = Line([Point(0.5, 1.0), Point(0.5, -1.0)])
f, a, p = lines(l1)
lines!(l2)
```
value =
MethodError: no method matching (GeometryBasics.Line)(::Vector{Point2{Float64}})
Closest candidates are:
(::Type{<:GeometryBasics.Ngon{Dim, T, N1, P} where {Dim, T, P}})(!Matched::P, P...) where {Dim, T, P<:GeometryBasics.AbstractPoint{Dim, T}, N1, N2}
@ GeometryBasics ~/.julia/packages/GeometryBasics/Du43H/src/basic_types.jl:65
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/geom_relations/crosses.md:33-35
```@example crosses
crosses(l1, l2) # true
```
value = UndefVarError: `l1` not defined
|
../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/geom_relations/disjoint.md:13-25
```@example disjoint
using GeometryOps
using GeometryOps.GeometryBasics
using Makie
using CairoMakie
l1 = GI.LineString([(0.0, 0.0), (1.0, 0.0), (0.0, 0.1)])
l2 = GI.LineString([(2.0, 0.0), (2.75, 0.0)])
f, a, p = lines(GI.getpoint(l1), color = :blue)
scatter!(GI.getpoint(l1), color = :blue)
lines!(GI.getpoint(l2), color = :orange)
scatter!(GI.getpoint(l2), color = :orange)
```
value = UndefVarError: `GI` not defined
|
The logs for this run have expired and are no longer available.
Loading