antimeridian
antimeridian: A Python package for correcting geometries that cross the 180th meridian - Published in JOSS (2025)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Keywords from Contributors
Repository
Correct GeoJSON geometries that cross the 180th meridian
Basic Info
- Host: GitHub
- Owner: gadomski
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://www.gadom.ski/antimeridian/
- Size: 29 MB
Statistics
- Stars: 89
- Watchers: 5
- Forks: 7
- Open Issues: 4
- Releases: 25
Topics
Metadata Files
README.md
antimeridian

Fix shapes that cross the antimeridian. See the documentation for information about the underlying algorithm. Depends on shapely and numpy.
Can fix:
- Shapely
Polygon,MultiPolygon,LineString, andMultiLineStringobjects - GeoJSON Polygons, MultiPolygons, Features and FeatureCollections, as dictionaries
- Anything that has a
__geo_interface__
Usage
shell
python -m pip install antimeridian
Then:
```python import antimeridian
fixed = antimeridian.fix_geojson(geojson) ```
We also have some utilities to create bounding boxes and centroids from antimeridian-crossing polygons and multipolygons. See the documentation for a complete API reference.
Command line interface
Use the cli optional dependency to install the antimeridian CLI:
shell
python -m pip install 'antimeridian[cli]'
antimeridian fix input.json > output.json
Developing
Get uv. Then:
shell
git clone https://github.com/gadomski/antimeridian
cd antimeridian
uv sync
We use pytest for tests:
shell
uv run pytest
To build and serve the docs locally:
shell
uv run mkdocs serve
Contributing
See CONTRIBUTING.md.
License
Owner
- Name: Pete Gadomski
- Login: gadomski
- Kind: user
- Location: Longmont, CO
- Website: http://www.gadom.ski
- Twitter: petegadomski
- Repositories: 142
- Profile: https://github.com/gadomski
JOSS Publication
antimeridian: A Python package for correcting geometries that cross the 180th meridian
Tags
geospatial antimeridianGitHub Events
Total
- Create event: 26
- Release event: 6
- Issues event: 16
- Watch event: 35
- Delete event: 18
- Issue comment event: 38
- Push event: 55
- Pull request review event: 2
- Pull request event: 40
- Fork event: 1
Last Year
- Create event: 26
- Release event: 6
- Issues event: 16
- Watch event: 35
- Delete event: 18
- Issue comment event: 38
- Push event: 55
- Pull request review event: 2
- Pull request event: 40
- Fork event: 1
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Pete Gadomski | p****i@g****m | 181 |
| dependabot[bot] | 4****] | 60 |
| Téo Bouvard | t****d@g****m | 1 |
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 37
- Total pull requests: 136
- Average time to close issues: 24 days
- Average time to close pull requests: 1 day
- Total issue authors: 17
- Total pull request authors: 5
- Average comments per issue: 1.86
- Average comments per pull request: 0.16
- Merged pull requests: 131
- Bot issues: 0
- Bot pull requests: 63
Past Year
- Issues: 12
- Pull requests: 30
- Average time to close issues: 12 days
- Average time to close pull requests: about 13 hours
- Issue authors: 7
- Pull request authors: 4
- Average comments per issue: 0.83
- Average comments per pull request: 0.57
- Merged pull requests: 29
- Bot issues: 0
- Bot pull requests: 6
Top Authors
Issue Authors
- gadomski (14)
- philipc2 (5)
- All4Gis (3)
- jessjaco (2)
- smvjohansenbouvet (1)
- just-davi (1)
- willbowditch (1)
- pjhartzell (1)
- mmann1123 (1)
- gisdev-km (1)
- johntruckenbrodt (1)
- m-mohr (1)
- kidpixo (1)
- mjones1818 (1)
- philvarner (1)
Pull Request Authors
- gadomski (86)
- dependabot[bot] (85)
- alexgleith (2)
- amaberg (2)
- teobouvard (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 37,299 last-month
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 2
(may contain duplicates) - Total versions: 57
- Total maintainers: 1
pypi.org: antimeridian
Correct GeoJSON geometries that cross the 180th meridian
- Documentation: https://www.gadom.ski/antimeridian
- License: Apache-2.0
-
Latest release: 0.4.3
published 5 months ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/gadomski/antimeridian
- Documentation: https://pkg.go.dev/github.com/gadomski/antimeridian#section-documentation
- License: apache-2.0
-
Latest release: v0.4.3
published 5 months ago
Rankings
Dependencies
- actions/cache v3 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- conda-incubator/setup-miniconda v2 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- numpy >=1.17.4
- shapely >=2.0
