def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustBeDisjointPoint",  #MustBeDisjointPointRuleFactory.NAME,
         "DeletePointAction",
         "Delete Point Action",
         ""  #CAMBIAR
     )
Example #2
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustNotHaveDanglesLine",  #MustNotHaveDanglesLineRuleFactory.NAME,
         "TrimAction",
         "Trim Action",
         "This action will trim dangling line features if a point of intersection is found within a given distance, otherwise the feature will not be trimmed."
     )
    def __init__(self):
        AbstractTopologyRuleAction.__init__(
            self,
	    "mustBeProperlyInsidePolygonsPoint",
            "DeletePointAction",
            "Delete Point Action",
            "Points that are not covered by the polygon must be deleted. The delete action removes point entities that are not properly within polygon entities."
        )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustBeLargerThanClusterTolerance",  #MustBeLargerThanClusterToleranceRuleFactory.NAME,
         "DeleteFeatureAction",
         "Delete Feature Action",
         "This action will remove polygon and line features whose points collapse during the validate process bassed on the topology's tolerance. This action can be applied to one or more Must Be Larger Than Cluster Tolerance errors."
     )
Example #5
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
   "mustBeProperlyInsidePolygonsPoint",
         "DeletePointAction",
         "Delete Point Action",
         "The delete action removes points features for cases when Must be properly inside polygons Topology Rule it is false. This point's rule return True when the points falls within the polygon's area, not on the boundary or out of it."
     )
Example #6
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustNotHaveDanglesLine",  #MustNotHaveDanglesLineRuleFactory.NAME,
         "ExtendAction",
         "Extend Action",
         "This action will extend the dangling end of line features if they fix to ohter line features within a given distance. If the distance value is 0, lines will extend until they fix to a feature. If no feature is found, the feature will not extend and the error of feature remain on the Topology plan error inspector."
     )
Example #7
0
    def __init__(self):
        AbstractTopologyRuleAction.__init__(
            self,
	    "PointsMustBeCoveredByLinePoint",
            "DeletePointAction",
            "Delete Point Action",
            "This action deletes the point errors, these are the points that are not covered by the line."
        )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustNotHaveDanglesLine",  #MustNotHaveDanglesLineRuleFactory.NAME,
         "SnapAction",
         "Snap Action",
         "This action will snap dangling line features to the nearest line feature within a given distance. If no line feature is found, the line will not be snapped. First, they will try to snap endpoints to the vertices, and secondly to the edge of line features."
     )
Example #9
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "mustNotHaveGapsPolygon",
         "MarkPolygonAction",
         "Mark Polygon Action",
         "Polygons that have gaps are marked."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "mustNotIntersectWithLine",
         "MarkPointAction",
         "Mark Point Action",
         "Lines that intersect are marked."
     )
Example #11
0
    def __init__(self):
        AbstractTopologyRuleAction.__init__(
            self, "userDefinedRule", "CorrectiveExpressionAction",
            "Corrective Expression Action",
            "This action uses a user corrective expression for cases when User Defined rule Topology Rule it is false. This action will be different on each work"
        )

        self.correcExpression = None
        self.fst = None
 def __init__(self):
   AbstractTopologyRuleAction.__init__(
     self,
     "MustNotOverlapPolygon", #MustNotOverlapPolygonRuleFactory.NAME,
     "Subtract",
     "Subtract",
     "The Subtract fix removes the overlapping portion of "
     + "geometry from each feature that is causing the "
     + "error and leaves a gap or void in its place. "
     + "This fix can be applied to one or more selected "
     + "Must Not Overlap errors."
   )
Example #13
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustNotOverlapPolygon",  #MustNotOverlapPolygonRuleFactory.NAME,
         "CreateFeature",
         "Create Feature",
         "The Create Feature fix creates a new polygon feature out " +
         "of the error shape and removes the portion of " +
         "overlap from each of the features, causing the " +
         "error to create a planar representation of the " +
         "feature geometry. This fix can be applied to " +
         "one or more selected Must Not Overlap errors.")
Example #14
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self,
         "MustNotOverlapPolygon",  #MustNotOverlapPolygonRuleFactory.NAME,
         "Merge",
         "Merge",
         "The Merge fix adds the portion of overlap from one feature " +
         "and subtracts it from the others that are " +
         "violating the rule. You need to pick the feature " +
         "that receives the portion of overlap using the " +
         "Merge dialog box. This fix can be applied to one " +
         "Must Not Overlap error only.")
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "mustBeCoveredByBoundaryOfPoint", "MarkPointAction",
         "Mark Point Action",
         "Points that are not covered by polygon's boundaries are marked.")
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "MustCoverEachOtherPolygon", "CreatePolygonAction",
         "Create Polygon Action",
         "This action creates a new dataset 1 feature on not overlapping part."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "mustNotOverlapWithLine", "DeleteLineAction",
         "Delete Line Action",
         "Lines that overlaps must be deleted. The delete action removes line entities that overlaps."
     )
Example #18
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "containsOnePointPolygon", "CreatePointAction",
         "Create Point Action",
         " This action creates a new aleatory internal point feature on the wrong polygon feature. The behavior of the create action in multigeometries is simple. If the multipolygon don't have only one point on his geometry, the fixed action create a new aleatory internal point feature on his first geometry."
     )
Example #19
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "MustBeCoveredByEndpointOfPoint", "DeletePointAction",
         "Delete Point Action",
         "This action removes point that are not covered by endpoint of the line, so points errors are created on the points that are not covered by the ends of lines."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "containsOnePointPolygon", "DeletePolygonAction",
         "Delete Polygon Action",
         "The delete action removes polygon features for cases when Contains One Point Topology Rule it is false. The rule evaluates all the polygons. If each polygon have only one point inside, the rule returns True. The points has to fall within the polygon's area, not on the boundary or out of it."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(self, "mustNotOverlapWithLine",
                                         "MarkLineAction",
                                         "Mark Line Action",
                                         "Lines that overlaps are marked.")
Example #22
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "containsPointPolygon", "DeletePolygonAction",
         "Delete Polygon Action",
         " Polygons that not contains at least one point from the points layer must be deleted. The delete action removes polygon entities that not contains points."
     )
Example #23
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "mustBeCoveredByBoundaryOfPoint", "DeletePointAction",
         "Delete Point Action",
         "Points that are not covered by boundaries of polygons must be deleted. The delete action removes point entities that are not properly covered by boundary of polygon entities."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "userDefinedRule", "DeleteFeatureAction",
         "Delete Feature Action",
         "The delete action removes features for cases when User Defined rule Topology Rule it is false."
     )
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "mustCoverEachOtherPolygon", "DeletePolygonAction",
         "Delete Polygon Action",
         "The delete action removes polygon features for cases when Must Cover Each Other Polygon Topology Rule is false. The rule evaluates all the polygons. All dataset 2 polygon areas must cover the dataset 1 polygon area. The rule returns False when a part of the dataset 1 polygon area is not covered or not completely covered."
     )
Example #26
0
 def __init__(self):
     AbstractTopologyRuleAction.__init__(
         self, "mustNotIntersectWithLine", "DeleteLineAction",
         "Delete Line Action",
         "Lines that intersects must be deleted. The delete action removes line entities that intersects."
     )