return PointCollectionFactory.createEmpty();
}
org.postgis.Point first = points[0];
CrsId crs = CrsId.valueOf(first.srid);
DimensionalFlag flag = DimensionalFlag.valueOf(first.dimension == 3, first.haveMeasure);
PointSequenceBuilder pointSequence = PointSequenceBuilders.variableSized(flag, crs);
for (int i = 0; i < points.length; i++) {
pointSequence.add(convert(points[i]));
}
return pointSequence.toPointSequence();
}