Class BasicTopologyValidationError


  • public class BasicTopologyValidationError
    extends ValidationError
    Adapts a JTS TopologyValidationError to ValidationError. JTS TopologyValidationErrors are created during basic JTS validation, performed by Validator.
    See Also:
    Validator
    • Constructor Detail

      • BasicTopologyValidationError

        public BasicTopologyValidationError​(org.locationtech.jts.operation.valid.TopologyValidationError basicTopologyError,
                                            Feature feature)
        Creates a BasicTopologyValidationError that wraps a JTS TopologyValidationError.
        Parameters:
        basicTopologyError - the JTS error to wrap
        feature - the feature with the error
    • Method Detail

      • getLocation

        public org.locationtech.jts.geom.Coordinate getLocation()
        Description copied from class: ValidationError
        Returns a point near the error.
        Overrides:
        getLocation in class ValidationError
        Returns:
        a point near the error