Access measure value of point on feature in featureLayer?

4064
10
04-13-2012 11:11 AM
ChrisChalstrom
New Contributor
Hi,

I have a feature layer set up in ArcMap 10.  This feature layer is composed of a set of polylines. 
I followed the steps at this URL:
http://eaglemap.com/blog/bid/46805/How-to-Add-Measure-Station-Values-to-Pipelines-in-ArcMap
to set up a route that has M values for each vertex in the polyline.  When I start editing -> double click a line -> click sketch properties, I can see that the M value has been correctly set for each vertex.

How can I access this information via the javascript API?  I have a feature layer set up with this feature layer added to it.  But when I click the feature layer, I can't get the measure information.  I can get the e.graphic.geometry and so on, but there isn't measure info associated with any of the points.

What would be even better is if I could get the exact measure value for a specific point on the line (a point that is not necessarily the same as any vertex which composes the line).  Is it possible to do this with the javascript API?  If so, how?

Thanks
0 Kudos
10 Replies
JeffPace
MVP Alum
you could create a spatial view of the data showing the m value using st_m(shape) and then include that view in the query
0 Kudos