Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Plotting data at dateline issue malforms polygons. #517

Copy link
Copy link

Description

@MOB-Habitat
Issue body actions

I've been trying to use the data found here : https://ouvert.canada.ca/data/fr/dataset/fec926ca-25ad-5c92-a9a7-6009c21d17b3 with mapview.

library(sf)
# Linking to GEOS 3.14.1, GDAL 3.12.1,
# PROJ 9.7.1; sf_use_s2() is TRUE
library(mapview) # 2.11.2

lim_can <- st_read("~/Downloads/AC_1M_BoundaryPolygons/AC_1M_LimitesPolygones.gdb")
mapview(lim_can)

And I get this :

Image

When using plot(lim_can |> st_geometry()) it works just fine. I suspect that this has something to do with dateline, but not sure how to fix this.

How to correct for this?

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.