# Mysterious gap on my GeoMakie plot

**URL:** <https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 1, 2025, 1:13pm UTC](https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367 "2025-07-01T13:13:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon6](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leon6/32/205483_2.png) [@Leon6](https://discourse.julialang.org/u/Leon6)\
**Post date:** [July 1, 2025, 1:13pm UTC](https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367/1 "2025-07-01T13:13:22Z")

</div>

Here is my code:

```julia
File_fig = joinpath(output_path, "map.png"); isfile(File_fig) && rm(File_fig);

using CairoMakie
using GeoMakie

lonbounds = (-180, -30); latbounds = (10, 80);

Han = Figure();
ga = GeoAxis(Han[1, 1];
    source = "+proj=longlat +datum=WGS84", # Input CRS (WGS84 lat/lon)
    dest = "+proj=lcc +lat_1=33 +lat_2=45 +lat_0=39 +lon_0=-100", 
    xticks = -180:30:-30,
    yticks = 10:10:80,
    xgridstyle = :dash,
    ygridstyle = :dash,
    xgridcolor = :lightblue,
    ygridcolor = :lightblue,
    xgridwidth = 1,     
    ygridwidth = 1
); 

# Add coastlines: 
lines!(ga, GeoMakie.coastlines(); color = :skyblue);

GeoMakie.limits!(ga, lonbounds, latbounds)

save(File_fig, Han);

```

Here is the plotted map. There is a gap on my lower frame of the map around 10 latitude, and -100 longitude. What is causing this?

 ![map](https://global.discourse-cdn.com/julialang/original/3X/c/c/cc9440f8ea309d5670d22ddbdae3c77e7f5f681a.png)

---

<div class="post-metadata">

**Author:** ![Leon6](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leon6/32/205483_2.png) [@Leon6](https://discourse.julialang.org/u/Leon6)\
**Post date:** [July 1, 2025, 2:47pm UTC](https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367/2 "2025-07-01T14:47:13Z")

</div>

No one knows why?

Is there a forum dedicated for GeoMakie? Thanks.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [July 1, 2025, 3:31pm UTC](https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367/3 "2025-07-01T15:31:46Z")

</div>

Looks like the axis spine slightly clips outside of the inner `Scene` there and Makie removes that piece. That looks a bit like overeager clipping to me, @ffreyer maybe? Otherwise @asinghvi17

---

<div class="post-metadata">

**Author:** ![Leon6](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leon6/32/205483_2.png) [@Leon6](https://discourse.julialang.org/u/Leon6)\
**Post date:** [July 2, 2025, 1:50pm UTC](https://discourse.julialang.org/t/mysterious-gap-on-my-geomakie-plot/130367/4 "2025-07-02T13:50:37Z")

</div>

Problem resolved.

Below is the response from the GeoMakie experts:

Yeah it would basically be changing `N` here

```julia
[GeoMakie.jl/src/projection.jl](https://github.com/MakieOrg/GeoMakie.jl/blob/c8a608e08aae05f63f34cd9000fdc50f5c91872d/src/projection.jl#L78)

Line 78 in [c8a608e](https://github.com/MakieOrg/GeoMakie.jl/commit/c8a608e08aae05f63f34cd9000fdc50f5c91872d)

function iterated_bounds(f, (xmin, xmax), (ymin, ymax), N = 21)

```

All I did was to find the file on my computer

```julia
~/.julia/packages/GeoMakie/vU4FE/src/
chmod 777 projection.jl

```

Then change the N as mentioned above (Line 78) from 21 to 200.
