Describe the bug
If users request certain projected CRS and country combinations, the resulting file will end up botched as the projection renders the shape invalid.
To Reproduce
Steps to reproduce the behaviour:
Run the US example with the following settings.
crs:
projected: "EPSG:10598" # will cause antimeridian issue
geographic: "epsg:4326"
Look at the resulting country file. It will have odd 'cuts' across Alaska and Hawaii.
Expected behavior
This should either raise an error or the module should fix it.
There is a package that claims it can solve this: https://github.com/gadomski/antimeridian
We should test that first.
Describe the bug
If users request certain projected CRS and country combinations, the resulting file will end up botched as the projection renders the shape invalid.
To Reproduce
Steps to reproduce the behaviour:
Run the US example with the following settings.
Look at the resulting country file. It will have odd 'cuts' across Alaska and Hawaii.
Expected behavior
This should either raise an error or the module should fix it.
There is a package that claims it can solve this: https://github.com/gadomski/antimeridian
We should test that first.