Select to view content in your preferred language

Draw hatches with Z-values along a line

299
1
Jump to solution
11-17-2023 10:39 AM
1Spencer
New Contributor

Hello! I recently came across this article about drawing measured hatches along lines and wonder if it is possible to perform a similar action using a line's z-values by mapping the text element to the z-values.

What I want is to have each vertex on a line to have a hatch with that vertex's z-value. 

I am on ArcGIS Pro 3.1.2

The closest I've gotten to this goal is using this expression in the attribute mapping. However, all this does it return the z value of the first vertex on every vertex on the line.

var line = Geometry($feature);var path = line.paths[0];var pt = path[0];return pt.z

 

1Spencer_1-1700246264424.png

0 Kudos
1 Solution

Accepted Solutions
MicZatorsky_AEC
Frequent Contributor

Hatches are specific to m-values.   If you want to label vertices with z-values, I'd look at creating a set of points at vertices using Feature Vertices To Points

View solution in original post

1 Reply
MicZatorsky_AEC
Frequent Contributor

Hatches are specific to m-values.   If you want to label vertices with z-values, I'd look at creating a set of points at vertices using Feature Vertices To Points