Skip to content

[Feature/multi-geometry-scaling] Add scaling support for MultiPolygon, MultiLineString, and MultiPoint geometries - #3172

Open
mishorpatra wants to merge 3 commits into
Turfjs:masterfrom
mishorpatra:feature/multi-geometry-scaling
Open

mishorpatra wants to merge 3 commits into
Turfjs:masterfrom
mishorpatra:feature/multi-geometry-scaling

Conversation

@mishorpatra

Copy link
Copy Markdown

This PR introduces functionality to scale MultiPolygon, MultiLineString, and MultiPoint geometries while preserving the relative distances between their constituent geometries.

The goal is to allow multiple geometries to be scaled together without disrupting their spatial arrangement or the proportions of the gaps between them.

This can be useful when scaling a collection of geometries as a single unit while maintaining its overall structure.

Breaking Changes

No breaking changes intended. The implementation adds new functionality without intending to alter existing behavior.

Related Issues

No related issue (if applicable).

Contributors

I will add my details to the contributors field in the relevant package.json, as required.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant