MATSIM
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.matsim.visum.VisumNetworkReader Class Reference

Public Member Functions

 VisumNetworkReader (final VisumNetwork network)
 
void read (final String filename) throws UncheckedIOException
 

Private Member Functions

void readVersion (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readEdgeTypes (String tableAttributes, BufferedReader reader) throws IOException
 
void readStops (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readStopAreas (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readStopPoints (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readLineRoutes (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readLines (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readLineRouteItems (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readTimeProfile (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readTimeProfileItems (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readDepartures (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readDepartureSections (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readVehicleUnits (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readVehicleCombinations (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readVehicleUnitToVehicleCombination (final String tableAttributes, final BufferedReader reader) throws IOException
 
void readUnknownTable (final BufferedReader reader) throws IOException
 
int getAttributeIndex (final String attribute, final String[] attributes)
 

Private Attributes

final VisumNetwork network
 
final Logger log = LogManager.getLogger(VisumNetworkReader.class)
 
int language = 0
 
final String [] GENERAL_DCODE = {"DIRECTIONCODE", "RICHTUNGCODE"}
 
final String [] GENERAL_INDEX = {"INDEX", "INDEX"}
 
final String [] GENERAL_NAME = {"NAME", "NAME"}
 
final String [] GENERAL_NO = {"NO", "NR"}
 
final String [] GENERAL_LINENAME = {"LINENAME", "LINNAME"}
 
final String [] GENERAL_LINEROUTENAME = {"LINEROUTENAME", "LINROUTENAME"}
 
final String [] TABLE_LINKTYPE = {"$LINKTYPE:", "$STRECKENTYP:"}
 
final String [] TABLE_STOP = {"$STOP:", "$HALTESTELLE:"}
 
final String [] TABLE_STOPAREA = {"$STOPAREA:", "$HALTESTELLENBEREICH:"}
 
final String [] TABLE_STOPPOINT = {"$STOPPOINT:", "$HALTEPUNKT:"}
 
final String [] TABLE_LINE = {"$LINE:", "$LINIE:"}
 
final String [] TABLE_LINEROUTE = {"$LINEROUTE:", "$LINIENROUTE:"}
 
final String [] TABLE_LINEROUTEITEM = {"$LINEROUTEITEM:", "$LINIENROUTENELEMENT:"}
 
final String [] TABLE_TIMEPROFILE = {"$TIMEPROFILE:", "$FAHRZEITPROFIL:"}
 
final String [] TABLE_TIMEPROFILEITEM = {"$TIMEPROFILEITEM:", "$FAHRZEITPROFILELEMENT:"}
 
final String [] TABLE_VEHJOURNEY = {"$VEHJOURNEY:", "$FZGFAHRT:"}
 
final String [] TABLE_VEHJOURNEYSECTION = {"$VEHJOURNEYSECTION:", "$FZGFAHRTABSCHNITT:"}
 
final String [] TABLE_VEHUNIT = {"$VEHUNIT:", "$FZGEINHEIT:"}
 
final String [] TABLE_VEHCOMB = {"$VEHCOMB:", "$FZGKOMB:"}
 
final String [] TABLE_VEHUNITTOVEHCOMB = {"$VEHUNITTOVEHCOMB:", "$FZGEINHEITZUFZGKOMB:"}
 
final String [] ATTRIBUTE_LINKTYPE_NO = GENERAL_NO
 
final String [] ATTRIBUTE_LINKTYPE_KAPIV = {"CAPPRT", "KAPIV"}
 
final String [] ATTRIBUTE_LINKTYPE_V0IV = {"V0PRT", "V0IV"}
 
final String [] ATTRIBUTE_LINKTYPE_NOLANES = {"NUMLANES", "ANZFAHRSTREIFEN"}
 
final String [] ATTRIBUTE_STOP_NO = GENERAL_NO
 
final String [] ATTRIBUTE_STOP_NAME = GENERAL_NAME
 
final String [] ATTRIBUTE_STOP_XCOORD = {"XCOORD", "XKOORD"}
 
final String [] ATTRIBUTE_STOP_YCOORD = {"YCOORD", "YKOORD"}
 
final String [] ATTRIBUTE_STOPAREA_NO = GENERAL_NO
 
final String [] ATTRIBUTE_STOPAREA_STOPNO = {"STOPNO", "HSTNR"}
 
final String [] ATTRIBUTE_STOPPT_NO = GENERAL_NO
 
final String [] ATTRIBUTE_STOPPT_STOPAREANO = {"STOPAREANO", "HSTBERNR"}
 
final String [] ATTRIBUTE_STOPPT_NAME = GENERAL_NAME
 
final String [] ATTRIBUTE_STOPPT_RLNO = {"LINKNO", "STRNR"}
 
final String [] ATTRIBUTE_STOPPT_NODE = {"NODENO", "KNOTNR"}
 
final String [] ATTRIBUTE_LR_NAME = GENERAL_NAME
 
final String [] ATTRIBUTE_LR_LINENAME = GENERAL_LINENAME
 
final String [] ATTRIBUTE_LR_DCODE = GENERAL_DCODE
 
final String [] ATTRIBUTE_LR_TAKT = {ATTRIBUTE_UNKNOWN, "TAKT_TAG_HVZ"}
 
final String [] ATTRIBUTE_L_NAME = GENERAL_NAME
 
final String [] ATTRIBUTE_L_TCODE = {"TSYSCODE", "VSYSCODE"}
 
final String [] ATTRIBUTE_L_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
 
final String [] ATTRIBUTE_LRI_LRNAME = GENERAL_LINEROUTENAME
 
final String [] ATTRIBUTE_LRI_LNAME = GENERAL_LINENAME
 
final String [] ATTRIBUTE_LRI_ID = GENERAL_INDEX
 
final String [] ATTRIBUTE_LRI_DCODE = GENERAL_DCODE
 
final String [] ATTRIBUTE_LRI_NODEID = {"NODENO", "KNOTNR"}
 
final String [] ATTRIBUTE_LRI_SPNO = {"STOPPOINTNO", "HPUNKTNR"}
 
final String [] ATTRIBUTE_TP_LNAME = GENERAL_LINENAME
 
final String [] ATTRIBUTE_TP_LRNAME = GENERAL_LINEROUTENAME
 
final String [] ATTRIBUTE_TP_ID = GENERAL_NAME
 
final String [] ATTRIBUTE_TP_DCODE = GENERAL_DCODE
 
final String [] ATTRIBUTE_TP_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
 
final String [] ATTRIBUTE_TPI_LNAME = GENERAL_LINENAME
 
final String [] ATTRIBUTE_TPI_LRNAME = GENERAL_LINEROUTENAME
 
final String [] ATTRIBUTE_TPI_ID = GENERAL_INDEX
 
final String [] ATTRIBUTE_TPI_TPNAME = {"TIMEPROFILENAME", "FZPROFILNAME"}
 
final String [] ATTRIBUTE_TPI_DCODE = GENERAL_DCODE
 
final String [] ATTRIBUTE_TPI_ARR = {"ARR", "ANKUNFT"}
 
final String [] ATTRIBUTE_TPI_DEP = {"DEP", "ABFAHRT"}
 
final String [] ATTRIBUTE_TPI_LRIINDEX = {"LRITEMINDEX", "LRELEMINDEX"}
 
final String [] ATTRIBUTE_D_LNAME = GENERAL_LINENAME
 
final String [] ATTRIBUTE_D_LRNAME = GENERAL_LINEROUTENAME
 
final String [] ATTRIBUTE_D_ID = GENERAL_NO
 
final String [] ATTRIBUTE_D_TPNAME = {"TIMEPROFILENAME", "FZPROFILNAME"}
 
final String [] ATTRIBUTE_D_DEP = {"DEP", "ABFAHRT"}
 
final String [] ATTRIBUTE_D_DCODE = GENERAL_DCODE
 
final String [] ATTRIBUTE_VJS_VEHJOURNEYNO = {"VEHJOURNEYNO", "FZGFAHRTNR"}
 
final String [] ATTRIBUTE_VJS_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
 
final String [] ATTRIBUTE_VEHUNIT_ID = GENERAL_NO
 
final String [] ATTRIBUTE_VEHUNIT_CODE = {"CODE", "CODE"}
 
final String [] ATTRIBUTE_VEHUNIT_SEATCAP = {"SEATCAP", "SITZPL"}
 
final String [] ATTRIBUTE_VEHUNIT_TOTALCAP = {"TOTALCAP", "GESAMTPL"}
 
final String [] ATTRIBUTE_VEHCOMB_NO = GENERAL_NO
 
final String [] ATTRIBUTE_VEHCOMB_NAME = GENERAL_NAME
 
final String [] ATTRIBUTE_VEHUNITTOVEHCOMB_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
 
final String [] ATTRIBUTE_VEHUNITTOVEHCOMB_VEHUNITNO = {"VEHUNITNO", "FZGEINHEITNR"}
 
final String [] ATTRIBUTE_VEHUNITTOVEHCOMB_NUMVEHUNITS = {"NUMVEHUNITS", "ANZFZGEINH"}
 

Static Private Attributes

static final String ATTRIBUTE_UNKNOWN = "%%%KEINE_AHNUNG%%%"
 

Detailed Description

Definition at line 42 of file VisumNetworkReader.java.

Constructor & Destructor Documentation

◆ VisumNetworkReader()

org.matsim.visum.VisumNetworkReader.VisumNetworkReader ( final VisumNetwork  network)

Definition at line 154 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetworkReader.network.

154  {
155  this.network = network;
156  }

Member Function Documentation

◆ read()

void org.matsim.visum.VisumNetworkReader.read ( final String  filename) throws UncheckedIOException

Definition at line 158 of file VisumNetworkReader.java.

References org.matsim.core.utils.io.IOUtils.getBufferedReader(), org.matsim.core.utils.io.IOUtils.getFileUrl(), org.matsim.visum.VisumNetworkReader.readDepartures(), org.matsim.visum.VisumNetworkReader.readDepartureSections(), org.matsim.visum.VisumNetworkReader.readEdgeTypes(), org.matsim.visum.VisumNetworkReader.readLineRouteItems(), org.matsim.visum.VisumNetworkReader.readLineRoutes(), org.matsim.visum.VisumNetworkReader.readLines(), org.matsim.visum.VisumNetworkReader.readStopAreas(), org.matsim.visum.VisumNetworkReader.readStopPoints(), org.matsim.visum.VisumNetworkReader.readStops(), org.matsim.visum.VisumNetworkReader.readTimeProfile(), org.matsim.visum.VisumNetworkReader.readTimeProfileItems(), org.matsim.visum.VisumNetworkReader.readUnknownTable(), org.matsim.visum.VisumNetworkReader.readVehicleCombinations(), org.matsim.visum.VisumNetworkReader.readVehicleUnits(), org.matsim.visum.VisumNetworkReader.readVehicleUnitToVehicleCombination(), and org.matsim.visum.VisumNetworkReader.readVersion().

158  {
159  BufferedReader reader = IOUtils.getBufferedReader(IOUtils.getFileUrl(filename), StandardCharsets.ISO_8859_1);
160 
161  try {
162  String line = reader.readLine();
163  if (!"$VISION".equals(line)) {
164  throw new IOException("File does not start with '$VISION'. Are you sure it is a VISUM network file?");
165  }
166  // next line after header:
167  line = reader.readLine();
168  while (line != null) {
169  if (line.startsWith("$VERSION:")) {
170  readVersion(line, reader);
171  } else if (line.startsWith(this.TABLE_STOP[this.language])) {
172  readStops(line, reader);
173  } else if (line.startsWith(this.TABLE_LINKTYPE[this.language])) {
174  readEdgeTypes(line, reader);
175  } else if (line.startsWith(this.TABLE_STOPAREA[this.language])) {
176  readStopAreas(line, reader);
177  } else if (line.startsWith(this.TABLE_STOPPOINT[this.language])) {
178  readStopPoints(line, reader);
179  } else if (line.startsWith(this.TABLE_LINE[this.language])) {
180  readLines(line, reader);
181  } else if (line.startsWith(this.TABLE_LINEROUTE[this.language])) {
182  readLineRoutes(line, reader);
183  } else if (line.startsWith(this.TABLE_LINEROUTEITEM[this.language])) {
184  readLineRouteItems(line, reader);
185  } else if (line.startsWith(this.TABLE_TIMEPROFILE[this.language])) {
186  readTimeProfile(line, reader);
187  } else if (line.startsWith(this.TABLE_TIMEPROFILEITEM[this.language])) {
188  readTimeProfileItems(line, reader);
189  } else if (line.startsWith(this.TABLE_VEHJOURNEY[this.language])) {
190  readDepartures(line, reader);
191  } else if (line.startsWith(this.TABLE_VEHJOURNEYSECTION[this.language])) {
192  readDepartureSections(line, reader);
193  } else if (line.startsWith(this.TABLE_VEHUNIT[this.language])) {
194  readVehicleUnits(line, reader);
195  } else if (line.startsWith(this.TABLE_VEHCOMB[this.language])) {
196  readVehicleCombinations(line, reader);
197  } else if (line.startsWith(this.TABLE_VEHUNITTOVEHCOMB[this.language])) {
199  } else if (line.startsWith("$")) {
200  readUnknownTable(reader);
201  } else if (!line.startsWith("* ")) {
202  throw new IOException("cannot interpret line: " + line);
203  }
204  // next line:
205  line = reader.readLine();
206  }
207 
208  } catch (IOException e) {
209  this.log.warn("there was an exception while reading the file.", e);
210  try {
211  reader.close();
212  } catch (IOException e2) {
213  this.log.warn("could not close reader.", e2);
214  }
215  throw new UncheckedIOException(e);
216  }
217 
218  try {
219  reader.close();
220  } catch (IOException e) {
221  this.log.warn("could not close reader.", e);
222  }
223 
224  }
void readTimeProfile(final String tableAttributes, final BufferedReader reader)
void readDepartureSections(final String tableAttributes, final BufferedReader reader)
void readDepartures(final String tableAttributes, final BufferedReader reader)
void readStops(final String tableAttributes, final BufferedReader reader)
void readStopPoints(final String tableAttributes, final BufferedReader reader)
void readEdgeTypes(String tableAttributes, BufferedReader reader)
void readLineRouteItems(final String tableAttributes, final BufferedReader reader)
void readVehicleUnits(final String tableAttributes, final BufferedReader reader)
void readLines(final String tableAttributes, final BufferedReader reader)
void readStopAreas(final String tableAttributes, final BufferedReader reader)
void readLineRoutes(final String tableAttributes, final BufferedReader reader)
void readVehicleUnitToVehicleCombination(final String tableAttributes, final BufferedReader reader)
void readVersion(final String tableAttributes, final BufferedReader reader)
void readTimeProfileItems(final String tableAttributes, final BufferedReader reader)
void readUnknownTable(final BufferedReader reader)
void readVehicleCombinations(final String tableAttributes, final BufferedReader reader)
Here is the call graph for this function:

◆ readVersion()

void org.matsim.visum.VisumNetworkReader.readVersion ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 227 of file VisumNetworkReader.java.

References org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

227  {
228  final String[] attributes = StringUtils.explode(tableAttributes.substring("$VERSION:".length()), ';');
229  final int idxLanguage = getAttributeIndex("LANGUAGE", attributes);
230 
231  String line = reader.readLine();
232  if (line == null) {
233  throw new RuntimeException("Language definition cannot be found.");
234  }
235  final String[] parts = StringUtils.explode(line, ';');
236  if (parts[idxLanguage].equals("ENG")) {
237  this.language = 0;
238  } else if (parts[idxLanguage].equals("DEU")) {
239  this.language = 1;
240  } else {
241  throw new RuntimeException("Unknown language: " + parts[idxLanguage]);
242  }
243  // proceed to next line, assumed to be empty
244  reader.readLine();
245  }
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readEdgeTypes()

void org.matsim.visum.VisumNetworkReader.readEdgeTypes ( String  tableAttributes,
BufferedReader  reader 
) throws IOException
private

Definition at line 247 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addEdgeType(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

247  {
248  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_LINKTYPE[this.language].length()), ';');
249  final int idxNo = getAttributeIndex(this.ATTRIBUTE_LINKTYPE_NO[this.language], attributes);
250  final int idxKapIV = getAttributeIndex(this.ATTRIBUTE_LINKTYPE_KAPIV[this.language], attributes);
251  final int idxV0IV = getAttributeIndex(this.ATTRIBUTE_LINKTYPE_V0IV[this.language], attributes);
252  final int idxNoOfLanes = getAttributeIndex(this.ATTRIBUTE_LINKTYPE_NOLANES[this.language], attributes);
253 
254  String line = reader.readLine();
255  while (line != null && line.length() > 0) {
256  final String[] parts = StringUtils.explode(line, ';');
257  VisumNetwork.EdgeType edgeType = new VisumNetwork.EdgeType(Id.create(parts[idxNo], VisumNetwork.EdgeType.class), parts[idxKapIV], parts[idxV0IV], parts[idxNoOfLanes]);
258  this.network.addEdgeType(edgeType);
259  // proceed to next line
260  line = reader.readLine();
261  }
262  }
void addEdgeType(final EdgeType edgeType)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readStops()

void org.matsim.visum.VisumNetworkReader.readStops ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 264 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addStop(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

264  {
265  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_STOP[this.language].length()), ';');
266  final int idxNo = getAttributeIndex(this.ATTRIBUTE_STOP_NO[this.language], attributes);
267  final int idxName = getAttributeIndex(this.ATTRIBUTE_STOP_NAME[this.language], attributes);
268  final int idxXcoord = getAttributeIndex(this.ATTRIBUTE_STOP_XCOORD[this.language], attributes);
269  final int idxYcoord = getAttributeIndex(this.ATTRIBUTE_STOP_YCOORD[this.language], attributes);
270 
271  String line = reader.readLine();
272  while (line != null && line.length() > 0) {
273  final String[] parts = StringUtils.explode(line, ';');
274  VisumNetwork.Stop stop = new VisumNetwork.Stop(Id.create(parts[idxNo], VisumNetwork.Stop.class), parts[idxName],
275  new Coord(Double.parseDouble(parts[idxXcoord].replace(',', '.')), Double.parseDouble(parts[idxYcoord].replace(',', '.'))));
276  this.network.addStop(stop);
277  // proceed to next line
278  line = reader.readLine();
279  }
280  }
void addStop(final Stop stop)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readStopAreas()

void org.matsim.visum.VisumNetworkReader.readStopAreas ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 282 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addStopArea(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

282  {
283  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_STOPAREA[this.language].length()), ';');
284  final int idxNo = getAttributeIndex(this.ATTRIBUTE_STOPAREA_NO[this.language], attributes);
285  final int idxStopId = getAttributeIndex(this.ATTRIBUTE_STOPAREA_STOPNO[this.language], attributes);
286 
287  String line = reader.readLine();
288  while (line != null && line.length() > 0) {
289  final String[] parts = StringUtils.explode(line, ';');
290  VisumNetwork.StopArea stopAr = new VisumNetwork.StopArea(Id.create(parts[idxNo], VisumNetwork.StopArea.class), Id.create(parts[idxStopId], VisumNetwork.Stop.class));
291  this.network.addStopArea(stopAr);
292  // proceed to next line
293  line = reader.readLine();
294  }
295  }
void addStopArea(final StopArea stopAr)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readStopPoints()

void org.matsim.visum.VisumNetworkReader.readStopPoints ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 296 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addStopPoint(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

296  {
297  final String[] attributes = StringUtils.explode(tableAttributes.substring( this.TABLE_STOPPOINT[this.language].length()), ';');
298  final int idxNo = getAttributeIndex(this.ATTRIBUTE_STOPPT_NO[this.language], attributes);
299  final int idxStopAreaNo = getAttributeIndex(this.ATTRIBUTE_STOPPT_STOPAREANO[this.language], attributes);
300  final int idxName = getAttributeIndex(this.ATTRIBUTE_STOPPT_NAME[this.language], attributes);
301  final int idxRLNo = getAttributeIndex(this.ATTRIBUTE_STOPPT_RLNO[this.language], attributes);
302  final int idxNode = getAttributeIndex(this.ATTRIBUTE_STOPPT_NODE[this.language], attributes);
303  String line = reader.readLine();
304  while (line != null && line.length() > 0) {
305  final String[] parts = StringUtils.explode(line, ';');
306  VisumNetwork.StopPoint stopPt = new VisumNetwork.StopPoint(Id.create(parts[idxNo], VisumNetwork.StopPoint.class),
307  Id.create(parts[idxStopAreaNo], VisumNetwork.StopArea.class),
308  parts[idxName],
309  Id.create(parts[idxRLNo], Link.class), Id.create(parts[idxNode], Node.class));
310  this.network.addStopPoint(stopPt);
311  // proceed to next line
312  line = reader.readLine();
313  }
314  }
void addStopPoint(final StopPoint stopPt)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readLineRoutes()

void org.matsim.visum.VisumNetworkReader.readLineRoutes ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 315 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addLineRoute(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), org.matsim.visum.VisumNetworkReader.getAttributeIndex(), and org.matsim.visum.VisumNetwork.TransitLineRoute.takt.

Referenced by org.matsim.visum.VisumNetworkReader.read().

315  {
316  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_LINEROUTE[this.language].length()), ';');
317  final int idxName = getAttributeIndex(this.ATTRIBUTE_LR_NAME[this.language], attributes);
318  final int idxLineName = getAttributeIndex(this.ATTRIBUTE_LR_LINENAME[this.language], attributes);
319  final int idxDCode = getAttributeIndex(this.ATTRIBUTE_LR_DCODE[this.language], attributes);
320  final int idxTakt = getAttributeIndex(this.ATTRIBUTE_LR_TAKT[this.language], attributes);
321 
322  String line = reader.readLine();
323  while (line != null && line.length() > 0) {
324  final String[] parts = StringUtils.explode(line, ';');
325  VisumNetwork.TransitLineRoute lr1 = new VisumNetwork.TransitLineRoute(
326  Id.create(parts[idxName], TransitLineRoute.class),
327  Id.create(parts[idxLineName], TransitLine.class),
328  parts[idxDCode]);
329  if (idxTakt != -1) {
330  lr1.takt = parts[idxTakt];
331  }
332  this.network.addLineRoute(lr1);
333  // proceed to next line
334  line = reader.readLine();
335  }
336  }
void addLineRoute(final TransitLineRoute lr1)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readLines()

void org.matsim.visum.VisumNetworkReader.readLines ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 337 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addline(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

337  {
338  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_LINE[this.language].length()), ';');
339  final int idxName = getAttributeIndex(this.ATTRIBUTE_L_NAME[this.language], attributes);
340  final int idxTCode = getAttributeIndex(this.ATTRIBUTE_L_TCODE[this.language], attributes);
341  final int idxVehCombNo = getAttributeIndex(this.ATTRIBUTE_L_VEHCOMBNO[this.language], attributes);
342 
343  String line = reader.readLine();
344  while (line != null && line.length() > 0) {
345  final String[] parts = StringUtils.explode(line, ';');
346  VisumNetwork.TransitLine tLine = new VisumNetwork.TransitLine(
347  Id.create(parts[idxName], TransitLine.class),
348  parts[idxTCode], parts[idxVehCombNo]);
349  this.network.addline(tLine);
350  // proceed to next line
351  line = reader.readLine();
352  }
353  }
void addline(final TransitLine l1)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readLineRouteItems()

void org.matsim.visum.VisumNetworkReader.readLineRouteItems ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 354 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addLineRouteItem(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

354  {
355  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_LINEROUTEITEM[this.language].length()), ';');
356  final int idxLineRouteName = getAttributeIndex(this.ATTRIBUTE_LRI_LRNAME[this.language], attributes);
357  final int idxLineName = getAttributeIndex(this.ATTRIBUTE_LRI_LNAME[this.language], attributes);
358  final int idxIndex = getAttributeIndex(this.ATTRIBUTE_LRI_ID[this.language], attributes);
359  final int idxDCode = getAttributeIndex(this.ATTRIBUTE_LRI_DCODE[this.language], attributes);
360  final int idxNodeId = getAttributeIndex(this.ATTRIBUTE_LRI_NODEID[this.language], attributes);
361  final int idxStopPointNo = getAttributeIndex(this.ATTRIBUTE_LRI_SPNO[this.language], attributes);
362 
363 
364  String line = reader.readLine();
365  while (line != null && line.length() > 0) {
366  final String[] parts = StringUtils.explode(line, ';');
367  Id<Node> nodeId = Id.create(parts[idxNodeId], Node.class);
368  String stopPointNoString = parts[idxStopPointNo];
369  Id<StopPoint> stopPointNo;
370  if (stopPointNoString.length() == 0) {
371  stopPointNo = null;
372  } else {
373  stopPointNo = Id.create(stopPointNoString, StopPoint.class);
374  }
375  VisumNetwork.LineRouteItem lri1 = new VisumNetwork.LineRouteItem(parts[idxLineName],parts[idxLineRouteName],parts[idxIndex],parts[idxDCode],nodeId,stopPointNo);
376  this.network.addLineRouteItem(lri1);
377  // proceed to next line
378  line = reader.readLine();
379  }
380  }
int getAttributeIndex(final String attribute, final String[] attributes)
void addLineRouteItem(final LineRouteItem lri1)
Here is the call graph for this function:

◆ readTimeProfile()

void org.matsim.visum.VisumNetworkReader.readTimeProfile ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 381 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addTimeProfile(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

381  {
382  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_TIMEPROFILE[this.language].length()), ';');
383  final int idxLineName = getAttributeIndex(this.ATTRIBUTE_TP_LNAME[this.language], attributes);
384  final int idxLineRouteName = getAttributeIndex(this.ATTRIBUTE_TP_LRNAME[this.language], attributes);
385  final int idxIndex = getAttributeIndex(this.ATTRIBUTE_TP_ID[this.language], attributes);
386  final int idxDCode = getAttributeIndex(this.ATTRIBUTE_TP_DCODE[this.language], attributes);
387  final int idxVehCombNo = getAttributeIndex(this.ATTRIBUTE_TP_VEHCOMBNO[this.language], attributes);
388 
389  String line = reader.readLine();
390  while (line != null && line.length() > 0) {
391  final String[] parts = StringUtils.explode(line, ';');
392 
393  VisumNetwork.TimeProfile tp1 = new VisumNetwork.TimeProfile(Id.create(parts[idxLineName], VisumNetwork.TransitLine.class),
394  Id.create(parts[idxLineRouteName], TransitLineRoute.class), Id.create(parts[idxIndex], VisumNetwork.TimeProfile.class),
395  parts[idxDCode],
396  parts[idxVehCombNo]);
397  this.network.addTimeProfile(tp1);
398  // proceed to next line
399  line = reader.readLine();
400  }
401  }
void addTimeProfile(final TimeProfile tp1)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readTimeProfileItems()

void org.matsim.visum.VisumNetworkReader.readTimeProfileItems ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 402 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addTimeProfileItem(), org.matsim.api.core.v01.Id< T >.create(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

402  {
403  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_TIMEPROFILEITEM[this.language].length()), ';');
404  final int idxLineRouteName = getAttributeIndex(this.ATTRIBUTE_TPI_LRNAME[this.language], attributes);
405  final int idxLineName = getAttributeIndex(this.ATTRIBUTE_TPI_LNAME[this.language], attributes);
406  final int idxTPName = getAttributeIndex(this.ATTRIBUTE_TPI_TPNAME[this.language], attributes);
407  final int idxDCode = getAttributeIndex(this.ATTRIBUTE_TPI_DCODE[this.language], attributes);
408  final int idxIndex = getAttributeIndex(this.ATTRIBUTE_TPI_ID[this.language], attributes);
409  final int idxArr = getAttributeIndex(this.ATTRIBUTE_TPI_ARR[this.language], attributes);
410  final int idxDep = getAttributeIndex(this.ATTRIBUTE_TPI_DEP[this.language], attributes);
411  final int idxLRIIndex = getAttributeIndex(this.ATTRIBUTE_TPI_LRIINDEX[this.language], attributes);
412 
413  String line = reader.readLine();
414  while (line != null && line.length() > 0) {
415  final String[] parts = StringUtils.explode(line, ';');
416 
417  VisumNetwork.TimeProfileItem tpi1 = new VisumNetwork.TimeProfileItem(parts[idxLineName], parts[idxLineRouteName],
418  parts[idxTPName], parts[idxDCode], parts[idxIndex], parts[idxArr], parts[idxDep],
419  Id.create(parts[idxLRIIndex], VisumNetwork.TimeProfileItem.class));
420  this.network.addTimeProfileItem(tpi1);
421  // proceed to next line
422  line = reader.readLine();
423  }
424  }
int getAttributeIndex(final String attribute, final String[] attributes)
void addTimeProfileItem(final TimeProfileItem tpi1)
Here is the call graph for this function:

◆ readDepartures()

void org.matsim.visum.VisumNetworkReader.readDepartures ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 426 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addDeparture(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

426  {
427  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_VEHJOURNEY[this.language].length()), ';');
428  final int idxLineRouteName = getAttributeIndex(this.ATTRIBUTE_D_LRNAME[this.language], attributes);
429  final int idxLineName = getAttributeIndex(this.ATTRIBUTE_D_LNAME[this.language], attributes);
430  final int idxNo = getAttributeIndex(this.ATTRIBUTE_D_ID[this.language], attributes);
431  final int idxTRI = getAttributeIndex(this.ATTRIBUTE_D_TPNAME[this.language], attributes);
432  final int idxDep = getAttributeIndex(this.ATTRIBUTE_D_DEP[this.language], attributes);
433  final int idxDCode = getAttributeIndex(this.ATTRIBUTE_D_DCODE[this.language], attributes);
434 
435  String line = reader.readLine();
436  while (line != null && line.length() > 0) {
437  final String[] parts = StringUtils.explode(line, ';');
438 
439  VisumNetwork.Departure d = new VisumNetwork.Departure(parts[idxLineName], parts[idxLineRouteName], parts[idxNo], parts[idxTRI], parts[idxDep], parts[idxDCode]);
440  this.network.addDeparture(d);
441  // proceed to next line
442  line = reader.readLine();
443  }
444  }
int getAttributeIndex(final String attribute, final String[] attributes)
void addDeparture(final Departure d)
Here is the call graph for this function:

◆ readDepartureSections()

void org.matsim.visum.VisumNetworkReader.readDepartureSections ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 446 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.departuresByNo, org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

446  {
447  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_VEHJOURNEYSECTION[this.language].length()), ';');
448  final int idxVehicleJourneyNo = getAttributeIndex(this.ATTRIBUTE_VJS_VEHJOURNEYNO[this.language], attributes);
449  final int idxVehCombinationNo = getAttributeIndex(this.ATTRIBUTE_VJS_VEHCOMBNO[this.language], attributes);
450 
451  String line = reader.readLine();
452  while (line != null && line.length() > 0) {
453  final String[] parts = StringUtils.explode(line, ';');
454 
455  String vehJourneyNo = parts[idxVehicleJourneyNo];
456  String vehCombNo = parts[idxVehCombinationNo];
457  VisumNetwork.Departure d = this.network.departuresByNo.get(vehJourneyNo);
458  d.vehCombinationNo = vehCombNo;
459  // proceed to next line
460  line = reader.readLine();
461  }
462  }
int getAttributeIndex(final String attribute, final String[] attributes)
final Map< String, Departure > departuresByNo
Here is the call graph for this function:

◆ readVehicleUnits()

void org.matsim.visum.VisumNetworkReader.readVehicleUnits ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 464 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addVehicleUnit(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

464  {
465  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_VEHUNIT[this.language].length()), ';');
466  final int idxId = getAttributeIndex(this.ATTRIBUTE_VEHUNIT_ID[this.language], attributes);
467  final int idxCode = getAttributeIndex(this.ATTRIBUTE_VEHUNIT_CODE[this.language], attributes);
468  final int idxSeatCap = getAttributeIndex(this.ATTRIBUTE_VEHUNIT_SEATCAP[this.language], attributes);
469  final int idxTotalCap = getAttributeIndex(this.ATTRIBUTE_VEHUNIT_TOTALCAP[this.language], attributes);
470 
471  String line = reader.readLine();
472  while (line != null && line.length() > 0) {
473  final String[] parts = StringUtils.explode(line, ';');
474 
475  VisumNetwork.VehicleUnit vehicleUnit = new VisumNetwork.VehicleUnit(parts[idxId], parts[idxCode],
476  Integer.parseInt(parts[idxSeatCap]), Integer.parseInt(parts[idxTotalCap]));
477  this.network.addVehicleUnit(vehicleUnit);
478  // proceed to next line
479  line = reader.readLine();
480  }
481  }
int getAttributeIndex(final String attribute, final String[] attributes)
void addVehicleUnit(final VehicleUnit vehUnit)
Here is the call graph for this function:

◆ readVehicleCombinations()

void org.matsim.visum.VisumNetworkReader.readVehicleCombinations ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 483 of file VisumNetworkReader.java.

References org.matsim.visum.VisumNetwork.addVehicleCombination(), org.matsim.core.utils.misc.StringUtils.explode(), and org.matsim.visum.VisumNetworkReader.getAttributeIndex().

Referenced by org.matsim.visum.VisumNetworkReader.read().

483  {
484  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_VEHCOMB[this.language].length()), ';');
485  final int idxId = getAttributeIndex(this.ATTRIBUTE_VEHCOMB_NO[this.language], attributes);
486  final int idxName = getAttributeIndex(this.ATTRIBUTE_VEHCOMB_NAME[this.language], attributes);
487 
488  String line = reader.readLine();
489  while (line != null && line.length() > 0) {
490  final String[] parts = StringUtils.explode(line, ';');
491 
492  VisumNetwork.VehicleCombination vehicleComb = new VisumNetwork.VehicleCombination(parts[idxId], parts[idxName]);
493  this.network.addVehicleCombination(vehicleComb);
494  // proceed to next line
495  line = reader.readLine();
496  }
497  }
void addVehicleCombination(final VehicleCombination vehComb)
int getAttributeIndex(final String attribute, final String[] attributes)
Here is the call graph for this function:

◆ readVehicleUnitToVehicleCombination()

void org.matsim.visum.VisumNetworkReader.readVehicleUnitToVehicleCombination ( final String  tableAttributes,
final BufferedReader  reader 
) throws IOException
private

Definition at line 499 of file VisumNetworkReader.java.

References org.matsim.core.utils.misc.StringUtils.explode(), org.matsim.visum.VisumNetworkReader.getAttributeIndex(), and org.matsim.visum.VisumNetwork.vehicleCombinations.

Referenced by org.matsim.visum.VisumNetworkReader.read().

499  {
500  final String[] attributes = StringUtils.explode(tableAttributes.substring(this.TABLE_VEHUNITTOVEHCOMB[this.language].length()), ';');
501  final int idxVehicleUnit = getAttributeIndex(this.ATTRIBUTE_VEHUNITTOVEHCOMB_VEHUNITNO[this.language], attributes);
502  final int idxVehicleComb = getAttributeIndex(this.ATTRIBUTE_VEHUNITTOVEHCOMB_VEHCOMBNO[this.language], attributes);
503  final int idxVehicleNumber = getAttributeIndex(this.ATTRIBUTE_VEHUNITTOVEHCOMB_NUMVEHUNITS[this.language], attributes);
504 
505  String line = reader.readLine();
506  while (line != null && line.length() > 0) {
507  final String[] parts = StringUtils.explode(line, ';');
508 
509  VisumNetwork.VehicleCombination vehicleComb = this.network.vehicleCombinations.get(parts[idxVehicleComb]);
510  vehicleComb.vehUnitId = parts[idxVehicleUnit];
511  vehicleComb.numOfVehicles = Integer.parseInt(parts[idxVehicleNumber]);
512  // proceed to next line
513  line = reader.readLine();
514  }
515  }
int getAttributeIndex(final String attribute, final String[] attributes)
final Map< String, VehicleCombination > vehicleCombinations
Here is the call graph for this function:

