AnsweredAssumed Answered

Help with hatch text expression for mileage

Question asked by mr.default on Jun 20, 2012
Latest reply on Jun 21, 2012 by mr.default

I´m working with ArcGIS v10. I would like to have a route with hatch text expressions like this: 50+500 km.
Creating a route and displaying the "standard" milage e.g. for a river like "20,5" is done, but I don´t know the right Phyton-code to label the hatches like written above.

I startet trying with this:

Function FindLabel ( esri__measure )
  FindLabel = esri__measure/1000
End Function

The results is a milage in km, but I don´t know to ad a "+" and every half kilometer a "500" or a "0".

Thanks for any help!