Implement 3d triangulation for polygons #653
ci.yml
on: pull_request
Build and deploy documentation
18m 52s
Matrix: test
Annotations
1 error and 11 warnings
Build and deploy documentation
Process completed with exit code 1.
|
Tests, Julia 1 - ubuntu-latest
No files were found with the provided path: test_images/. No artifacts will be uploaded.
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/field_and_countries.md:21-53
```@example field_and_countries
path = GeoMakie.assetpath("vector", "countries.geo.json")
json_str = read(path, String)
worldCountries = GeoJSON.read(json_str)
n = length(worldCountries)
lons = -180:180
lats = -90:90
field = [exp(cosd(l)) + 3(y/90) for l in lons, y in lats]
fig = Figure(size = (1200,800), fontsize = 22)
ax = GeoAxis(
fig[1,1];
dest="+proj=wintri",
title = "World Countries",
tellheight = true,
)
hm1 = surface!(ax, lons, lats, field; shading = NoShading)
translate!(hm1, 0, 0, -10)
hm2 = poly!(
ax, GeoMakie.to_multipoly(worldCountries.geometry);
color= 1:n,
colormap = Reverse(:plasma),
strokecolor = :black,
strokewidth = 0.25
)
cb = Colorbar(fig[1,2]; colorrange = (1, n), colormap = Reverse(:plasma), label = "variable, color code", height = Relative(0.65))
fig
```
exception =
BoundsError: attempt to access Tuple{Float32, Float32} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float32})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float32}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] (::Makie.var"#741#742"{Proj.Transformation})(multipoly::GeometryBasics.MultiPolygon{2, Float32, GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, Geomet
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/cartopy/annotation.md:8-22
```@example annotation
using CairoMakie, GeoMakie, Makie
using Makie: GeometryBasics
using NaturalEarth
states_fc = naturalearth("admin_1_states_provinces_lines", 50)
fig = Figure()
ga = GeoAxis(fig[1, 1]; limits = ((80, 170), (-45, 30)), dest = "+proj=longlat +datum=WGS84")
image!(ga, -180..180, -90..90, GeoMakie.earth() |> rotr90; interpolate = false)
poly!(ga, GeoMakie.land(); color = :lightyellow, strokecolor = :black, strokewidth = 1)
lines!(ga, GeoMakie.to_multilinestring.(states_fc.geometry); color = :gray)
fig
```
exception =
BoundsError: attempt to access Tuple{Float32, Float32} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float32})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float32}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] poly_convert(polys::Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}}, transform_func::Proj.Transformation)
@ Makie ~/.julia/packages/Makie/pFPBw/src/basic_recipes/poly.jl:80
[13] map(f::typeof(Makie.poly_convert), scene::Union{Scene, Plot}, arg1::Observable{Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBa
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/graph_on_usa.md:87-94
```@example graph_on_usa
poly!(
ga, admin_1_df.geometry;
color = 1:n, colormap = (:viridis, 0.25),
strokecolor = :black, strokewidth = 1
)
fig
```
exception =
BoundsError: attempt to access Tuple{Float32, Float32} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float32})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float32}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] (::Makie.var"#741#742"{Proj.Transformation})(multipoly::GeometryBasics.MultiPolygon{2, Float32, GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}}})
@ Makie ./none:0
[13] iterate
@ ./generator.jl:48 [inlined]
[14] collect
@ ./array.jl:780 [inlined]
[15] poly_conv
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/tissot.md:54-57
```@example tissot
poly!(a, circle_polys; color = Makie.wong_colors(0.7)[2])
f
```
exception =
BoundsError: attempt to access Tuple{Float64, Float64} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float64})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float64}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] poly_convert(polys::Vector{GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}}, transform_func::Proj.Transformation)
@ Makie ~/.julia/packages/Makie/pFPBw/src/basic_recipes/poly.jl:80
[13] map(f::typeof(Makie.poly_convert), scene::Union{Scene, Plot}, arg1::Observable{Vector{GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}}}, args::Observable{Any}; ignore_equal_values::Bool, priority::Int64)
@ Makie ~/.julia/packages/M
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/italy.md:36-50
```@example italy
ita_centroid = GO.centroid(ita_df.geom)
fig = Figure()
ga = GeoAxis(
fig[1, 1];
dest = "+proj=ortho +lon_0=$(ita_centroid[1]) +lat_0=$(ita_centroid[2])"
)
poly!(
ga, ita_df.geom;
color = 1:size(ita_df, 1), # this could be any vector of length `size(ita_df, 1)`
strokecolor = :blue, strokewidth = 1, shading = NoShading
)
fig
```
exception =
BoundsError: attempt to access Tuple{Float64, Float64} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float64})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float64}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] (::Makie.var"#741#742"{Proj.Transformation})(multipoly::GeometryBasics.MultiPolygon{2, Float64, GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, Vector{GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vec
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/gmt/antioquia.md:9-24
```@example antioquia
import GMT # for data
using GeoMakie, Polylabel
using DataFrames
import ZipFile, Shapefile
table = Shapefile.Table(joinpath(GMT.TESTSDIR, "COL_adm2.shp.zip")) |> DataFrame
antioquia_geoms = filter(:NAME_1 => ==("Antioquia"), table)
f, a, p = poly(antioquia_geoms.geometry; axis = (; type = GeoAxis))
tp = Makie.text!(a, Polylabel.polylabel.(antioquia_geoms.geometry); text = string.(antioquia_geoms.ID_2), align = (:center, :center))
tp.fontsize = 5
f
```
exception =
BoundsError: attempt to access Tuple{Float64, Float64} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float64})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float64}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] (::Makie.var"#741#742"{Proj.Transformation})(multipoly::GeometryBasics.MultiPolygon{2, Float64, GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, Vector{GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Flo
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/gmt/antioquia.md:28-35
```@example antioquia
f, a, p = poly(antioquia_geoms.geometry; color = antioquia_geoms.ID_2 .|> identity, colormap = :bamako, axis = (; type = GeoAxis))
tp = Makie.text!(a, Polylabel.polylabel.(antioquia_geoms.geometry); text = string.(antioquia_geoms.ID_2), align = (:center, :center))
tp.fontsize = 5
a.title = "Another Map of Antioquia"
cb = Colorbar(f[1, 2], p)
f
```
exception =
BoundsError: attempt to access Tuple{Float64, Float64} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float64})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float64}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] (::Makie.var"#741#742"{Proj.Transformation})(multipoly::GeometryBasics.MultiPolygon{2, Float64, GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}}}, Vector{GeometryBasics.Polygon{2, Float64, GeometryBasics.Point{2, Float64}, GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2, 1, Vector{GeometryBasics.Point{2, Float64}}}, false}}, Vector{GeometryBasics.LineString{2, Float64, GeometryBasics.Point{2, Float64}, Base.ReinterpretArray{GeometryBasics.Line{2, Float64}, 1, Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float64}, GeometryBasics.Point{2, Float64}}, 2
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/gmt/antioquia.md:46-49
```@example antioquia
a.dest = "+proj=ortho +lon_0=$cx +lat_0=$cy"
f
```
exception =
UndefVarError: `a` not defined in `Main.__atexample__named__antioquia`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ antioquia.md:47
[2] eval
@ ./boot.jl:430 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{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
[7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState)
@ Base.CoreLogging ./logging/logging.jl:522
[8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
@ Base.CoreLogging ./logging/logging.jl:632
[9] capture(f::Documenter.var"#59#61"{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
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to evaluate `Cover = f` in `@cardmeta` block in src/examples/gmt/antioquia.md:53-57
```@cardmeta
Title = "Antioquia"
Description = "A map of Antioquia"
Cover = f
```
exception =
UndefVarError: `f` not defined in `Main.__atexample__named__antioquia`
Suggestion: check for spelling errors or missing imports.
|
Build and deploy documentation:
../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/contours.md:35-39
```@example contours
ax2 = GeoAxis(fig[1,2]; title = "Filled contour")
contourf!(ax2, lons, lats, field)
fig
```
exception =
BoundsError: attempt to access Tuple{Float32, Float32} at index [3]
Stacktrace:
[1] getindex
@ ./tuple.jl:31 [inlined]
[2] getindex
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:92 [inlined]
[3] macro expansion
@ ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:65 [inlined]
[4] GeometryBasics.Point{3, Float64}(x::GeometryBasics.Point{2, Float32})
@ GeometryBasics ~/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:62
[5] extract_three_unique_and_independent_points(points::Vector{Vector{GeometryBasics.Point{2, Float32}}})
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:101
[6] poly_convert(polygon::GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}, transform_func::Proj.Transformation)
@ GeoMakie ~/.julia/packages/GeoMakie/zF7ji/src/triangulation3d.jl:52
[7] _broadcast_getindex_evalf
@ ./broadcast.jl:673 [inlined]
[8] _broadcast_getindex
@ ./broadcast.jl:646 [inlined]
[9] getindex
@ ./broadcast.jl:605 [inlined]
[10] copy
@ ./broadcast.jl:906 [inlined]
[11] materialize
@ ./broadcast.jl:867 [inlined]
[12] poly_convert(polys::Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}}, transform_func::Proj.Transformation)
@ Makie ~/.julia/packages/Makie/pFPBw/src/basic_recipes/poly.jl:80
[13] map(f::typeof(Makie.poly_convert), scene::Union{Scene, Plot}, arg1::Observable{Vector{GeometryBasics.Polygon{2, Float32, GeometryBasics.Point{2, Float32}, GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}, Vector{GeometryBasics.LineString{2, Float32, GeometryBasics.Point{2, Float32}, Base.ReinterpretArray{GeometryBasics.Line{2, Float32}, 1, Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, GeometryBasics.TupleView{Tuple{GeometryBasics.Point{2, Float32}, GeometryBasics.Point{2, Float32}}, 2, 1, Vector{GeometryBasics.Point{2, Float32}}}, false}}}}}}, args::Observable{Any}; ignore_equal_values::Bool, priority::Int64)
|