Class GeometryRoutedServicesWriterFactory


  • public class GeometryRoutedServicesWriterFactory
    extends Object
    Factory for creating PLANit Routed Services writers for GIS based output format(s), e.g., shape files
    Author:
    markr
    • Constructor Detail

      • GeometryRoutedServicesWriterFactory

        public GeometryRoutedServicesWriterFactory()
    • Method Detail

      • create

        public static GeometryRoutedServicesWriter create()
        Create a GeometryRoutedServicesWriter which can persist a PLANit RoutedServices in GIS format with all defaults. It is expected the user sets the required minimum configuration afterwards to be able to persist
        Returns:
        created PLANit GeometryRoutedServicesWriter writer
      • create

        public static GeometryRoutedServicesWriter create​(String outputPath)
        Create a GeometryRoutedServicesWriter which can persist a PLANit RoutedServices in GIS format
        Parameters:
        outputPath - the path to use for persisting
        Returns:
        created GeometryRoutedServicesWriter
      • create

        public static GeometryRoutedServicesWriter create​(String outputPath,
                                                          String countryName)
        Create a GeometryRoutedServicesWriter which can persist a PLANit RoutedServices in GIS format
        Parameters:
        outputPath - the path to use for persisting
        countryName - the country to base the projection method on if available
        Returns:
        created GeometryRoutedServicesWriter