Class GeometryIntermodalWriterSettings
- java.lang.Object
-
- org.goplanit.geoio.converter.intermodal.GeometryIntermodalWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
public class GeometryIntermodalWriterSettings extends Object implements ConverterWriterSettings
Settings for Geometry (GIS) intermodal writer- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected GeometryNetworkWriterSettings
networkSettings
the network settings to useprotected GeometryRoutedServicesWriterSettings
routedServicesSettings
the routed services settings to useprotected GeometryServiceNetworkWriterSettings
serviceNetworkSettings
the service network settings to useprotected GeometryZoningWriterSettings
zoningSettings
the zoning settings to use
-
Constructor Summary
Constructors Constructor Description GeometryIntermodalWriterSettings()
Default constructorGeometryIntermodalWriterSettings(String outputDirectory, String countryName)
ConstructorGeometryIntermodalWriterSettings(GeometryNetworkWriterSettings networkSettings, GeometryZoningWriterSettings zoningSettings, GeometryServiceNetworkWriterSettings serviceNetworkSettings, GeometryRoutedServicesWriterSettings routedServicesSettings)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryNetworkWriterSettings
getNetworkSettings()
Collect network settingsGeometryRoutedServicesWriterSettings
getRoutedServicesSettings()
Collect routed services settingsGeometryServiceNetworkWriterSettings
getServiceNetworkSettings()
Collect service network settingsGeometryZoningWriterSettings
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 GeometryNetworkWriterSettings networkSettings
the network settings to use
-
zoningSettings
protected final GeometryZoningWriterSettings zoningSettings
the zoning settings to use
-
serviceNetworkSettings
protected final GeometryServiceNetworkWriterSettings serviceNetworkSettings
the service network settings to use
-
routedServicesSettings
protected final GeometryRoutedServicesWriterSettings routedServicesSettings
the routed services settings to use
-
-
Constructor Detail
-
GeometryIntermodalWriterSettings
public GeometryIntermodalWriterSettings()
Default constructor
-
GeometryIntermodalWriterSettings
public GeometryIntermodalWriterSettings(String outputDirectory, String countryName)
Constructor- Parameters:
outputDirectory
- to usecountryName
- to use
-
GeometryIntermodalWriterSettings
public GeometryIntermodalWriterSettings(GeometryNetworkWriterSettings networkSettings, GeometryZoningWriterSettings zoningSettings, GeometryServiceNetworkWriterSettings serviceNetworkSettings, GeometryRoutedServicesWriterSettings 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 GeometryZoningWriterSettings getZoningSettings()
Collect zoning settings- Returns:
- zoning settings
-
getNetworkSettings
public GeometryNetworkWriterSettings getNetworkSettings()
Collect network settings- Returns:
- network settings
-
getServiceNetworkSettings
public GeometryServiceNetworkWriterSettings getServiceNetworkSettings()
Collect service network settings- Returns:
- service network settings
-
getRoutedServicesSettings
public GeometryRoutedServicesWriterSettings 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
-
-