I’d like to make a map of Europe with connections for a funding application. It has to look very good and show the institutions involved, the fields of expertise of each institution, and some connections to show who is travelling where. What packages should I look at for this?
Search this forum. Dozens of similar questions.
Sure, I was looking for a more updated answer. Is this more of a GMT job or a GeoMakie one?
Nothing changed since the last posts. Pick one that suits your needs.
Thanks. On a related note, it seems that there is an issue with GeoMakie.land():
GeoMakie.land(10)
ERROR: MethodError: no method matching to_multipoly(::Nothing, ::Vector{GeometryBasics.MultiPolygon{2, Float32}})
The function `to_multipoly` exists, but no method is defined for this combination of argument types.
Closest candidates are:
to_multipoly(::GeoInterface.MultiPolygonTrait, ::Any)
@ GeoMakie ~/.julia/packages/GeoMakie/QcBwP/src/geojson.jl:103
to_multipoly(::GeoInterface.PolygonTrait, ::Any)
@ GeoMakie ~/.julia/packages/GeoMakie/QcBwP/src/geojson.jl:102
to_multipoly(::GeoInterface.GeometryCollectionTrait, ::Any)
@ GeoMakie ~/.julia/packages/GeoMakie/QcBwP/src/geojson.jl:105
...
Stacktrace:
[1] _broadcast_getindex_evalf
@ ./broadcast.jl:699 [inlined]
[2] _broadcast_getindex
@ ./broadcast.jl:672 [inlined]
[3] _getindex
@ ./broadcast.jl:620 [inlined]
[4] getindex
@ ./broadcast.jl:616 [inlined]
[5] copy
@ ./broadcast.jl:933 [inlined]
[6] materialize
@ ./broadcast.jl:894 [inlined]
[7] to_multipoly(geom::Vector{Any})
@ GeoMakie ~/.julia/packages/GeoMakie/QcBwP/src/geojson.jl:101
[8] land(scale::Int64)
@ GeoMakie ~/.julia/packages/GeoMakie/QcBwP/src/data.jl:63
[9] top-level scope
@ none:1
I guess these two outputs should have the same type but they don’t:
julia> typeof(GeoMakie.geo2basic(NaturalEarth.naturalearth("land", 50)))
Vector{Any} (alias for Array{Any, 1})
julia> typeof(GeoMakie.geo2basic(NaturalEarth.naturalearth("land", 110)))
Vector{Polygon{2, Float32}} (alias for Array{GeometryBasics.Polygon{2, Float32}, 1})
Please start a dedicated thread.
I just made one here recently to visualize interconnections in europe: Tutorial: cross-border flow map of Europe | ENTSOE.jl
colorscheme could use some work…
