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": [{
"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))'))",
"returns": "8.0"

View File

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

View File

@ -8,9 +8,6 @@
"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))'"
}],

View File

@ -8,9 +8,6 @@
"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)'"
}],

View File

@ -9,7 +9,7 @@
}],
"examples": [{
"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"]
}

View File

@ -13,9 +13,6 @@
"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)'"
}, {

View File

@ -8,9 +8,6 @@
"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,9 +8,6 @@
"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

@ -22,9 +22,6 @@
"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"
}]

View File

@ -8,9 +8,6 @@
"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,9 +8,6 @@
"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"
}],

View File

@ -8,11 +8,8 @@
"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", "east"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
}

View File

@ -8,11 +8,8 @@
"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", "west"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
}

View File

@ -8,11 +8,8 @@
"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", "north"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum"]
}

View File

@ -8,11 +8,8 @@
"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", "south"]
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "minimum"]
}