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

toMap() methods return maps that include bbox and id with null value #128

Closed lukas-h closed 4 months ago

lukas-h commented 1 year ago
{
    "bbox": null,
    "id": null,
    "type": "Feature",
    // ...
}

If the value is null, the attribute should not be included in the first place

jsiedentop commented 4 months ago

With https://github.com/dartclub/geotypes/pull/1 this bug should be fixed 🎯