GeoTools->Drawing Cleanup

Prev: Export

Table of Contents

Next: Draw

Toolbar : Drawing Cleanup   
      Menu : GeoTools Drawing Cleanup Analyze and fix Z elevation trends in 3D polylines.
Command line : GT_ZTREND

The GT_ZTREND command is used to analyze and fix (or set) Z elevation trends in 3d polylines.

In many 3d mapping situations, it is often necessary to ensure that digitized 3d polylines have consistently Upwards or Downwards flowing vertex elevations. The GT_ZTREND command helps to check and ensure this. In many instances of surveyed data, the elevation flow may temporarily be reversed within a tolerance. The command can also identify such within-tolerance reversals and fix the data

Elevation flow must be:

Upwards (increasing values): Checks if the polyline vertex is moving downwards consistently.

Downwards (decreasing values): Checks if the polyline vertex is moving downwards consistently.

Elevation reversal tolerance: Enter the tolerance within which the reversal should take place.

Include closed polylines also?: Check this button to include processing of closed polylines also.

Automatically correct elevation if within tolerance: Checking this button causes the program to automatically correct polyline elevations when the variation is within tolerance.

The reporting structure in the GT_ZTREND command has been improved significantly. This command is used to determine the trend of elevation values in polyline vertices. The vertices where the elevation trend is not correct is highlighted by creating point objects at the locations in a temporary layer. The reporting structure has been improved considerably. At the end of the run, it now displays the full statistics of number of vertices with Z trend errors, found, fixed, ignored, as well as creates POINT objects in a temporary layer showing locations where the trend is not as desired. Additionally, an ASCII report file is also generated showing information from the processing.

Toolbar : Drawing Cleanup   
      Menu : GeoTools Drawing Cleanup Remove Overlapping segments from lines selection
Command line : GT_OVERLAP
The GT_OVERLAP command is a very powerful tool to quickly remove completely or partially  overlapping line segments.



Toolbar : Drawing Cleanup   
Menu : GeoTools Drawing Cleanup Delete duplicate entities
Command line : GT_DELDUP

This command deletes duplicate entities from the current drawing. You can apply a linear tolerance value to determine how close the objects must be to be considered a duplicate. It is possible to further check if geometric duplicate entities have the same layer, Xdata, object data or Z value.


Toolbar : Drawing Cleanup   
      Menu : GeoTools Drawing Cleanup Automatic line-work and point-work cleanup
Command line : GT_NODELINESNAP

The GT_NODELINESNAP command is used to perform drawing cleanup of linear features and point features. This command fixes undershoot and overshoot errors in line feature data, by snapping points in linear objects to nearby linear or point features. Point feature data also can be cleaned by snapping them to other points or lines in the vicinity.

The ‘Snap Type’ section specifies which (source) feature type will snap to which other (target) feature type.

Linear features include AutoCAD / BricsCAD lines, polylines, arcs or spline objects.

Point or Node objects include AutoCAD / BricsCAD Point, Insert [Blocks] and Shape objects.

The command works equally well with both 2D and 3D objects. In case of a 3D object like a 3D polyline vertex, the snapping can be performed in either XY directions only retaining the existing elevation (Z) or it can snap in XYZ and inherit the elevation (Z) from the target object.

For snapping to linear objects, two tolerances, ENDpoint and NEArest are applied in that order around the point in question to search for the target point. The priority and values of these tolerances are of significance and must be set carefully after studying the data. First, the ENDpoint snap is applied and it that fails, the NEArest snap is applied next. Internally, the command uses the AutoCAD OSNAP function and these tolerances are based on OSNAP.

The ENDpoint and NEArest tolerances are applicable only when you are snapping to a linear object. The NODe tolerance is applicable when you are snapping to a point object.

The Z snap tolerance ensures that only source and target points whose elevation difference is lesser than this amount will only be snapped. This tolerance is provided to prevent points having a very high elevation difference from being snapped to each other.

Snap criteria for Line2Line / Line2Node: Additional snap criteria for Line2Line and Line2Node snap modes determine whether all vertices or only the end points will be considered for snap.

Snap Mode:  (as explained abov)

Snap to objects within current selection only: Checking this option causes the snap to be applied ONLY if the target point falls on an object which belongs to the initial selection and not to other objects in the drawing.

Snap options: This section provides options to mark and preview the points that would be snapped, or to snap automatically without preview.

Toolbar : Drawing Cleanup   
Menu : GeoTools Drawing Cleanup Identify intersecting segments (Kinks) in polylines.
Command line : GT_KINK
The GT_KINK command detects and highlights kinks in polylines. A kink is a "knot" or a "back twist”. A self intersecting polyline. The GT_KINK command helps identify these intersection points so that remedial action can be taken. The kink can then be removed with the Pedit or GeoTools Express Pedit command XV. The kink intersection is highlighted as point objects in a temporary layer.

Note: Polylines which have kinks will fail when used as selection boundaries in the ESELECT command.

Toolbar : Drawing Cleanup   
      Menu : GeoTools Drawing Cleanup Break crossing objects at ends of polylines
Command line : GT_BREAKX
The GT_BREAKX command breaks polylines and lines located at the ends of selected lines and polylines. This command is often better than the equivalent tools in AutoCAD Map  

