readLineString() {
    const numPoints = this.readUint32();

    /** @type {Array<import('../coordinate.js').Coordinate>} */
    const coords = [];
    for (let i = 0; i < numPoints; i++) {
      coords.push(this.readPoint());
    }

    return coords;
  }
@return {Array<import('../coordinate.js').Coordinate>} coords for LineString / LinearRing