4

I'm trying to measure how far along a river polyline a feature is using the measurement tool in ArcGIS. Is it possible to trace the polyline (in a similar method to the trace tool in an edit session) to get the total actual distance rather than straight line /estimated distance?

(I'm aware that you can have segments with the measurement tool, but over large distances this quickly becomes inaccurate compared to the feature length)

line length

Currently my work around is to create a copy of layer, edit the layer, split the line and re-calculate the length which seems excessive for a quick query for a colleague.

2

Just in case, you can use Snapping for snapping to the vertices/edges when using the Measure tool. This would not be very helpful though if you have long features with high density of vertices. You would still need to click through the feature, but at least your clicks will be snapped to the vertices or edges (which will increase the accuracy of measurements to some extent).

In case you need to perform multiple measurements, consider using Linear Referencing, see a good post here.

There is an idea on ArcGIS Ideas for introducing this functionality.

You could also write a simple Python add-in that would take two input points and perform the process you are doing manually now and open the message box with the calculated length.

1

Not that different from your work-around, but what I do for things like that, is I have actually set up a "TEMP_LINE" FC in my SDE and we use for tasks like that so we don't have to create a copy of anything and such as that. I just add a feature to the TEMP_LINE FC using the trace tool. Because it's in an SDE it auto calculates the feature length. Additionally, if you need to change units, you can always do that in the field properties using the already provided shape_length field. You just open up the layer properties, go to the fields tab, select the field, and click on the number format (on the right side) and edit this using the "Rate" option. Using that method, you can have the FC in a projection that uses, meters let's say, and have it auto display the length in feet for you so you don't even have to manually convert it.

Ok, so, I know that's still more work that it seems like it should be because the measure tool should be able to use trace feature, I completely agree. But, that's the easiest work-around I've found. At the end of the edit session, I can even just open up that table and delete the temp line features, or, I have added a "project" and "label" field to that, and I can also save those measurement lines that way and use them for display in presentations, maps, etc... as needed (I just use a definition query on the project field to get the ones I want).

Hope it helps and makes sense, if not, let me know and I'll try and clarify what I mean.

  • This seems like a better shortcut than my current system, I have set up a geodatabase on my local drive with a line feature in it. Then as you have suggested I can trace the length that I'm interested in and because it's stored in a GDB it auto calculates the length. – MAJ742 Apr 29 '14 at 14:04
1

A quick way to measure would be to use the "Measure A Feature" part of the measure tool. Enable the larger "+" button to the left of the measure area button, then click on the feature. - this is also useful for checking polygon areas.

Remember - This will measure the whole line feature. If what you are trying to measure is longer, or made up of multiple features, it might be more convenient to edit and merge them together, or use the dissolve tool, if the attributes are properly set up for that function.

cheers and hope this helps.

  • I'm aware of this function - but typically I want to measure part of a feature rather than the entire length, which is normally already stored in the attribute table as well. – MAJ742 Apr 29 '14 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.