Toolbar : Drawing Cleanup    
Menu : GeoTools Drawing Cleanup Lineworks Intersection processor
Command line : GT_INTEX

The GT_INTEX command is useful in processing a network of intersecting polylines. Using this command, polylines can be either broken (split) at their intersections or have a vertex added at the intersecting points. The command requires one or two selection sets of polylines to be defined - a source selection set and an optional target selection set. The source selection can be made to work on the target selection i.e. the source selection set objects look for intersections with the target selection set objects. Or, you can have the source selección set objects look for intersections with objects within itself.

The ‘Object Break’ and ‘Vertex Add’ operations can be applied either on the source, target or both selection sets.

Important note: The GT_INTEX command works only with polyline objects (both 2d as well as 3d). They must contain only linear segments and must not be splined, fitted or contain arc segments. If you have source objects that intersect with target objects that are 3d polylines, make sure that your source objects are defined as 3d polylines. If you have source objects that intersect with target objects that are 3d polylines, make sure that your source objects are defined as 3d polylines. Else, the interpolation will be incorrect.

The following related commands in GeoTools may be useful in preparing correct data for use by the GT_INTEX command.





Toolbar : Drawing cleanup
      Menu : GeoTools Drawing Cleanup Check for free ends (dangles) of lines, polylines and arcs.
Command line : GT_DANGLECHECK

The GT_DANGLECHECK command is useful to detect free standing ends of polylines, lines, arcs and splines, also known as dangling ends. A user-defined search window tolerance is applied around the ends and if there is no other object in the vicinity, the end is treated as a free standing end or a dangle. All such end points are marked with POINT objects in the GeoTools temporary layer "GEOTOOLS_TEMP" so that they can be easily checked.

Search Window Size around endpoints: Enter the value for search window around the objects endpoints.


Toolbar : Drawing cleanup
      Menu : GeoTools Drawing Cleanup Create right angle corners
Command line : GT_HSQUARE
The GT_SQUARE command is a building squaring tool. It adjusts the angles of a polyline such that they form an exact right angle between adjacent segments. You can set an angle tolerance value to determine segments that should be adjusted. This tool is useful for fixing building edges (captured from satellite imagery) which are skewed because of camera or terrain tilt.

Toolbar : Drawing cleanup 
      Menu : GeoTools Drawing Cleanup Weed points based on spacing
Command line : GT_POINTWEED
The GT_POINTWEED command removes points (or blocks) which are closer to each other by a user-specified distance.

Note: The precision value for search distance is set as per the current linear units precision

Toolbar : Drawing cleanup 
      Menu : GeoTools Drawing Cleanup Check for coincident (XY) points with varying Z
Command line : GT_ENDELEVCHECK
The GT_ENDELEVCHECK command is used to check the two end points of linear objects like lines, polylines, splines and arcs to see if there are other linear objects whose either end-point is at the same XY but different Z location. Optionally, a vertical line can be drawn connecting the two coincident points.





Toolbar : Drawing cleanup   
Menu : GeoTools Drawing Cleanup Set all 0 elevation vertices to nearest non-zero elevation.
Command line: GT_SET_Z_PL 

Often, you may have polylines in which some vertices have a zero [0.0] elevation while others have non-zero elevations. This command sets the Z values of those zero elevation vertices to the nearest non-zero vertex elevation value. The command scans through the polyline and seeks a non-zero value nearest to it and assigns it to the vertex. Thus, at the end of the command run, there will not be any polyline vertices, which are of 0.0 elevation. Therefore, this command is best used when you are sure that there should not be any vertex of elevation = 0.0 anywhere along the polyline.

Toolbar : Drawing cleanup
Menu : GeoTools Drawing Cleanup Make polylines/3dfaces planar.
Command line: GT_PLANARPOLY
The GT_PLANARPOLY command is used to make a polyline or 3dface planar. A planar polyline or 3dface is one in which all the vertices can be placed on a single plane. Generally, this is possible only if all the vertices have the same elevation or, in the special case of a 4-vertex polyline, the polyline can be considered planar if two pairs of adjacent vertices have the same elevation. The GT_PLANARPOLY command makes this happen by setting the elevations of adjacent vertices same if they are within a specified tolerance. The need to create perfectly planar polylines or 3dfaces is often required and useful in photogrammetry data capture and rendering applications.




Toolbar : Drawing cleanup
      Menu : GeoTools Drawing Cleanup Remove all unreferenced scales
Command line : GT_SCALECLEAN (AutoCAD only)
The GT_SCALECLEAN command removes all un-referenced scales. There is a bug in AutoCAD which causes the SCALELISTEDIT command to keep displaying all scales from any XREF drawings that are already detached. The GT_SCALECLEAN command helps to get rid of all these un-referenced scales by removing the entries from the AutoCAD dictionary.


Toolbar : Drawing cleanup
      Menu : GeoTools Drawing Cleanup Detaches all unreferenced X-Refs and binds all others into current DWG
Command line : GT_BINDXREF
This is a cleanup tool that performs a most commonly needed requirement of CAD users before packing their drawings off to outside agencies - remove all unresolved external references and bind all valid attached xrefs.




Prev: Export

Table of Contents

Next: Draw