parsePointArray method

List<Coordinate> parsePointArray(
  1. ValueGetter data,
  2. bool haveZ,
  3. bool haveM
)

Parse an Array of "slim" Points (without endianness and type, part of LinearRing and Linestring, but not MultiPoint!

@param haveZ @param haveM

Implementation

List<Coordinate> parsePointArray(ValueGetter data, bool haveZ, bool haveM) {
  int count = data.getInt();
  List<Coordinate> result = [];
  for (int i = 0; i < count; i++) {
    result.add(parsePoint(data, haveZ, haveM));
  }
  return result;
}