Compare commits

..

No commits in common. "b002b0c7015651a680231dc542a7ac80f8bcffcf" and "3dc54f24c780c96eabd4688fbb0e47f7e05e1feb" have entirely different histories.

15 changed files with 6 additions and 46 deletions

View File

@ -9,7 +9,7 @@
}], }],
"examples": [{ "examples": [{
"expression": "area(@geometry)", "expression": "area(@geometry)",
"returns": "area of the current feature's geometry" "returns": "current geometry area"
},{ },{
"expression": "area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))", "expression": "area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))",
"returns": "8.0" "returns": "8.0"

View File

@ -8,9 +8,6 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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))')))", "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)'" "returns": "'LineString(1 1,0 0,-1 1,1 1)'"
}, { }, {
@ -19,4 +16,3 @@
}], }],
"tags": ["polygon", "linestrings", "instance", "combinatorial", "topological", "points", "collections", "types", "ring", "boundary", "closure"] "tags": ["polygon", "linestrings", "instance", "combinatorial", "topological", "points", "collections", "types", "ring", "boundary", "closure"]
} }

View File

@ -8,9 +8,6 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)' ) ) )", "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))'" "returns": "'POLYGON((3 3, 4 10, 4 4, 3 3))'"
}], }],

View File

@ -8,9 +8,6 @@
"description": "geometry object" "description": "geometry object"
}], }],
"examples": [{ "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)')))", "expression": "geom_to_wkt(end_point(geom_from_wkt('LINESTRING(4 0, 4 2, 0 2)')))",
"returns": "'Point (0 2)'" "returns": "'Point (0 2)'"
}], }],

View File

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

View File

@ -13,9 +13,6 @@
"default": "8" "default": "8"
}], }],
"examples": [{ "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) )", "expression": "geom_to_wkt( make_point(6, 50) )",
"returns": "'POINT(6 50)'" "returns": "'POINT(6 50)'"
}, { }, {

View File

@ -8,9 +8,6 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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))'))", "expression": "is_multipart(geom_from_wkt('MULTIPOINT ((0 0),(1 1),(2 2))'))",
"returns": "TRUE" "returns": "TRUE"
}, { }, {

View File

@ -8,9 +8,6 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)'))", "expression": "is_valid(geom_from_wkt('LINESTRING(0 0, 1 1, 2 2, 0 0)'))",
"returns": "TRUE" "returns": "TRUE"
}, { }, {

View File

@ -22,9 +22,6 @@
"description": "line geometry object" "description": "line geometry object"
}], }],
"examples": [{ "examples": [{
"expression": "length(@geometry)",
"returns": "length of the current feature's geometry"
},{
"expression": "length(geom_from_wkt('LINESTRING(0 0, 4 0)'))", "expression": "length(geom_from_wkt('LINESTRING(0 0, 4 0)'))",
"returns": "4.0" "returns": "4.0"
}] }]

View File

@ -8,9 +8,6 @@
"description": "line geometry object" "description": "line geometry object"
}], }],
"examples": [{ "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)'))", "expression": "length3D(geom_from_wkt('LINESTRINGZ(0 0 0, 3 0 4)'))",
"returns": "5.0" "returns": "5.0"
}], }],

View File

@ -8,9 +8,6 @@
"description": "polygon geometry object" "description": "polygon geometry object"
}], }],
"examples": [{ "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))'))", "expression": "perimeter(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))",
"returns": "12.0" "returns": "12.0"
}], }],

View File

@ -8,11 +8,8 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)') )", "expression": "x_max( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "4" "returns": "4"
}], }],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum", "east"] "tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
} }

View File

@ -8,11 +8,8 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)') )", "expression": "x_min( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "2" "returns": "2"
}], }],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum", "west"] "tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
} }

View File

@ -8,11 +8,8 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)') )", "expression": "y_max( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "8" "returns": "8"
}], }],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum", "north"] "tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
} }

View File

@ -8,11 +8,8 @@
"description": "a geometry" "description": "a geometry"
}], }],
"examples": [{ "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)') )", "expression": "y_min( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "5" "returns": "5"
}], }],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum", "south"] "tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
} }