Class GeometryServiceNetworkWriterSettings
- java.lang.Object
-
- org.goplanit.converter.FileBasedConverterWriterSettings
-
- org.goplanit.geoio.util.GeoIoWriterSettings
-
- org.goplanit.geoio.converter.service.GeometryServiceNetworkWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
public class GeometryServiceNetworkWriterSettings extends GeoIoWriterSettings implements ConverterWriterSettings
Settings relevant for persisting the PLANit network in any Geo IO output format- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_LAYER_PREFIXstatic booleanDEFAULT_PERSIST_SERVICE_LEGSdefault persist links flag valuestatic booleanDEFAULT_PERSIST_SERVICE_LEGSEGMENTSdefault persist link segments flag valuestatic booleanDEFAULT_PERSIST_SERVICE_NODESdefault persist nodes flag valuestatic StringDEFAULT_SERVICE_LEGS_FILE_NAMEdefault links file name to use (without extension)static StringDEFAULT_SERVICE_LEGSEGMENTS_FILE_NAMEdefault link segments file name to use (without extension)static StringDEFAULT_SERVICE_NODES_FILE_NAMEdefault nodes file name to use (without extension)-
Fields inherited from class org.goplanit.geoio.util.GeoIoWriterSettings
DEFAULT_EXTENSION
-
Fields inherited from class org.goplanit.converter.FileBasedConverterWriterSettings
DEFAULT_COUNTRY, destinationCoordinateReferenceSystem
-
-
Constructor Summary
Constructors Constructor Description GeometryServiceNetworkWriterSettings()Default constructorGeometryServiceNetworkWriterSettings(String outputPathDirectory)ConstructorGeometryServiceNetworkWriterSettings(String outputPathDirectory, String countryName)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLayerPrefix()StringgetServiceLegSegmentsFileName()StringgetServiceLegsFileName()StringgetServiceNodesFileName()booleanisPersistServiceLegs()booleanisPersistServiceLegSegments()booleanisPersistServiceNodes()voidlogSettings()Convenience method to log all the current settingsvoidreset()Reset contentvoidsetLayerPrefix(String layerPrefix)voidsetPersistServiceLegs(boolean persistServiceLegs)voidsetPersistServiceLegSegments(boolean persistServiceLegSegments)voidsetPersistServiceNodes(boolean persistServiceNodes)voidsetServiceLegSegmentsFileName(String serviceLegSegmentsFileName)voidsetServiceLegsFileName(String serviceLegsFileName)voidsetServiceNodesFileName(String serviceNodesFileName)-
Methods inherited from class org.goplanit.geoio.util.GeoIoWriterSettings
getFileExtension
-
Methods inherited from class org.goplanit.converter.FileBasedConverterWriterSettings
getCountry, getDestinationCoordinateReferenceSystem, getOutputDirectory, setCountry, setDestinationCoordinateReferenceSystem, setOutputDirectory, validate
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_LEGS_FILE_NAME
public static final String DEFAULT_SERVICE_LEGS_FILE_NAME
default links file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_LEGSEGMENTS_FILE_NAME
public static final String DEFAULT_SERVICE_LEGSEGMENTS_FILE_NAME
default link segments file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_NODES_FILE_NAME
public static final String DEFAULT_SERVICE_NODES_FILE_NAME
default nodes file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_LAYER_PREFIX
public static final String DEFAULT_LAYER_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_PERSIST_SERVICE_LEGS
public static boolean DEFAULT_PERSIST_SERVICE_LEGS
default persist links flag value
-
DEFAULT_PERSIST_SERVICE_LEGSEGMENTS
public static boolean DEFAULT_PERSIST_SERVICE_LEGSEGMENTS
default persist link segments flag value
-
DEFAULT_PERSIST_SERVICE_NODES
public static boolean DEFAULT_PERSIST_SERVICE_NODES
default persist nodes flag value
-
-
Constructor Detail
-
GeometryServiceNetworkWriterSettings
public GeometryServiceNetworkWriterSettings()
Default constructor
-
GeometryServiceNetworkWriterSettings
public GeometryServiceNetworkWriterSettings(String outputPathDirectory)
Constructor- Parameters:
outputPathDirectory- to use
-
-
Method Detail
-
getServiceLegsFileName
public String getServiceLegsFileName()
-
setServiceLegsFileName
public void setServiceLegsFileName(String serviceLegsFileName)
-
getServiceLegSegmentsFileName
public String getServiceLegSegmentsFileName()
-
setServiceLegSegmentsFileName
public void setServiceLegSegmentsFileName(String serviceLegSegmentsFileName)
-
getServiceNodesFileName
public String getServiceNodesFileName()
-
setServiceNodesFileName
public void setServiceNodesFileName(String serviceNodesFileName)
-
setPersistServiceLegs
public void setPersistServiceLegs(boolean persistServiceLegs)
-
isPersistServiceLegs
public boolean isPersistServiceLegs()
-
setPersistServiceLegSegments
public void setPersistServiceLegSegments(boolean persistServiceLegSegments)
-
isPersistServiceLegSegments
public boolean isPersistServiceLegSegments()
-
isPersistServiceNodes
public boolean isPersistServiceNodes()
-
setPersistServiceNodes
public void setPersistServiceNodes(boolean persistServiceNodes)
-
logSettings
public void logSettings()
Convenience method to log all the current settings- Overrides:
logSettingsin classGeoIoWriterSettings
-
reset
public void reset()
Reset content- Specified by:
resetin interfaceConverterWriterSettings- Overrides:
resetin classGeoIoWriterSettings
-
getLayerPrefix
public String getLayerPrefix()
-
setLayerPrefix
public void setLayerPrefix(String layerPrefix)
-
-