Hatching for "only one" of two endpoints?

2812
1
11-17-2014 09:05 PM
Labels (1)
Highlighted
Occasional Contributor

When setting up a hatching class for a linear referenced route layer, is it possible to define a End hatch definition for only "one" of the two endpoints?

We need a way to set up an endpoint hatching that labels the first endpoint as blank and the second endpoint as the lenghth of the route.

Thanks,

-Jim

James Fox

Geodatabase Administrator - BIA Div. of Water and Power

Lakewood, CO

Reply
0 Kudos
1 Reply
Highlighted
Regular Contributor II

A colleague of mine suggested the following for a similar technical support case:

1. Go to the hatch properties > Select one of your hatches > (1KM > Hatch Def(5)) > Label Settings.

2. Select > Build a text expression:

3. Change the parser to python > check the advanced box.

4. Paste in the following:

def FindLabel ( esri__measure 😞

    if esri__measure == 0:

        return ""

    else:

        return esri__measure

this will look for a measure of 0 and return a blank ("") if the measure is 0.

Does this help?

Reply
0 Kudos