Use lazy iterator to ensure all rings in create_[a/b]_list
are closed
#667
Annotations
2 errors and 10 warnings
../../../.julia/packages/GeometryOps/3Y1xP/src/methods/clipping/cut.jl#L47
doctest failure in ~/.julia/packages/GeometryOps/3Y1xP/src/methods/clipping/cut.jl:47-59
```jldoctest
import GeoInterface as GI, GeometryOps as GO
poly = GI.Polygon([[(0.0, 0.0), (10.0, 0.0), (10.0, 10.0), (0.0, 10.0), (0.0, 0.0)]])
line = GI.Line([(5.0, -5.0), (5.0, 15.0)])
cut_polys = GO.cut(poly, line)
GI.coordinates.(cut_polys)
# output
2-element Vector{Vector{Vector{Vector{Float64}}}}:
[[[0.0, 0.0], [5.0, 0.0], [5.0, 10.0], [0.0, 10.0], [0.0, 0.0]]]
[[[5.0, 0.0], [10.0, 0.0], [10.0, 10.0], [5.0, 10.0], [5.0, 0.0]]]
```
Subexpression:
import GeoInterface as GI, GeometryOps as GO
poly = GI.Polygon([[(0.0, 0.0), (10.0, 0.0), (10.0, 10.0), (0.0, 10.0), (0.0, 0.0)]])
line = GI.Line([(5.0, -5.0), (5.0, 15.0)])
cut_polys = GO.cut(poly, line)
GI.coordinates.(cut_polys)
Evaluated output:
3-element Vector{Vector{Vector{Vector{Float64}}}}:
[[[0.0, 0.0], [5.0, 0.0], [5.0, 10.0], [5.0, 10.0], [0.0, 0.0]]]
[[[5.0, 0.0], [5.0, 0.0], [5.0, 10.0], [0.0, 10.0], [5.0, 0.0]]]
[[[5.0, 0.0], [10.0, 0.0], [10.0, 10.0], [5.0, 10.0], [5.0, 0.0]]]
Expected output:
2-element Vector{Vector{Vector{Vector{Float64}}}}:
[[[0.0, 0.0], [5.0, 0.0], [5.0, 10.0], [0.0, 10.0], [0.0, 0.0]]]
[[[5.0, 0.0], [10.0, 0.0], [10.0, 10.0], [5.0, 10.0], [5.0, 0.0]]]
diff =
Warning: Diff output requires color.
2-element 3-element Vector{Vector{Vector{Vector{Float64}}}}:
[[[0.0, 0.0], [5.0, 0.0], [5.0, 10.0], [5.0, 10.0], [0.0, 0.0]]]
[[[5.0, 0.0], [5.0, 0.0], [5.0, 10.0], [0.0, 10.0], [5.0, 0.0]]]
[[[5.0, 0.0], [10.0, 0.0], [10.0, 10.0], [5.0, 10.0], [5.0, 0.0]]]
|
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.reproject' in src/api.md:59-61
```@autodocs
Modules = [GeometryOps]
```
|
../../../.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
```
|
../../../.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
```
|
../../../.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
```
|
../../../.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
```
|
../../../.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
```
|
../../../.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
```
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L468
DocumenterVitepress: Unknown MIME type text/latex provided and no alternatives given. Ignoring render!
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L468
DocumenterVitepress: Unknown MIME type text/latex provided and no alternatives given. Ignoring render!
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L830
Unexpected Julia interpolation in the Markdown. This probably means that you
have an unbalanced or un-escaped $ in the text.
To write the dollar sign, escape it with `\$`
We don't have the file or line number available, but we got given the value:
`Target` which is of type `Symbol`
|
This job failed
Loading