# GeoMakie.land() issue

**URL:** <https://discourse.julialang.org/t/geomakie-land-issue/138535>\
**Category:** Visualization\
**Tags:** makie, geomakie\
**Created:** [July 30, 2026, 11:07am UTC](https://discourse.julialang.org/t/geomakie-land-issue/138535 "2026-07-30T11:07:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahmah/32/214326_2.png) [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Post date:** [July 30, 2026, 11:07am UTC](https://discourse.julialang.org/t/geomakie-land-issue/138535/1 "2026-07-30T11:07:00Z")

</div>

It seems that there is an issue with GeoMakie.land():

```julia-auto
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-auto
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})

```

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [August 2, 2026, 6:20pm UTC](https://discourse.julialang.org/t/geomakie-land-issue/138535/2 "2026-08-02T18:20:35Z")

</div>

Huh, that’s certainly unexpected. I don’t think that I ever tried land at the 10m scale though. Will check what’s going on there - possibly something odd in the geojson file even
