mirror of
https://github.com/qgis/QGIS.git
synced 2025-07-03 00:03:10 -04:00
Compare commits
3 Commits
3dc54f24c7
...
b002b0c701
Author | SHA1 | Date | |
---|---|---|---|
|
b002b0c701 | ||
|
6249ba4c33 | ||
|
66ce146ba0 |
@ -9,7 +9,7 @@
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "area(@geometry)",
|
||||
"returns": "current geometry area"
|
||||
"returns": "area of the current feature's geometry"
|
||||
},{
|
||||
"expression": "area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))",
|
||||
"returns": "8.0"
|
||||
|
@ -8,6 +8,9 @@
|
||||
"description": "a geometry"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "boundary(@geometry)",
|
||||
"returns": "boundary of the current feature's geometry"
|
||||
},{
|
||||
"expression": "geom_to_wkt(boundary(geom_from_wkt('Polygon((1 1, 0 0, -1 1, 1 1))')))",
|
||||
"returns": "'LineString(1 1,0 0,-1 1,1 1)'"
|
||||
}, {
|
||||
@ -16,3 +19,4 @@
|
||||
}],
|
||||
"tags": ["polygon", "linestrings", "instance", "combinatorial", "topological", "points", "collections", "types", "ring", "boundary", "closure"]
|
||||
}
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
"description": "a geometry"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "convex_hull(@geometry)",
|
||||
"returns": "convex hull of the current feature's geometry"
|
||||
},{
|
||||
"expression": "geom_to_wkt( convex_hull( geom_from_wkt( 'LINESTRING(3 3, 4 4, 4 10)' ) ) )",
|
||||
"returns": "'POLYGON((3 3, 4 10, 4 4, 3 3))'"
|
||||
}],
|
||||
|
@ -8,6 +8,9 @@
|
||||
"description": "geometry object"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "end_point(@geometry)",
|
||||
"returns": "end point of the current feature's geometry"
|
||||
},{
|
||||
"expression": "geom_to_wkt(end_point(geom_from_wkt('LINESTRING(4 0, 4 2, 0 2)')))",
|
||||
"returns": "'Point (0 2)'"
|
||||
}],
|
||||
|
@ -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"]
|
||||
}
|
||||
|
@ -13,6 +13,9 @@
|
||||
"default": "8"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "geom_to_wkt(@geometry)",
|
||||
"returns": "well-known text representation of the current feature's geometry"
|
||||
},{
|
||||
"expression": "geom_to_wkt( make_point(6, 50) )",
|
||||
"returns": "'POINT(6 50)'"
|
||||
}, {
|
||||
|
@ -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"
|
||||
}, {
|
||||
|
@ -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"
|
||||
}, {
|
||||
|
@ -22,6 +22,9 @@
|
||||
"description": "line geometry object"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "length(@geometry)",
|
||||
"returns": "length of the current feature's geometry"
|
||||
},{
|
||||
"expression": "length(geom_from_wkt('LINESTRING(0 0, 4 0)'))",
|
||||
"returns": "4.0"
|
||||
}]
|
||||
|
@ -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"
|
||||
}],
|
||||
|
@ -8,6 +8,9 @@
|
||||
"description": "polygon geometry object"
|
||||
}],
|
||||
"examples": [{
|
||||
"expression": "perimeter(@geometry)",
|
||||
"returns": "perimeter of the current feature's geometry"
|
||||
},{
|
||||
"expression": "perimeter(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))",
|
||||
"returns": "12.0"
|
||||
}],
|
||||
|
@ -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"]
|
||||
}
|
||||
|
@ -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"]
|
||||
}
|
||||
|
@ -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"]
|
||||
}
|
||||
|
@ -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"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user