Skip to content

lines not showing in mapview when they show in tmap #514

Description

@floswald

I have a very odd problem that I cannot get a grip on. tmap correctly displays some linestrings, while mapview does not. I am sharing the dataframe here as object t https://www.dropbox.com/scl/fi/ye672mfbcaja7mx1dioeo/shape.Rds?rlkey=ykf3ftutyxgn17s98bjauhsk1&dl=0

tm_shape(t) +  tm_lines()
Image

mapview:

mapview::mapview(t)
Image

What is really weird is that I can plot the lines if I filter them explicity. See how the blue line well below Bordeaux now is plotted.

t %>% filter(id == "40014") %>% mapview::mapview()
Image

thanks for any help with this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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