StellarCodeOrg
Results
2
comments of
StellarCodeOrg
Here's an example of a rectangle that crosses the antimeridian, split in two parts. ``` import * as turf from "@turf/turf"; const multiPolygon = turf.multiPolygon([ [ [ [170, 0], [170,...
1) One way would be translate the feature in longitude until it doesn't cross the antimeridian anymore, calculate the bbox, and then translate the result backwards. 2) Another (maybe better)...