14

I am trying to wrap my ahead around the meaning of the M-value. I read ESRI's dictionary definition here: https://support.esri.com/en/other-resources/gis-dictionary/term/m-value

and was not able to get a good grasp of the concept.

What does the M-Value in GIS data represent and can you provide an example of using it or how its useful?

1
  • 7
    It's actually an arbitrary value, as is the Z, technically. It can represent whatever you need it to, on a per-vertex basis (provided you can work with a scaled floating-point value)
    – Vince
    Jun 5, 2018 at 23:47

3 Answers 3

10

It is a measured distance along a route. A mile marker along a highway that is nominally 10.1 miles from some start (such as where the route crosses into a county) may not be exactly 10.1 miles. Someone surveys where certain landmarks, mile markers, or buildings are along the route exactly. These route events get an M value representing their measured location. A route feature has both its line and its measured locations, and other events, along it. A measured distance along a line has many uses, such as route planning.

Measured distance points can also be used to improve linear referencing. Some points that have been located exactly can be given higher weight, so that they have more influence on where new geocoded points are placed along a line. This is very important on long lonesome stretches of highway where there is not much to geocode from.

4
  • 1
    This is because shape.length is a 2d measurement, the real world feature that the shape represents is 3d, so as you said a line that is 10.1 miles by geometry would have a real world (survey) distance considerably different to 10.1 miles.. Jun 6, 2018 at 0:37
  • 2
    To add to this you could have a look at linear referencing (also called dynamic segmentation) these concept made full use of M value
    – J.R
    Jun 6, 2018 at 8:46
  • 1
    Agreed, measurements also differ because no one moves mile markers when a road is reoriented; at the DOT where I interned, there were some sections of the highway, usually at interchanges, with 0 measured length to adjust for changes in actual highway miles, i.e., so the mile markers were closer to the real distances from the start of the route..
    – danak
    Jun 6, 2018 at 16:53
  • 3
    Distance along is just one use case for m, there are countless others. Jan 27, 2021 at 16:28
7

For what I have understood, the M-value is made to store a measured (m) value for each vertex of any geometry: line or polygon or point.

This could be used to store a measure that will vary along with the geometry. For example for a line, it could be used to store height or diameter or population density or speed (like in GPS vertices) along the line. This gives the ability to get a measure that varies along with one geometric entity.

0

Other reference that explain the use of Z and M coordinate in GIS is the link below: https://developers.sap.com/tutorials/hana-spatial-intro5-z-m-coordinates.html

Importantly, 3D and 4D geometries can significantly increase the size of geospatial data. See the following pictures: enter image description here enter image description here References:

https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/arcgis-field-data-types.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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