Jan Caha 3656b101ee
Expressions for geometry Z and M minimum and maximum (#35928)
* add expressions for min and max M and Z - including tests

* add my info to contributors.json

* Apply suggestions from code review

suggestions to help for expressions from Nyall

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>

* Apply suggestions from code review

add suggestions to qgsexpressionfunction.cpp from Nyall

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>

* [feature][expressions] - fix expressions Z/M min and max

* [feature][expressions] - fix styling Z/M min and max expressions

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-04-27 13:28:22 +02:00

10 lines
430 B
Plaintext

{
"name": "m_max",
"type": "function",
"description": "Returns the maximum m (measure) value of a geometry.",
"arguments": [ {"arg":"geometry","description":"a geometry containing m values"}],
"examples": [ { "expression":"m_max( make_point_m( 0,0,1 ) )", "returns":"1"},
{ "expression":"m_max(make_line( make_point_m( 0,0,1 ), make_point_m( -1,-1,2 ), make_point_m( -2,-2,0 ) ) )", "returns":"2"}
]
}