Skip to content

cartopy tiles in Orthographic projection miss some datas #1907

@ludwigVonKoopa

Description

@ludwigVonKoopa

Description

When using tiles in Orthographic projection, i noticed missing data.

import matplotlib.pyplot as plt
import cartopy.crs as ccrs
from cartopy.io.img_tiles import Stamen

fig = plt.figure(figsize=(5,5), dpi=120)
ax = fig.add_subplot(1, 1, 1, projection=ccrs.Orthographic(-10, 60))
tiler = Stamen('terrain-background')

ax.add_image(tiler, 3)

image

I noticed white data at the top of the globe. It doesn't appear with precision < 3

import matplotlib.pyplot as plt
import cartopy.crs as ccrs
from cartopy.io.img_tiles import Stamen

tiler = Stamen('terrain-background')
fig = plt.figure(figsize=(5,5), dpi=120)
for x in range(1,5):
    # print(x)
    ax = fig.add_subplot(2, 2, x, projection=ccrs.Orthographic(-10, 60))

    ax.add_image(tiler, x)
    ax.set_title(f"tile pre={x}")

image

Is that something wanted ?

Thanks

Cartopy version

import cartopy
cartopy.__version__

0.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions