Package org.goplanit.matsim.converter
Class MatsimZoningWriterSettings
- java.lang.Object
-
- org.goplanit.matsim.util.PlanitMatsimWriterSettings
-
- org.goplanit.matsim.converter.MatsimZoningWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
public class MatsimZoningWriterSettings extends PlanitMatsimWriterSettings
Settings specific to writing the zoning related output in Matsim format (pt)- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_TRANSIT_SCHEDULE_FILE_NAME
default names used for MATSIM public transport schedule file that is being generatedprotected MacroscopicNetwork
referenceNetwork
the reference network this zoning is supposed to be compatible withprotected String
transitScheduleFileName
the output file name to use for the transit schedule, default is set to DEFAULT_TRANSIT_SCHEDULE_FILE_NAME-
Fields inherited from class org.goplanit.matsim.util.PlanitMatsimWriterSettings
countryName, destinationCoordinateReferenceSystem, outputDirectory, outputFileName
-
-
Constructor Summary
Constructors Constructor Description MatsimZoningWriterSettings()
Default constructor using default output file name and Global country nameMatsimZoningWriterSettings(String countryName)
Default constructorMatsimZoningWriterSettings(String outputDirectory, String countryName)
ConstructorMatsimZoningWriterSettings(String outputDirectory, String outputFileName, String countryName)
ConstructorMatsimZoningWriterSettings(String outputDirectory, String outputFileName, String countryName, MacroscopicNetwork referenceNetwork)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MacroscopicNetwork
getReferenceNetwork()
Collect the reference network usedprotected void
logSettings()
Log settingsvoid
reset()
reset settings after persistingvoid
setReferenceNetwork(MacroscopicNetwork referenceNetwork)
Set the reference network to use when mapping zoning entities to network entities-
Methods inherited from class org.goplanit.matsim.util.PlanitMatsimWriterSettings
getCountry, getDestinationCoordinateReferenceSystem, getOutputDirectory, getOutputFileName, setCountry, setDestinationCoordinateReferenceSystem, setOutputDirectory, setOutputFileName
-
-
-
-
Field Detail
-
referenceNetwork
protected MacroscopicNetwork referenceNetwork
the reference network this zoning is supposed to be compatible with
-
transitScheduleFileName
protected String transitScheduleFileName
the output file name to use for the transit schedule, default is set to DEFAULT_TRANSIT_SCHEDULE_FILE_NAME
-
DEFAULT_TRANSIT_SCHEDULE_FILE_NAME
public static final String DEFAULT_TRANSIT_SCHEDULE_FILE_NAME
default names used for MATSIM public transport schedule file that is being generated- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MatsimZoningWriterSettings
public MatsimZoningWriterSettings()
Default constructor using default output file name and Global country name
-
MatsimZoningWriterSettings
public MatsimZoningWriterSettings(String countryName)
Default constructor- Parameters:
countryName
- to use
-
MatsimZoningWriterSettings
public MatsimZoningWriterSettings(String outputDirectory, String countryName)
Constructor- Parameters:
outputDirectory
- to usecountryName
- to use
-
MatsimZoningWriterSettings
public MatsimZoningWriterSettings(String outputDirectory, String outputFileName, String countryName)
Constructor- Parameters:
outputDirectory
- to useoutputFileName
- to usecountryName
- to use
-
MatsimZoningWriterSettings
public MatsimZoningWriterSettings(String outputDirectory, String outputFileName, String countryName, MacroscopicNetwork referenceNetwork)
Constructor- Parameters:
outputDirectory
- to useoutputFileName
- to usecountryName
- to usereferenceNetwork
- to use
-
-
Method Detail
-
logSettings
protected void logSettings()
Log settings
-
getReferenceNetwork
protected MacroscopicNetwork getReferenceNetwork()
Collect the reference network used- Returns:
- reference network
-
setReferenceNetwork
public void setReferenceNetwork(MacroscopicNetwork referenceNetwork)
Set the reference network to use when mapping zoning entities to network entities- Parameters:
referenceNetwork
- to use
-
reset
public void reset()
reset settings after persisting
-
-