navibyte / geospatial

Geospatial data structures, tools and utilities for Dart and Flutter.
Other
51 stars 5 forks source link

Factories to create multi geometries from geometry lists #229

Closed navispatial closed 2 months ago

navispatial commented 2 months ago

New factories:

factory MultiPoint.fromGeometries(Iterable<Point> points, {Box? bounds});

factory MultiLineString.fromGeometries(
    Iterable<LineString> lineStrings, {
    Box? bounds,
  });

factory MultiPolygon.fromGeometries(
    Iterable<Polygon> polygons, {
    Box? bounds,
  });
navispatial commented 2 months ago

Implemented in geobase version 1.1.0, see milestone.