Polygons and tissot across the edge in Mollweide:

Open
#378 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with Basemap.tissot and Polygon handling for the Mollweide projection, then compare the existing tissot-related approach in examples/allskymap.py. Reproduce the case where an object crosses the limb and determine the expected behavior; the issue does not define a concrete acceptance condition beyond addressing the edge-crossing problem.

Written by the indexing model from the issue text.

Description

There seems to be a known problem with tissot and Polygon in the 'Mollweide' projection with basemap when these objects cross the 'limb' (180 degree line if the central longitude is 0. which is both the East and West edges of the map). The obvious solution is of course to split this into two polygons split at the limb. I realized that this was actually already available in examples (for tissots):
https://github.com/matplotlib/basemap/blob/master/examples/allskymap.py
and am wondering if there are plans to eventually replace Basemap.tissot or if there are deeper problems with this.

Dominant language
Python
Stars
817
Forks
395
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/basemap

All issues in matplotlib/basemap

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.