JetBrains / lets-plot

Multiplatform plotting library based on the Grammar of Graphics
https://lets-plot.org
MIT License
1.54k stars 49 forks source link

Breaking of polygons that cross the 180th meridian #771

Open ASmirnov-HORIS opened 1 year ago

ASmirnov-HORIS commented 1 year ago

Example:

world = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres"))
europe = world[world.continent == "Europe"]
ggplot() + geom_map(map=europe)

Output:

alshan commented 1 year ago

The plot looks ok to me. What is the issue exactly?

ASmirnov-HORIS commented 1 year ago

Sorry if the title is a bit confusing. It's not so much a bug, but a feature request. I would like to draw a map so that the piece of solid polygon cut off by the 180th meridian is glued to the right. This is a bit like issue #795.