Skip to content
Advertisement

Tag: multilinestring

Accessing M-values associated to LINESTRING M and MULTILINESTRING M geometries

How can I access a line geometry’s multiple M-values? Consider that the line geometry in question can be either a LINESTRING M or MULTILINESTRING M geometry that was created using osgeo/ogr. Here’s a small reproducible example: In the example above, the line_geom and mline_geom objects are successfully stored with their respective M-values, but I’m having a hard time accessing them.

Advertisement