public static String createTestPtStationCSVFile(){
  String location=utils.getOutputDirectory() + "/ptStops.csv";
  BufferedWriter bw=IOUtils.getBufferedWriter(location);
  try {
    bw.write("id,x,y" + NEW_LINE);
    bw.write("1,10,10" + NEW_LINE);
    bw.write("2,10, 190" + NEW_LINE);
    bw.write("3,190,190" + NEW_LINE);
    bw.write("4,190,10" + NEW_LINE);
    bw.flush();
    bw.close();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  return location;
}

public static String createTestPtStationCSVFile ( ) { String location = utils . getOutputDirectory ( ) + "/ptStops.csv" ; BufferedWriter bw = IOUtils . getBufferedWriter ( location ) ; try { bw . write ( "id,x,y" + NEW_LINE ) ; bw . write ( "1,10,10" + NEW_LINE ) ; bw . write ( "2,10, 190" + NEW_LINE ) ; bw . write ( "3,190,190" + NEW_LINE ) ; bw . write ( "4,190,10" + NEW_LINE ) ; bw . flush ( ) ; bw . close ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } return location ; }
this method creates 4 pt stops for the test network from createtestnetwork ( ) . the information about the coordinates will be written to a csv file . the 4 pt stops are located as a square in the coordinate plane with a side length of 180 meter ( see the sketch below ) .