◆ readUnknownTable()

void org.matsim.visum.VisumNetworkReader.readUnknownTable ( final BufferedReader  reader) throws IOException
private

Definition at line 517 of file VisumNetworkReader.java.

Referenced by org.matsim.visum.VisumNetworkReader.read().

517  {
518  String line = reader.readLine();
519  while (line != null && line.length() > 0) {
520 
521  line = reader.readLine();
522  }
523  }

◆ getAttributeIndex()

int org.matsim.visum.VisumNetworkReader.getAttributeIndex ( final String  attribute,
final String []  attributes 
)
private

Member Data Documentation

◆ ATTRIBUTE_UNKNOWN

final String org.matsim.visum.VisumNetworkReader.ATTRIBUTE_UNKNOWN = "%%%KEINE_AHNUNG%%%"
staticprivate

Definition at line 44 of file VisumNetworkReader.java.

◆ network

final VisumNetwork org.matsim.visum.VisumNetworkReader.network
private

◆ log

final Logger org.matsim.visum.VisumNetworkReader.log = LogManager.getLogger(VisumNetworkReader.class)
private

Definition at line 48 of file VisumNetworkReader.java.

◆ language

int org.matsim.visum.VisumNetworkReader.language = 0
private

index for accessing the localized strings.

Definition at line 51 of file VisumNetworkReader.java.

