public void readNodes(final int[] columnsIndices,final BufferedReader reader) throws IOException {
  String line=reader.readLine();
  while (line != null && line.length() > 0) {
    final String[] parts=line.split(";");
    Node node=NetworkUtils.createNode(Id.createNodeId(parts[columnsIndices[0]]));
    node.setCoord(new Coord(Double.parseDouble(parts[columnsIndices[1]]),Double.parseDouble(parts[columnsIndices[2]])));
    network.addNode(node);
    line=reader.readLine();
  }
}

public void readNodes ( final int [ ] columnsIndices , final BufferedReader reader ) throws IOException { String line = reader . readLine ( ) ; while ( line != null && line . length ( ) > 0 ) { final String [ ] parts = line . split ( ";" ) ; Node node = NetworkUtils . createNode ( Id . createNodeId ( parts [ columnsIndices [ 0 ] ] ) ) ; node . setCoord ( new Coord ( Double . parseDouble ( parts [ columnsIndices [ 1 ] ] ) , Double . parseDouble ( parts [ columnsIndices [ 2 ] ] ) ) ) ; network . addNode ( node ) ; line = reader . readLine ( ) ; } }
reads the nodes of the visum file
