@atlas-composer/projection-core
v1.0.2
Published
Core utilities for composite map projections. Zero-dependency pure functions for stream handling, bounds checking, and projection composition.
Downloads
220
Maintainers
Readme
@atlas-composer/projection-core
Low-level projection and stream utilities.
This package contains the mathematical core and stream manipulation logic used by @atlas-composer/projection-loader and the main application. It provides pure, zero-dependency tools for building complex map projections.
🔧 Core Functions
- Stream Multiplexing: Splits a D3 geo stream into multiple branches (for creating composite views).
- Bounds Calculation: Utilities for measuring projected geometry.
- Coordinate Transformation: Helpers for managing complex projection pipelines.
Note: Most users should use
@atlas-composer/projection-loaderinstead of this package directly.
🙏 Acknowledgments
This package is derived from d3-geo by Mike Bostock (ISC License), with inspiration from d3-composite-projections by Roger Veciana. See NOTICES.md for details.
📄 License
MIT © ShallowRed