◆ GENERAL_DCODE

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_DCODE = {"DIRECTIONCODE", "RICHTUNGCODE"}
private

Definition at line 57 of file VisumNetworkReader.java.

◆ GENERAL_INDEX

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_INDEX = {"INDEX", "INDEX"}
private

Definition at line 58 of file VisumNetworkReader.java.

◆ GENERAL_NAME

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_NAME = {"NAME", "NAME"}
private

Definition at line 59 of file VisumNetworkReader.java.

◆ GENERAL_NO

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_NO = {"NO", "NR"}
private

Definition at line 60 of file VisumNetworkReader.java.

◆ GENERAL_LINENAME

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_LINENAME = {"LINENAME", "LINNAME"}
private

Definition at line 61 of file VisumNetworkReader.java.

◆ GENERAL_LINEROUTENAME

final String [] org.matsim.visum.VisumNetworkReader.GENERAL_LINEROUTENAME = {"LINEROUTENAME", "LINROUTENAME"}
private

Definition at line 62 of file VisumNetworkReader.java.

◆ TABLE_LINKTYPE

final String [] org.matsim.visum.VisumNetworkReader.TABLE_LINKTYPE = {"$LINKTYPE:", "$STRECKENTYP:"}
private

Definition at line 66 of file VisumNetworkReader.java.

◆ TABLE_STOP

final String [] org.matsim.visum.VisumNetworkReader.TABLE_STOP = {"$STOP:", "$HALTESTELLE:"}
private

Definition at line 67 of file VisumNetworkReader.java.

◆ TABLE_STOPAREA

final String [] org.matsim.visum.VisumNetworkReader.TABLE_STOPAREA = {"$STOPAREA:", "$HALTESTELLENBEREICH:"}
private

Definition at line 68 of file VisumNetworkReader.java.

◆ TABLE_STOPPOINT

final String [] org.matsim.visum.VisumNetworkReader.TABLE_STOPPOINT = {"$STOPPOINT:", "$HALTEPUNKT:"}
private

Definition at line 69 of file VisumNetworkReader.java.

◆ TABLE_LINE

final String [] org.matsim.visum.VisumNetworkReader.TABLE_LINE = {"$LINE:", "$LINIE:"}
private

Definition at line 70 of file VisumNetworkReader.java.

◆ TABLE_LINEROUTE

final String [] org.matsim.visum.VisumNetworkReader.TABLE_LINEROUTE = {"$LINEROUTE:", "$LINIENROUTE:"}
private

Definition at line 71 of file VisumNetworkReader.java.

◆ TABLE_LINEROUTEITEM

final String [] org.matsim.visum.VisumNetworkReader.TABLE_LINEROUTEITEM = {"$LINEROUTEITEM:", "$LINIENROUTENELEMENT:"}
private

