dartclub / turf_dart

A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
https://pub.dev/packages/turf
MIT License
63 stars 29 forks source link

Debugs GeometryCollection condition in truncate #121

Closed armantorkzaban closed 2 years ago

armantorkzaban commented 2 years ago

120 The reason the condition for GeometryCollection was not called and the test had not caught it was that we were working with geomEach, which basically goes inside the geometries of a GeomCollection if that is the argument or it will work with the GeomCollection geometry of a Feature, which we didn't have in our test cases.