public static void initAnalysisCellBasedAccessibilityCSVWriterV2(String fileExtension){
  try {
    log.info("Initializing AnalysisCellBasedAccessibilityCSVWriterV2 ...");
    accessibilityDataWriter=IOUtils.getBufferedWriter(InternalConstants.MATSIM_4_OPUS_TEMP + fileExtension + FILE_NAME);
    accessibilityDataWriter.write(InternalConstants.ZONE_ID + "," + InternalConstants.X_COORDINATE+ ","+ InternalConstants.Y_COORDINATE+ ","+ InternalConstants.NEARESTNODE_ID+ ","+ InternalConstants.NEARESTNODE_X_COORD+ ","+ InternalConstants.NEARESTNODE_Y_COORD+ ","+ InternalConstants.ACCESSIBILITY_BY_FREESPEED+ ","+ InternalConstants.ACCESSIBILITY_BY_CAR+ ","+ InternalConstants.ACCESSIBILITY_BY_BIKE+ ","+ InternalConstants.ACCESSIBILITY_BY_WALK);
    accessibilityDataWriter.newLine();
    log.info("... done!");
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

public static void initAnalysisCellBasedAccessibilityCSVWriterV2 ( String fileExtension ) { try { log . info ( "Initializing AnalysisCellBasedAccessibilityCSVWriterV2 ..." ) ; accessibilityDataWriter = IOUtils . getBufferedWriter ( InternalConstants . MATSIM_4_OPUS_TEMP + fileExtension + FILE_NAME ) ; accessibilityDataWriter . write ( InternalConstants . ZONE_ID + "," + InternalConstants . X_COORDINATE + "," + InternalConstants . Y_COORDINATE + "," + InternalConstants . NEARESTNODE_ID + "," + InternalConstants . NEARESTNODE_X_COORD + "," + InternalConstants . NEARESTNODE_Y_COORD + "," + InternalConstants . ACCESSIBILITY_BY_FREESPEED + "," + InternalConstants . ACCESSIBILITY_BY_CAR + "," + InternalConstants . ACCESSIBILITY_BY_BIKE + "," + InternalConstants . ACCESSIBILITY_BY_WALK ) ; accessibilityDataWriter . newLine ( ) ; log . info ( "... done!" ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
writes the header of accessibility data csv file
