Class OsmIntermodalReaderFactory
- java.lang.Object
-
- org.goplanit.osm.converter.intermodal.OsmIntermodalReaderFactory
-
public class OsmIntermodalReaderFactory extends Object
Factory for creating PLANitOsmIntermodalReaders- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description OsmIntermodalReaderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OsmIntermodalReadercreate()Create a PLANitOsmIntermodalReader which will create its own macroscopic network, zoning and non-locale specific defaults for any right hand driving countrystatic OsmIntermodalReadercreate(String countryName)Create a PLANitOsmIntermodalReader which will create its own macroscopic network, zoning.static OsmIntermodalReadercreate(String inputFile, String countryName)Create a PLANitOsmIntermodalReader which will create its own macroscopic network and zoningstatic OsmIntermodalReadercreate(String inputFile, String countryName, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate)Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populatestatic OsmIntermodalReadercreate(URL inputSource, String countryName)Create a PLANitOsmIntermodalReader which will create its own macroscopic network and zoningstatic OsmIntermodalReadercreate(URL inputSource, String countryName, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate)Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populatestatic OsmIntermodalReadercreate(OsmIntermodalReaderSettings settings)Create a PLANitOsmIntermodalReader which requires the user to set the remaining required settings on the provided settings instancesstatic OsmIntermodalReadercreate(OsmIntermodalReaderSettings settings, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate)Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populate
-
-
-
Method Detail
-
create
public static OsmIntermodalReader create()
Create a PLANitOsmIntermodalReader which will create its own macroscopic network, zoning and non-locale specific defaults for any right hand driving country- Returns:
- create OSM intermodal reader
-
create
public static OsmIntermodalReader create(String countryName)
Create a PLANitOsmIntermodalReader which will create its own macroscopic network, zoning. Locale based on country name provided- Parameters:
countryName- to use- Returns:
- create OSM intermodal reader
-
create
public static OsmIntermodalReader create(String inputFile, String countryName) throws PlanItException
Create a PLANitOsmIntermodalReader which will create its own macroscopic network and zoning- Parameters:
inputFile- to usecountryName- country which the input file represents, used to determine defaults in case not specifically specified in OSM data, when left blank global defaults will be used based on a right hand driving approach- Returns:
- create OSM intermodal reader
- Throws:
PlanItException- thrown if error
-
create
public static OsmIntermodalReader create(String inputFile, String countryName, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate) throws PlanItException
Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populate- Parameters:
inputFile- to usecountryName- country which the input file represents, used to determine defaults in case not specifically specified in OSM data, when left blank global defaults will be used based on a right hand driving approachosmNetworkToPopulate- the network to populatezoningToPopulate- the zoning to populate- Returns:
- create OSM intermodal reader
- Throws:
PlanItException- thrown if error
-
create
public static OsmIntermodalReader create(URL inputSource, String countryName)
Create a PLANitOsmIntermodalReader which will create its own macroscopic network and zoning- Parameters:
inputSource- to usecountryName- country which the input file represents, used to determine defaults in case not specifically specified in OSM data, when left blank global defaults will be used based on a right hand driving approach- Returns:
- create OSM intermodal reader
-
create
public static OsmIntermodalReader create(URL inputSource, String countryName, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate)
Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populate- Parameters:
inputSource- to usecountryName- country which the input file represents, used to determine defaults in case not specifically specified in OSM data, when left blank global defaults will be used based on a right hand driving approachosmNetworkToPopulate- the network to populatezoningToPopulate- the zoning to populate- Returns:
- create OSM intermodal reader
-
create
public static OsmIntermodalReader create(OsmIntermodalReaderSettings settings)
Create a PLANitOsmIntermodalReader which requires the user to set the remaining required settings on the provided settings instances- Parameters:
settings- to use- Returns:
- create OSM intermodal reader
-
create
public static OsmIntermodalReader create(OsmIntermodalReaderSettings settings, PlanitOsmNetwork osmNetworkToPopulate, Zoning zoningToPopulate)
Create a PLANitOsmIntermodalReader while providing an OSM network, and zoning to populate- Parameters:
settings- to useosmNetworkToPopulate- the network to populatezoningToPopulate- the zoning to populate- Returns:
- create OSM intermodal reader
-
-