Select to view content in your preferred language

Stationing lines in ArcGIS Pro

10604
15
Jump to solution
01-28-2021 12:00 PM
JustinJohnston
Frequent Contributor

In ArcMap there are apparently tools for stationing lines.  See here: Adding linear events by station measures—Help | ArcGIS Desktop

Is there a similar process for ArcGIS Pro?  I have figured out a bit of a workaround that gets me close by using $measure with the symbol property connection enabled for the route.  But it doesn't give true "stationing" in the format of 4+03.12 for instance. It displays 403.12 instead.  Is there a way to get true stationing in ArcGIS Pro?

Cheers,

Justin

15 Replies
ICONEngineering
Emerging Contributor

AMAZING!!! Thank you so much for posting this! I cant just quickly upgrade my license with my company to get special tools, so having this script was so incredibly helpful, thank you so much! 

JustinJohnston
Frequent Contributor

You're welcome.  I posted a video of my process on youtube if you need it.  https://youtu.be/sDx7J_wNw0Y

I posted a script a while back on the ESRI Community website that would provide stationing for a route in ArcGIS Pro. Feedback was positive, but some users were not sure where to put the script, so figured I would make this video and include the script here on YouTube for all to see how I do it ...
JosephChampagne
Occasional Contributor

Hi Justin, I landed here looking for a similar solution but I think the expression doesn't even need to be this complicated. I believe the following will produce the same results:

Floor($measure/100) + '+' + Text($measure%100, '00.00')

 
Obviously if you're using a stationing interval other than 100 units (I modified this from the expression I came up with for 1000 units), and/or require a different decimal precision, the interval and Text formatting string can be modified to suit.

0 Kudos
Bud
by
Esteemed Contributor

Linear referencing geoprocessing tools:

Create Route Events and Make Route Event Layer

0 Kudos
PaulLohr
Frequent Contributor

If you noticed that the starting and ending station labels are missing, the starting station label can be added by checking the "place at extremeties" option. For whatever reason, that option does not add a station label at the end. I haven't found a way to add the ending station label.

 

Has anyone figured out how to add the ending station label?

0 Kudos
JustinJohnston
Frequent Contributor

I am not sure about being able to add ending or start stations to the marker symbology.  You could add another marker layer that you place at extremities to get both I suspect.  Another method would be to create points along a line, much like I recommend for getting stationing that you can export to KML / KMZ.  Check out this video and just stop short of exporting to KML.  

https://youtu.be/Vw0ONiJy5HM?si=SPhpmY271dJtdfKN

Cheers,

Justin

In one of my last videos (https://youtu.be/sDx7J_wNw0Y?si=RiL-0pslaHwNSgC6), I showed you how to symbolize a line to provide stationing, a common way of displaying measurements for infrastructure projects like roads, pipelines, electric lines, water lines, sewers and telecom. I was asked if there