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

tm_dots/tm_symbols shape fails with 500 points or more (view mode) #1165

@szylinski-sa

Description

@szylinski-sa

tm_dots and tm_symbols revert to their default shapes when plotting 500 or more points.

tmap_mode("view")  # doesn't affect plot mode

## make some points
grid <- sf::st_make_grid(what = "centers")

## with <500 points, maps correctly
tm_shape(grid[1:499]) +
  tm_symbols(fill = "blue", col = "blue", shape = 4)
Image
## with 500 points or more, the symbols revert to default circles, ignoring the shape parameter
tm_shape(grid[1:500]) +
  tm_symbols(fill = "blue", col = "blue", shape = 4)
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