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

Inconsistency between the crs argument and the tm_crs function #1152

@Nowosad

Description

@Nowosad

See:

library(tmap)

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

tm_shape(World, 
         bbox = "FULL") +
  tm_polygons() +
  tm_graticules() +
  tm_crs("+proj=ortho +lat_0=30 +lon_0=0")
#> [tip] Consider a suitable map projection, e.g. by adding `+ tm_crs("auto")`.
#> This message is displayed once per session.

Created on 2025-06-25 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions