I've got a ".shp" file (plus the additional .dbf, .fix, .prj, .shx files) that was created using the geotools library and want to view its data using QGIS 3.8.2.

QGIS properly displays all of the points in the .shp file and clicking on the "i" button and then on one of the points displays its information at the right-hand side:

  • Name
  • ID
  • X
  • Y
  • Z

The only thing missing is the "M" value. I know this is probably a very basic question but I can't find any information about it anywhere: How do I get access to the M value?

I don't want to edit it or create new ones, I just want to see the existing one. Is there maybe any type of table that has a list of every point in the .shp file and all of its values (XYZ, M, name,...)?

  • 2
    You could try running the Extract M values from the Processing Toolbox. – Joseph Sep 3 '19 at 11:29
  • 1
    Are you sure there is a M value attached to your data? – Erik Sep 3 '19 at 11:37
  • @Joseph Found it: I selected the point - "Extract M values" - selected the "Input Layer" in the new window, added all 16 "Summaries to calculate" and clicked on "run". This added an "m_first" entry on the right but the value is "NULL". Am I missing anything? – Neph Sep 3 '19 at 11:48
  • 1
    I suspect the shapefile itself isn't a pointzm type. Try doubling clicking the layer in the layer tree and double checking the actual layer geometry type. – ndawson Sep 3 '19 at 20:37
  • 1
    @nagib First google result. – Neph Sep 13 '19 at 8:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.