Class DefaultLrsAlgorithmsManager

java.lang.Object
org.gvsig.lrs.lib.impl.DefaultLrsAlgorithmsManager
All Implemented Interfaces:
LrsAlgorithmsManager, org.gvsig.tools.service.Manager

public class DefaultLrsAlgorithmsManager extends Object implements LrsAlgorithmsManager
Author:
fdiaz
  • Constructor Details

    • DefaultLrsAlgorithmsManager

      public DefaultLrsAlgorithmsManager()
  • Method Details

    • createServiceParameters

      public org.gvsig.tools.dynobject.DynObject createServiceParameters(String serviceName) throws org.gvsig.tools.service.ServiceException
      Specified by:
      createServiceParameters in interface org.gvsig.tools.service.Manager
      Throws:
      org.gvsig.tools.service.ServiceException
    • getService

      public org.gvsig.tools.service.Service getService(org.gvsig.tools.dynobject.DynObject parameters) throws org.gvsig.tools.service.ServiceException
      Specified by:
      getService in interface org.gvsig.tools.service.Manager
      Throws:
      org.gvsig.tools.service.ServiceException
    • createLrsAlgorithm

      public LrsAlgorithm createLrsAlgorithm(LrsAlgorithmParams params)
      Specified by:
      createLrsAlgorithm in interface LrsAlgorithmsManager
    • createLrsCreateRouteAlgorithmParams

      public LrsCreateRouteAlgorithmParams createLrsCreateRouteAlgorithmParams()
      Specified by:
      createLrsCreateRouteAlgorithmParams in interface LrsAlgorithmsManager
    • createLrsCalibrateRouteAlgorithmParams

      public LrsCalibrateRouteAlgorithmParams createLrsCalibrateRouteAlgorithmParams()
      Specified by:
      createLrsCalibrateRouteAlgorithmParams in interface LrsAlgorithmsManager
    • createLrsEditRouteCalibrationAlgorithmParams

      public LrsEditRouteCalibrationAlgorithmParams createLrsEditRouteCalibrationAlgorithmParams()
      Specified by:
      createLrsEditRouteCalibrationAlgorithmParams in interface LrsAlgorithmsManager
    • createLrsEditRouteCalibrationSelectIdRouteAlgorithmParams

      public LrsEditRouteCalibrationSelectIdRouteAlgorithmParams createLrsEditRouteCalibrationSelectIdRouteAlgorithmParams()
      Specified by:
      createLrsEditRouteCalibrationSelectIdRouteAlgorithmParams in interface LrsAlgorithmsManager
    • createLrsShowMeasuresAlgorithmParams

      public LrsShowMeasuresAlgorithmParams createLrsShowMeasuresAlgorithmParams()
      Specified by:
      createLrsShowMeasuresAlgorithmParams in interface LrsAlgorithmsManager
    • createLrsGenerateDynamicSegmentationAlgorithmParams

      public LrsGenerateDynamicSegmentationAlgorithmParams createLrsGenerateDynamicSegmentationAlgorithmParams()
      Specified by:
      createLrsGenerateDynamicSegmentationAlgorithmParams in interface LrsAlgorithmsManager
    • createNewShape

      public void createNewShape(org.gvsig.fmap.dal.feature.FeatureType sourceFeatureType, int outputLayerType, String outputLayerPath, org.gvsig.crs.projection.lib.Projection projection) throws org.gvsig.fmap.dal.exception.ValidateDataParametersException, org.gvsig.fmap.dal.exception.DataException, org.gvsig.fmap.geom.type.GeometryTypeNotSupportedException, org.gvsig.fmap.geom.type.GeometryTypeNotValidException
      Specified by:
      createNewShape in interface LrsAlgorithmsManager
      Throws:
      org.gvsig.fmap.dal.exception.ValidateDataParametersException
      org.gvsig.fmap.dal.exception.DataException
      org.gvsig.fmap.geom.type.GeometryTypeNotSupportedException
      org.gvsig.fmap.geom.type.GeometryTypeNotValidException
    • getFeatureStore

      public org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore(String outputLayerPath, org.gvsig.crs.projection.lib.Projection projection) throws org.gvsig.fmap.dal.exception.InitializeException, org.gvsig.fmap.dal.exception.ProviderNotRegisteredException, org.gvsig.fmap.dal.exception.ValidateDataParametersException
      Specified by:
      getFeatureStore in interface LrsAlgorithmsManager
      Throws:
      org.gvsig.fmap.dal.exception.InitializeException
      org.gvsig.fmap.dal.exception.ProviderNotRegisteredException
      org.gvsig.fmap.dal.exception.ValidateDataParametersException
    • createMeasuresCalculator

      public MeasuresCalculator createMeasuresCalculator(org.gvsig.fmap.geom.Geometry geometry, boolean ignoreSpatialGaps)
      Specified by:
      createMeasuresCalculator in interface LrsAlgorithmsManager
    • getMPointFromGeometry

      public org.gvsig.fmap.geom.primitive.Point getMPointFromGeometry(org.gvsig.fmap.geom.Geometry geom, double m) throws org.gvsig.fmap.geom.exception.CreateGeometryException, org.gvsig.tools.locator.LocatorException
      Specified by:
      getMPointFromGeometry in interface LrsAlgorithmsManager
      Throws:
      org.gvsig.fmap.geom.exception.CreateGeometryException
      org.gvsig.tools.locator.LocatorException
    • getMPointFromGeometry

      public org.gvsig.fmap.geom.primitive.Point getMPointFromGeometry(org.gvsig.fmap.geom.Geometry geom, org.gvsig.fmap.geom.primitive.Point pointNoM) throws org.gvsig.fmap.geom.exception.CreateGeometryException, org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException
      Given a point without m in a M-Geometry, returns the point with the m-value
      Specified by:
      getMPointFromGeometry in interface LrsAlgorithmsManager
      Parameters:
      geom -
      pointNoM -
      Returns:
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.exception.CreateGeometryException