# Percentage of PointShape Along a Line

**URL:** <https://community.thinkgeo.com/t/percentage-of-pointshape-along-a-line/9590>\
**Category:** WPF\
**Created:** [September 1, 2019, 7:19pm UTC](https://community.thinkgeo.com/t/percentage-of-pointshape-along-a-line/9590 "2019-09-01T19:19:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [September 4, 2019, 7:52am UTC](https://community.thinkgeo.com/t/percentage-of-pointshape-along-a-line/9590/6 "2019-09-04T07:52:06Z")

</div>

Hi Dennis,

The curved line is connected by lost of straight line, so you can find the nearest vertex to get length in the nearest part and then loop other parts of the curved line.

In fact I think the API GetLineOnALine should be helpful.

Regards,

Ethan

---

_[View the full topic](https://community.thinkgeo.com/t/percentage-of-pointshape-along-a-line/9590)._
