Package org.goplanit.matsim.util
Class PlanitMatsimWriterSettings
- java.lang.Object
-
- org.goplanit.matsim.util.PlanitMatsimWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
- Direct Known Subclasses:
MatsimNetworkWriterSettings
,MatsimZoningWriterSettings
public abstract class PlanitMatsimWriterSettings extends Object implements ConverterWriterSettings
Base writer settings class to be used by all available matsim writer settings classes. Contains the output directory and destination country name used- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected String
countryName
the destination country this writer is configured forprotected org.opengis.referencing.crs.CoordinateReferenceSystem
destinationCoordinateReferenceSystem
the coordinate reference system used for writing entities of this networkprotected String
outputDirectory
the output directory on where to persist the MATSIM file(s)protected String
outputFileName
the output file name of the to be persisted the MATSIM file
-
Constructor Summary
Constructors Constructor Description PlanitMatsimWriterSettings()
Default constructorPlanitMatsimWriterSettings(String outputDirectory, String outputFileName, String countryName)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCountry()
Collect the country name setorg.opengis.referencing.crs.CoordinateReferenceSystem
getDestinationCoordinateReferenceSystem()
Collect the currently used CRS for writing the output geometriesString
getOutputDirectory()
The output directory to useString
getOutputFileName()
The output file name to usevoid
setCountry(String countryName)
Set the country name to usevoid
setDestinationCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem destinationCoordinateReferenceSystem)
Explicitly set a particular crs for writing geometriesvoid
setOutputDirectory(String outputDirectory)
Set the output directory to usevoid
setOutputFileName(String outputFileName)
Set the output file name to use-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.converter.ConverterWriterSettings
reset
-
-
-
-
Field Detail
-
outputDirectory
protected String outputDirectory
the output directory on where to persist the MATSIM file(s)
-
outputFileName
protected String outputFileName
the output file name of the to be persisted the MATSIM file
-
countryName
protected String countryName
the destination country this writer is configured for
-
destinationCoordinateReferenceSystem
protected org.opengis.referencing.crs.CoordinateReferenceSystem destinationCoordinateReferenceSystem
the coordinate reference system used for writing entities of this network
-
-
Method Detail
-
getOutputDirectory
public String getOutputDirectory()
The output directory to use- Returns:
- output directory
-
setOutputDirectory
public void setOutputDirectory(String outputDirectory)
Set the output directory to use- Parameters:
outputDirectory
- to use
-
getCountry
public String getCountry()
Collect the country name set- Returns:
- country name
-
setCountry
public void setCountry(String countryName)
Set the country name to use- Parameters:
countryName
- to use
-
getOutputFileName
public String getOutputFileName()
The output file name to use- Returns:
- output file name
-
setOutputFileName
public void setOutputFileName(String outputFileName)
Set the output file name to use- Parameters:
outputFileName
- to use
-
getDestinationCoordinateReferenceSystem
public org.opengis.referencing.crs.CoordinateReferenceSystem getDestinationCoordinateReferenceSystem()
Collect the currently used CRS for writing the output geometries- Returns:
- crs used
-
setDestinationCoordinateReferenceSystem
public void setDestinationCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem destinationCoordinateReferenceSystem)
Explicitly set a particular crs for writing geometries- Parameters:
destinationCoordinateReferenceSystem
- to use
-
-