Class GeometryIntermodalWriterFactory
- java.lang.Object
-
- org.goplanit.geoio.converter.intermodal.GeometryIntermodalWriterFactory
-
public class GeometryIntermodalWriterFactory extends Object
Factory for creating Geometry (GIS) intermodal writers persisting both a network and zoning (useful for intermodal networks with pt element where transfer zones are part of the zoning), or also include services (service network and routed services)- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description GeometryIntermodalWriterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryIntermodalWriter
create()
Default factory method.static GeometryIntermodalWriter
create(String outputDirectory)
Create a GeometryIntermodalWriter which can persist a Geometry (GIS) network and zoning in GIS format.static GeometryIntermodalWriter
create(String outputDirectory, String countryName)
Create a GeometryIntermodalWriter which can persist a PLANit network and zoning in GIS formatstatic GeometryIntermodalWriter
create(GeometryIntermodalWriterSettings settings)
Create a GeometryIntermodalWriter which can persist a PLANit network and zoning in GIS format.
-
-
-
Method Detail
-
create
public static GeometryIntermodalWriter create()
Default factory method. Create a GeometryIntermodalWriter which can persist a PLANit network and zoning in a GIS format. We assume the user sets the output directory (default now current working dir) and destination country afterwards- Returns:
- created writer
-
create
public static GeometryIntermodalWriter create(String outputDirectory)
Create a GeometryIntermodalWriter which can persist a Geometry (GIS) network and zoning in GIS format. No destination country is provided, so we assume the current Crs for persisting- Parameters:
outputDirectory
- the path to use for persisting- Returns:
- created writer
-
create
public static GeometryIntermodalWriter create(String outputDirectory, String countryName)
Create a GeometryIntermodalWriter which can persist a PLANit network and zoning in GIS format- Parameters:
outputDirectory
- the path to use for persistingcountryName
- the country to base the projection method on if available- Returns:
- created writer
-
create
public static GeometryIntermodalWriter create(GeometryIntermodalWriterSettings settings)
Create a GeometryIntermodalWriter which can persist a PLANit network and zoning in GIS format. It is assumed all mandatory settings will be provided (or are provided already) via the settings- Parameters:
settings
- to inject- Returns:
- created writer
-
-