more help improvements

This commit is contained in:
Tudor Bărăscu 2025-07-01 21:31:10 +03:00 committed by Andrea Giudiceandrea
parent d9a2a54351
commit 0b2161cf3b
8 changed files with 26 additions and 5 deletions

View File

@ -9,7 +9,7 @@
}],
"examples": [{
"expression": "geom_to_wkb( @geometry )",
"returns": "binary blob containing a geometry object"
"returns": "binary blob of the current feature's geometry"
}],
"tags": ["wkb", "binary", "representation", "known", "conversion"]
}

View File

@ -8,6 +8,9 @@
"description": "a geometry"
}],
"examples": [{
"expression": "is_multipart(@geometry)",
"returns": "checks if the current feature's geometry is multipart"
},{
"expression": "is_multipart(geom_from_wkt('MULTIPOINT ((0 0),(1 1),(2 2))'))",
"returns": "TRUE"
}, {

View File

@ -8,6 +8,9 @@
"description": "a geometry"
}],
"examples": [{
"expression": "is_valid(@geometry)",
"returns": "checks if the current feature's geometry is valid"
},{
"expression": "is_valid(geom_from_wkt('LINESTRING(0 0, 1 1, 2 2, 0 0)'))",
"returns": "TRUE"
}, {

View File

@ -8,6 +8,9 @@
"description": "line geometry object"
}],
"examples": [{
"expression": "length3D(@geometry)",
"returns": "3D length of the current feature's geometry"
},{
"expression": "length3D(geom_from_wkt('LINESTRINGZ(0 0 0, 3 0 4)'))",
"returns": "5.0"
}],

View File

@ -8,8 +8,11 @@
"description": "a geometry"
}],
"examples": [{
"expression": "x_max(@geometry)",
"returns": "the maximum x coordinate of the current feature's geometry"
},{
"expression": "x_max( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "4"
}],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum", "east"]
}

View File

@ -8,8 +8,11 @@
"description": "a geometry"
}],
"examples": [{
"expression": "x_min(@geometry)",
"returns": "the minimum x coordinate of the current feature's geometry"
},{
"expression": "x_min( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "2"
}],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum", "west"]
}

View File

@ -8,8 +8,11 @@
"description": "a geometry"
}],
"examples": [{
"expression": "y_max(@geometry)",
"returns": "the maximum y coordinate of the current feature's geometry"
},{
"expression": "y_max( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "8"
}],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum", "north"]
}

View File

@ -8,8 +8,11 @@
"description": "a geometry"
}],
"examples": [{
"expression": "y_min(@geometry)",
"returns": "the minimum y coordinate of the current feature's geometry"
},{
"expression": "y_min( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "5"
}],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum", "south"]
}