mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
make_point_m for creation of PointM geometries. Also add m(point) and z(point) functions for retrieving z/m value of a point or node.
15 lines
650 B
Plaintext
15 lines
650 B
Plaintext
{
|
|
"name": "make_point",
|
|
"type": "function",
|
|
"description": "Creates a point geometry from an x and y (and optional z and m) value.",
|
|
"arguments": [
|
|
{"arg":"x","description":"x coordinate of point"},
|
|
{"arg":"y","description":"y coordinate of point"},
|
|
{"arg":"z","description":"optional z coordinate of point"},
|
|
{"arg":"m","description":"optional m value of point"} ],
|
|
"examples": [ { "expression":"geom_to_wkt(make_point(2,4))", "returns":"'Point (2 4)'"},
|
|
{ "expression":"geom_to_wkt(make_point(2,4,6))", "returns":"'PointZ (2 4 6)'"},
|
|
{ "expression":"geom_to_wkt(make_point(2,4,6,8))", "returns":"'PointZM (2 4 6 8)'"}
|
|
]
|
|
}
|