public static MultiLineString readMultiLineString ( ByteReader reader , boolean hasZ , boolean hasM ) { MultiLineString multiLineString = new MultiLineString ( hasZ , hasM ) ; int numLineStrings = reader . readInt ( ) ; for ( int i = 0 ; i < numLineStrings ; i ++ ) { LineString lineString = readGeometry ( reader , LineString . class ) ; multiLineString . addLineString ( lineString ) ; } return multiLineString ; }
Read a Multi Line String