So I am trying to use the ArcGIS API and asked it to profile a route between two lat/longs:
(52.106505, 1.186008)
(52.113621, 1.246862)
My results are a series of points between the two and they should include an m-value and a z-value like this:
[52.106504999653112,1.1860080002471705,-5123,0],[52.10665022396023,1.1872499188943948,-5123,138.2728000000061]
Z-value for both is -5123 and the m 0 for the first point (as expected) but then 138.27. Now these two results are around 84 meters apart and my results tell me that distance is 84. So what is M? it seems to go up by about 138 each time so what is this a measure of?
Likewise and the real question I have is what on earth is Z? Because these points are not 5km below sea level? What is the Z values units and what is 0 relative to elevation? The documentation for this function doesn't seem to give any indication?