- Use the Selection Tool to select one or more contour lines with the same elevation.
- From the GeoMedia's pulldown menus, select Edit > Attribute > Update Attributes.
The Update Attributes dialog appears. - In the Update Attributes dialog, expand the Select Set nodes and select the feature name.
- On the right side of the Update Attributes dialog, click in the Value field of the feature's geometry field, e.g. LinearGeometry.
- Click Expression.
The Expression dialog box appears. - In the Categories list box, click Geometry.
- In the Functions list box, double click the function SETZ.
- In the Attributes list box, double click the attribute Input.
{GeometryFieldName} e.g. Input.LinearGeometry.
The Expression field should read like this:
SETZ(Input.LinearGeometry) - Type in a comma before the closing parentheses.
- Type in the elevation to set in the Expression field, e.g. 1000. The elevation should be in the units of the GeoWorkspace Coordinate System's Vertical Storage Unit.
The Expression field should now read something like this:
SETZ(Input.LinearGeometry,1000)
Note: If the elevation you want to type in is not in the Coordinate System's Vertical Storage units, then you will have to do a conversion yourself. - Click OK.
The selected contour line's elevation is adjusted to the new elevation.
Wednesday, May 14, 2008
Using Update Attributes to Set Contour Elevation
An alternative method to set the elevation value of a contour line is to use GeoMedia's Update Attributes.
No comments:
Post a Comment