Definition at line 72 of file VisumNetworkReader.java.

◆ TABLE_TIMEPROFILE

final String [] org.matsim.visum.VisumNetworkReader.TABLE_TIMEPROFILE = {"$TIMEPROFILE:", "$FAHRZEITPROFIL:"}
private

Definition at line 73 of file VisumNetworkReader.java.

◆ TABLE_TIMEPROFILEITEM

final String [] org.matsim.visum.VisumNetworkReader.TABLE_TIMEPROFILEITEM = {"$TIMEPROFILEITEM:", "$FAHRZEITPROFILELEMENT:"}
private

Definition at line 74 of file VisumNetworkReader.java.

◆ TABLE_VEHJOURNEY

final String [] org.matsim.visum.VisumNetworkReader.TABLE_VEHJOURNEY = {"$VEHJOURNEY:", "$FZGFAHRT:"}
private

Definition at line 75 of file VisumNetworkReader.java.

◆ TABLE_VEHJOURNEYSECTION

final String [] org.matsim.visum.VisumNetworkReader.TABLE_VEHJOURNEYSECTION = {"$VEHJOURNEYSECTION:", "$FZGFAHRTABSCHNITT:"}
private

Definition at line 77 of file VisumNetworkReader.java.

◆ TABLE_VEHUNIT

