这是indexloc提供的服务,不要输入任何密码
Skip to content

tm_style affects clipping when using orthographic projection #1157

@jguelat

Description

@jguelat

Maybe not a "real" bug and caused by different settings but it is a bit confusing...

Using tm_style("natural"), there is no clipping:

tm_shape(World, 
    bbox = "FULL",
    crs = "+proj=ortho +lat_0=30 +lon_0=0") +
  tm_polygons() +
tm_graticules() +
tm_style("natural")

Image

Without tm_style(), clipping occurs (e.g. USA):

tm_shape(World, 
    bbox = "FULL",
    crs = "+proj=ortho +lat_0=30 +lon_0=0") +
  tm_polygons() +
tm_graticules()

Image

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