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 String
DEFAULT_LAYER_PREFIX
static boolean
DEFAULT_PERSIST_SERVICE_LEGS
default persist links flag valuestatic boolean
DEFAULT_PERSIST_SERVICE_LEGSEGMENTS
default persist link segments flag valuestatic boolean
DEFAULT_PERSIST_SERVICE_NODES
default persist nodes flag valuestatic String
DEFAULT_SERVICE_LEGS_FILE_NAME
default links file name to use (without extension)static String
DEFAULT_SERVICE_LEGSEGMENTS_FILE_NAME
default link segments file name to use (without extension)static String
DEFAULT_SERVICE_NODES_FILE_NAME
default 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 String
getLayerPrefix()
String
getServiceLegSegmentsFileName()
String
getServiceLegsFileName()
String
getServiceNodesFileName()
boolean
isPersistServiceLegs()
boolean
isPersistServiceLegSegments()
boolean
isPersistServiceNodes()
void
logSettings()
Convenience method to log all the current settingsvoid
reset()
Reset contentvoid
setLayerPrefix(String layerPrefix)
void
setPersistServiceLegs(boolean persistServiceLegs)
void
setPersistServiceLegSegments(boolean persistServiceLegSegments)
void
setPersistServiceNodes(boolean persistServiceNodes)
void
setServiceLegSegmentsFileName(String serviceLegSegmentsFileName)
void
setServiceLegsFileName(String serviceLegsFileName)
void
setServiceNodesFileName(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:
logSettings
in classGeoIoWriterSettings
-
reset
public void reset()
Reset content- Specified by:
reset
in interfaceConverterWriterSettings
- Overrides:
reset
in classGeoIoWriterSettings
-
getLayerPrefix
public String getLayerPrefix()
-
setLayerPrefix
public void setLayerPrefix(String layerPrefix)
-
-