2

I have a shapefile with some polylines. For each one of these polylines I'd like to calculate the median of the polyline (i.e. the point that's equidistant from each end) and then, calculate its coordinates.

I don't know if this is feasible.
The only tools I've found regarding this matter are Mean Center and Median Center, however this is not what I'm looking for.

Any help would be much appreciated.

  • What you are looking for is the mediod of your node points (en.wikipedia.org/wiki/Medoid). – user21951 Sep 19 '13 at 13:12
  • Based on my reading of the 'Median Center' tool in Arc*, you may not find it to be satisfactory, since it won't necessarily locate a point that is one of the nodes in your feature. I've just released Whitebox GAT version 3.0.5 today and it contains a tool called Medoid, which will take a shapefile containing polylines (or points or polygons) and will return the medoid. – user21951 Sep 20 '13 at 17:46
2

In arcgis you can use the tool:

Toolboxes \ Data Management Tools \ Features \ Feature To Point

With the option inside checked.

  • Thanks. I already spotted my mistake. Although the way you mention is easier! – hnl Sep 19 '13 at 13: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.