final String [] org.matsim.visum.VisumNetworkReader.TABLE_VEHUNIT = {"$VEHUNIT:", "$FZGEINHEIT:"}
private

Definition at line 78 of file VisumNetworkReader.java.

◆ TABLE_VEHCOMB

final String [] org.matsim.visum.VisumNetworkReader.TABLE_VEHCOMB = {"$VEHCOMB:", "$FZGKOMB:"}
private

Definition at line 79 of file VisumNetworkReader.java.

◆ TABLE_VEHUNITTOVEHCOMB

final String [] org.matsim.visum.VisumNetworkReader.TABLE_VEHUNITTOVEHCOMB = {"$VEHUNITTOVEHCOMB:", "$FZGEINHEITZUFZGKOMB:"}
private

Definition at line 80 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LINKTYPE_NO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LINKTYPE_NO = GENERAL_NO
private

Definition at line 82 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LINKTYPE_KAPIV

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LINKTYPE_KAPIV = {"CAPPRT", "KAPIV"}
private

Definition at line 83 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LINKTYPE_V0IV

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LINKTYPE_V0IV = {"V0PRT", "V0IV"}
private

Definition at line 84 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LINKTYPE_NOLANES

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LINKTYPE_NOLANES = {"NUMLANES", "ANZFAHRSTREIFEN"}
private

Definition at line 85 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOP_NO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOP_NO = GENERAL_NO
private

Definition at line 87 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOP_NAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOP_NAME = GENERAL_NAME
private

Definition at line 88 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOP_XCOORD

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOP_XCOORD = {"XCOORD", "XKOORD"}
private

