Class PlanitIntermodalWriterSettings
- java.lang.Object
-
- org.goplanit.io.converter.intermodal.PlanitIntermodalWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
public class PlanitIntermodalWriterSettings extends Object implements ConverterWriterSettings
Settings for PLANit intermodal writer- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected PlanitNetworkWriterSettings
networkSettings
the network settings to useprotected PlanitRoutedServicesWriterSettings
routedServicesSettings
the routed services settings to useprotected PlanitServiceNetworkWriterSettings
serviceNetworkSettings
the service network settings to useprotected PlanitZoningWriterSettings
zoningSettings
the zoning settings to use
-
Constructor Summary
Constructors Constructor Description PlanitIntermodalWriterSettings()
Default constructorPlanitIntermodalWriterSettings(String outputDirectory, String countryName)
ConstructorPlanitIntermodalWriterSettings(PlanitNetworkWriterSettings networkSettings, PlanitZoningWriterSettings zoningSettings, PlanitServiceNetworkWriterSettings serviceNetworkSettings, PlanitRoutedServicesWriterSettings routedServicesSettings)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanitNetworkWriterSettings
getNetworkSettings()
Collect network settingsPlanitRoutedServicesWriterSettings
getRoutedServicesSettings()
Collect routed services settingsPlanitServiceNetworkWriterSettings
getServiceNetworkSettings()
Collect service network settingsPlanitZoningWriterSettings
getZoningSettings()
Collect zoning settingsvoid
reset()
reset settings after persistingvoid
setCountry(String countryName)
Set country name used on both zoning and (service) network settingsvoid
setDestinationCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem destinationCoordinateReferenceSystem)
Set the destination Crs to use (if not set, network's native Crs will be used, unless the user has specified a specific country for which we have a more appropriate Crs registered)void
setOutputDirectory(String outputDirectory)
Set the outputPathDirectory used on both zoning and (service) network settings
-
-
-
Field Detail
-
networkSettings
protected final PlanitNetworkWriterSettings networkSettings
the network settings to use
-
zoningSettings
protected final PlanitZoningWriterSettings zoningSettings
the zoning settings to use
-
serviceNetworkSettings
protected final PlanitServiceNetworkWriterSettings serviceNetworkSettings
the service network settings to use
-
routedServicesSettings
protected final PlanitRoutedServicesWriterSettings routedServicesSettings
the routed services settings to use
-
-
Constructor Detail
-
PlanitIntermodalWriterSettings
public PlanitIntermodalWriterSettings()
Default constructor
-
PlanitIntermodalWriterSettings
public PlanitIntermodalWriterSettings(String outputDirectory, String countryName)
Constructor- Parameters:
outputDirectory
- to usecountryName
- to use
-
PlanitIntermodalWriterSettings
public PlanitIntermodalWriterSettings(PlanitNetworkWriterSettings networkSettings, PlanitZoningWriterSettings zoningSettings, PlanitServiceNetworkWriterSettings serviceNetworkSettings, PlanitRoutedServicesWriterSettings routedServicesSettings)
Constructor- Parameters:
networkSettings
- to usezoningSettings
- to useserviceNetworkSettings
- to useroutedServicesSettings
- to use
-
-
Method Detail
-
reset
public void reset()
reset settings after persisting- Specified by:
reset
in interfaceConverterWriterSettings
-
getZoningSettings
public PlanitZoningWriterSettings getZoningSettings()
Collect zoning settings- Returns:
- zoning settings
-
getNetworkSettings
public PlanitNetworkWriterSettings getNetworkSettings()
Collect network settings- Returns:
- network settings
-
getServiceNetworkSettings
public PlanitServiceNetworkWriterSettings getServiceNetworkSettings()
Collect service network settings- Returns:
- service network settings
-
getRoutedServicesSettings
public PlanitRoutedServicesWriterSettings getRoutedServicesSettings()
Collect routed services settings- Returns:
- routed services settings
-
setOutputDirectory
public void setOutputDirectory(String outputDirectory)
Set the outputPathDirectory used on both zoning and (service) network settings- Parameters:
outputDirectory
- to use
-
setCountry
public void setCountry(String countryName)
Set country name used on both zoning and (service) network settings- Parameters:
countryName
- to use
-
setDestinationCoordinateReferenceSystem
public void setDestinationCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem destinationCoordinateReferenceSystem)
Set the destination Crs to use (if not set, network's native Crs will be used, unless the user has specified a specific country for which we have a more appropriate Crs registered)- Parameters:
destinationCoordinateReferenceSystem
- to use
-
-