2022-11-09 17:11:28 +01:00
|
|
|
{
|
|
|
|
"name": "m_at",
|
|
|
|
"type": "function",
|
|
|
|
"groups": ["GeometryGroup"],
|
|
|
|
"description": "Retrieves a m coordinate of the geometry, or NULL if the geometry has no m value.",
|
|
|
|
"arguments": [{
|
|
|
|
"arg": "geometry",
|
|
|
|
"description": "geometry object"
|
|
|
|
}, {
|
2022-11-10 16:39:46 +01:00
|
|
|
"arg": "vertex",
|
2022-11-09 17:11:28 +01:00
|
|
|
"description": "index of the vertex of the geometry (indices start at 0; negative values apply from the last index, starting at -1)"
|
|
|
|
}],
|
|
|
|
"examples": [{
|
|
|
|
"expression": "m_at(geom_from_wkt('LineStringZM(0 0 0 0, 10 10 0 5, 10 10 0 0)'), 1)",
|
|
|
|
"returns": "5"
|
|
|
|
}],
|
|
|
|
"tags": ["retrieves", "coordinate", "measure"]
|
|
|
|
}
|