Definition at line 89 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOP_YCOORD

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOP_YCOORD = {"YCOORD", "YKOORD"}
private

Definition at line 90 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPAREA_NO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPAREA_NO = GENERAL_NO
private

Definition at line 92 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPAREA_STOPNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPAREA_STOPNO = {"STOPNO", "HSTNR"}
private

Definition at line 93 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPPT_NO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPPT_NO = GENERAL_NO
private

Definition at line 95 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPPT_STOPAREANO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPPT_STOPAREANO = {"STOPAREANO", "HSTBERNR"}
private

Definition at line 96 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPPT_NAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPPT_NAME = GENERAL_NAME
private

Definition at line 97 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPPT_RLNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPPT_RLNO = {"LINKNO", "STRNR"}
private

Definition at line 98 of file VisumNetworkReader.java.

◆ ATTRIBUTE_STOPPT_NODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_STOPPT_NODE = {"NODENO", "KNOTNR"}
private

Definition at line 99 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LR_NAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LR_NAME = GENERAL_NAME
private

Definition at line 101 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LR_LINENAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LR_LINENAME = GENERAL_LINENAME
private

Definition at line 102 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LR_DCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LR_DCODE = GENERAL_DCODE
private

Definition at line 103 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LR_TAKT

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LR_TAKT = {ATTRIBUTE_UNKNOWN, "TAKT_TAG_HVZ"}
private

Definition at line 104 of file VisumNetworkReader.java.

◆ ATTRIBUTE_L_NAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_L_NAME = GENERAL_NAME
private

Definition at line 106 of file VisumNetworkReader.java.

◆ ATTRIBUTE_L_TCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_L_TCODE = {"TSYSCODE", "VSYSCODE"}
private

Definition at line 107 of file VisumNetworkReader.java.

◆ ATTRIBUTE_L_VEHCOMBNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_L_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
private

Definition at line 108 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_LRNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_LRNAME = GENERAL_LINEROUTENAME
private

Definition at line 110 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_LNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_LNAME = GENERAL_LINENAME
private

Definition at line 111 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_ID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_ID = GENERAL_INDEX
private

Definition at line 112 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_DCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_DCODE = GENERAL_DCODE
private

Definition at line 113 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_NODEID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_NODEID = {"NODENO", "KNOTNR"}
private

Definition at line 114 of file VisumNetworkReader.java.

◆ ATTRIBUTE_LRI_SPNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_LRI_SPNO = {"STOPPOINTNO", "HPUNKTNR"}
private

Definition at line 115 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TP_LNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TP_LNAME = GENERAL_LINENAME
private

Definition at line 117 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TP_LRNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TP_LRNAME = GENERAL_LINEROUTENAME
private

Definition at line 118 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TP_ID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TP_ID = GENERAL_NAME
private

Definition at line 119 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TP_DCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TP_DCODE = GENERAL_DCODE
private

Definition at line 120 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TP_VEHCOMBNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TP_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
private

Definition at line 121 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_LNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_LNAME = GENERAL_LINENAME
private

Definition at line 123 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_LRNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_LRNAME = GENERAL_LINEROUTENAME
private

Definition at line 124 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_ID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_ID = GENERAL_INDEX
private

Definition at line 125 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_TPNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_TPNAME = {"TIMEPROFILENAME", "FZPROFILNAME"}
private

Definition at line 126 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_DCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_DCODE = GENERAL_DCODE
private

Definition at line 127 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_ARR

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_ARR = {"ARR", "ANKUNFT"}
private

Definition at line 128 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_DEP

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_DEP = {"DEP", "ABFAHRT"}
private

Definition at line 129 of file VisumNetworkReader.java.

◆ ATTRIBUTE_TPI_LRIINDEX

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_TPI_LRIINDEX = {"LRITEMINDEX", "LRELEMINDEX"}
private

Definition at line 130 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_LNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_LNAME = GENERAL_LINENAME
private

Definition at line 132 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_LRNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_LRNAME = GENERAL_LINEROUTENAME
private

Definition at line 133 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_ID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_ID = GENERAL_NO
private

Definition at line 134 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_TPNAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_TPNAME = {"TIMEPROFILENAME", "FZPROFILNAME"}
private

Definition at line 135 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_DEP

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_DEP = {"DEP", "ABFAHRT"}
private

Definition at line 136 of file VisumNetworkReader.java.

◆ ATTRIBUTE_D_DCODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_D_DCODE = GENERAL_DCODE
private

Definition at line 137 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VJS_VEHJOURNEYNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VJS_VEHJOURNEYNO = {"VEHJOURNEYNO", "FZGFAHRTNR"}
private

Definition at line 139 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VJS_VEHCOMBNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VJS_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
private

Definition at line 140 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNIT_ID

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNIT_ID = GENERAL_NO
private

Definition at line 142 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNIT_CODE

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNIT_CODE = {"CODE", "CODE"}
private

Definition at line 143 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNIT_SEATCAP

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNIT_SEATCAP = {"SEATCAP", "SITZPL"}
private

Definition at line 144 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNIT_TOTALCAP

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNIT_TOTALCAP = {"TOTALCAP", "GESAMTPL"}
private

Definition at line 145 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHCOMB_NO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHCOMB_NO = GENERAL_NO
private

Definition at line 147 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHCOMB_NAME

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHCOMB_NAME = GENERAL_NAME
private

Definition at line 148 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNITTOVEHCOMB_VEHCOMBNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNITTOVEHCOMB_VEHCOMBNO = {"VEHCOMBNO", "FZGKOMBNR"}
private

Definition at line 150 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNITTOVEHCOMB_VEHUNITNO

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNITTOVEHCOMB_VEHUNITNO = {"VEHUNITNO", "FZGEINHEITNR"}
private

Definition at line 151 of file VisumNetworkReader.java.

◆ ATTRIBUTE_VEHUNITTOVEHCOMB_NUMVEHUNITS

final String [] org.matsim.visum.VisumNetworkReader.ATTRIBUTE_VEHUNITTOVEHCOMB_NUMVEHUNITS = {"NUMVEHUNITS", "ANZFZGEINH"}
private

Definition at line 152 of file VisumNetworkReader.java.


The documentation for this class was generated from the following file: