Select to view content in your preferred language

Hi Guys, how can I show the length of km of the route at the end

118
2
Monday
Bolortulga
New Contributor

Hi Guys, I have 93.7km length of route file. I'd like to show the markers at the extremities (at the begin and the end), but it doesn't show the end of route. Is it required to make a arcde expression? 

0 Kudos
2 Replies
dmamadou1
New Contributor

Hi, please use "VBScript" by adding &" km" after the selected field under Expression

Ex: [Shape_Length]&" km"

0 Kudos
AndreasHall
Esri Contributor

If you want to label a line differently at the beginning and end I think it is easiest to create points at the end and beginning and label the points instead. Visually, no on will notice any difference. You can use this tool to create points at the end and beginning: Generate Points Along Lines (Data Management)—ArcGIS Pro | Documentation. Toggle "Add accumulated distance and sequence fields" on before you run the tool.

(I do not know if you can use arcade to achieve this.)

0 Kudos