Skip to content

Commit

Permalink
DelazJ bonification
Browse files Browse the repository at this point in the history
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
  • Loading branch information
roya0045 and DelazJ committed Jan 11, 2022
1 parent 57e25ca commit d7ffe0b
Show file tree
Hide file tree
Showing 76 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/$area
Expand Up @@ -7,5 +7,5 @@
"expression": "$area",
"returns": "42"
}],
"tags": ["planimetric", "current", "area", "respects", "project", "settings", "ellipsoid", "setting", "calculated", "set"]
"tags": ["planimetric", "current", "area", "surface", "project", "settings", "ellipsoid", "setting", "calculated"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$face_area
Expand Up @@ -7,5 +7,5 @@
"expression": "$face_area",
"returns": "42"
}],
"tags": ["planimetric", "mesh", "current", "area", "respects", "project", "settings", "face", "ellipsoid", "setting", "calculated", "set"]
"tags": ["planimetric", "mesh", "current", "area", "surface", "project", "settings", "face", "ellipsoid", "setting", "calculated", "set"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$geometry
Expand Up @@ -7,5 +7,5 @@
"expression": "geom_to_wkt( $geometry )",
"returns": "'POINT(6 50)'"
}],
"tags": ["other", "current", "processing", "functions"]
"tags": ["current", "processing", "functions"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$length
Expand Up @@ -7,5 +7,5 @@
"expression": "$length",
"returns": "42.4711"
}],
"tags": ["distance", "planimetric", "need", "polygon", "length", "perimeter", "current", "linestring", "respects", "project", "use", "settings", "ellipsoid", "border", "setting", "calculated", "set"]
"tags": ["distance", "planimetric", "length", "perimeter", "current", "linestring", "project", "settings", "ellipsoid", "border", "setting", "calculated"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$map
Expand Up @@ -11,5 +11,5 @@
"returns": "\"canvas\"",
"description": "within the main QGIS main canvas"
}],
"tags": ["layout", "item", "drawn", "current", "main", "print", "map", "window"]
"tags": ["layout", "item", "drawn", "current", "main", "print", "map", "window", "overview", "canvas"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$perimeter
Expand Up @@ -7,5 +7,5 @@
"expression": "$perimeter",
"returns": "42"
}],
"tags": ["distance", "planimetric", "length", "perimeter", "current", "respects", "project", "settings", "ellipsoid", "setting", "calculated", "set"]
"tags": ["distance", "planimetric", "length", "perimeter", "current", "polygon", "project", "settings", "ellipsoid", "setting", "calculated"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$rownum
Expand Up @@ -6,5 +6,5 @@
"expression": "$rownum",
"returns": "4711"
}],
"tags": ["row", "current"]
"tags": ["row", "number", "current"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$scale
Expand Up @@ -7,5 +7,5 @@
"expression": "$scale",
"returns": "10000"
}],
"tags": ["denominator", "contexts", "current", "scale", "canvas", "available", "map"]
"tags": ["denominator", "contexts", "current", "scale", "canvas", "map"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$vertex_as_point
Expand Up @@ -7,5 +7,5 @@
"expression": "geom_to_wkt( $vertex_as_point )",
"returns": "'POINT(800 1500 41)'"
}],
"tags": ["point", "vertex", "current"]
"tags": ["point", "mesh", "vertex", "current"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$z
Expand Up @@ -7,5 +7,5 @@
"expression": "$z",
"returns": "123"
}],
"tags": ["first", "point", "current", "multipoint"]
"tags": ["first", "point", "current", "multipoint", "altitude", "3D"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/ILIKE
Expand Up @@ -56,5 +56,5 @@
"expression": "'ABCD' ILIKE '%B\\\\\\\\%'",
"returns": "0"
}],
"tags": ["numbers", "insensitive", "first", "match", "sensitive", "supplied", "parameter", "make", "works", "case", "matches", "pattern"]
"tags": ["compare", "numbers", "insensitive", "first", "match", "sensitive", "supplied", "parameter", "case", "matches", "pattern"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/IN
Expand Up @@ -17,5 +17,5 @@
"expression": "'A' IN ('C','B')",
"returns": "0"
}],
"tags": ["list", "found"]
"tags": ["list", "contained", "found"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/IS
Expand Up @@ -29,5 +29,5 @@
"expression": "$geometry IS NULL",
"returns": "0, if your geometry is not NULL"
}],
"tags": ["same"]
"tags": ["compare", "same", "equal", "identical"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/IS NOT
Expand Up @@ -20,5 +20,5 @@
"expression": "4 IS NOT 2+2",
"returns": "0"
}],
"tags": ["same"]
"tags": ["compare", "same", "different"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/LIKE
Expand Up @@ -41,5 +41,5 @@
"expression": "'1_' LIKE '1\\\\\\\\%'",
"returns": "0"
}],
"tags": ["numbers", "first", "works", "supplied", "parameter", "matches", "pattern"]
"tags": ["compare", "sensitive", "numbers", "first", "works", "supplied", "parameter", "matches", "pattern"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/acos
Expand Up @@ -11,5 +11,5 @@
"expression": "acos(0.5)",
"returns": "1.0471975511966"
}],
"tags": ["cosine", "inverse", "radians"]
"tags": ["angle", "cosine", "inverse", "radians"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/aggregate
Expand Up @@ -48,5 +48,5 @@
"expression": "aggregate(layer:='rail_stations', aggregate:='collect', expression:=centroid($geometry), filter:=\"region_name\" = attribute(@parent,'name') )",
"returns": "aggregates centroid geometries of the rail_stations of the same region as current feature"
}],
"tags": ["aggregate", "combine", "features", "calculated", "merge"]
"tags": ["aggregate", "combine", "features", "calculated", "merge", "concatenate", "sum", "mean", "median", "count", "quartile", "minimum", "maximum", "minority", "majority", "standard", "deviation", "length", "unique"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/area
Expand Up @@ -11,5 +11,5 @@
"expression": "area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))",
"returns": "8.0"
}],
"tags": ["planimetric", "polygon", "spatial", "reference", "system", "calculations", "area", "project", "differs", "object", "match", "settings", "surface", "ellipsoid", "units"]
"tags": ["planimetric", "polygon", "spatial", "reference", "system", "calculations", "area", "project", "settings", "surface", "ellipsoid", "units"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array
Expand Up @@ -22,5 +22,5 @@
"expression": "array(2,10)[0]",
"returns": "2"
}],
"tags": ["passed", "array", "parameter", "containing"]
"tags": ["list", "array", "parameter", "containing"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_all
Expand Up @@ -17,5 +17,5 @@
"expression": "array_all(array(1,2,3),array(1,2,4))",
"returns": "false"
}],
"tags": ["array", "contains"]
"tags": ["array", "contains", "compare", "search"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_contains
Expand Up @@ -14,5 +14,5 @@
"expression": "array_contains(array(1,2,3),2)",
"returns": "true"
}],
"tags": ["array", "contains"]
"tags": ["array", "search", "contains"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_filter
Expand Up @@ -22,5 +22,5 @@
"expression": "array_filter(array(1,2,3),@element &lt; 3, 1)",
"returns": "[ 1 ]"
}],
"tags": ["array", "items", "evaluates"]
"tags": ["array", "items", "limit", "evaluates"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_foreach
Expand Up @@ -17,5 +17,5 @@
"expression": "array_foreach(array(1,2,3),@element + 10)",
"returns": "[ 11, 12, 13 ]"
}],
"tags": ["evaluated", "array", "item"]
"tags": ["evaluated", "array", "iterate", "item"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_get
Expand Up @@ -17,5 +17,5 @@
"expression": "array_get(array('a','b','c'),-1)",
"returns": "'c'"
}],
"tags": ["array", "last", "nth", "one", "first"]
"tags": ["array", "position", "index", "last", "nth", "one", "first"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_intersect
Expand Up @@ -14,5 +14,5 @@
"expression": "array_intersect(array(1,2,3,4),array(4,0,2,5))",
"returns": "true"
}],
"tags": ["array", "element", "exists"]
"tags": ["array", "element", "exists", "intersection", "overlap"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_length
Expand Up @@ -11,5 +11,5 @@
"expression": "array_length(array(1,2,3))",
"returns": "3"
}],
"tags": ["elements", "array"]
"tags": ["elements", "array", "count"]
}
4 changes: 2 additions & 2 deletions resources/function_help/json/array_majority
Expand Up @@ -9,7 +9,7 @@
}, {
"arg": "option='all'",
"optional": true,
"description": "a string specifying the return values handling. Valid options are:<br /><ul><li>all: Default, all most common values are returned in an array.</li><li>any: Returns one of the most common values.</li><li>median: Returns the median of the most common values. Non arithmetic values are ignored.</li><li>real_majority: Returns the value which occurs more than half the size of the array.</li></ul>"
"description": "a string specifying the return values handling. Valid options are:<br><ul><li>all: Default, all most common values are returned in an array.</li><li>any: Returns one of the most common values.</li><li>median: Returns the median of the most common values. Non arithmetic values are ignored.</li><li>real_majority: Returns the value which occurs more than half the size of the array.</li></ul>"
}],
"examples": [{
"expression": "array_majority(array(0,1,42,42,43), 'all')",
Expand All @@ -33,5 +33,5 @@
"expression": "array_majority(array(0,1,42,42,43,42,42), 'real_majority')",
"returns": "42"
}],
"tags": ["common", "array"]
"tags": ["common", "array", "median"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_minority
Expand Up @@ -33,5 +33,5 @@
"expression": "array_minority(array(0,1,42,42,43,42,42), 'real_minority')",
"returns": "[ 43, 0, 1 ]"
}],
"tags": ["common", "array"]
"tags": ["common", "array", "median"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/array_slice
Expand Up @@ -38,5 +38,5 @@
"expression": "array_slice(array('Dufour','Valmiera','Chugiak','Brighton'),-2,-1)",
"returns": "[ 'Chugiak', 'Brighton' ]"
}],
"tags": ["array", "defined", "arguments", "start_pos", "slice", "portion"]
"tags": ["array", "defined", "arguments", "start", "position", "slice", "portion", "end", "index"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/asin
Expand Up @@ -11,5 +11,5 @@
"expression": "asin(1.0)",
"returns": "1.5707963267949"
}],
"tags": ["sine", "inverse", "radians"]
"tags": ["sine", "inverse", "angle", "radians"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/atan
Expand Up @@ -11,5 +11,5 @@
"expression": "atan(0.5)",
"returns": "0.463647609000806"
}],
"tags": ["tangent", "inverse", "radians"]
"tags": ["tangent", "inverse", "angle", "radians"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/atan2
Expand Up @@ -14,5 +14,5 @@
"expression": "atan2(1.0, 1.732)",
"returns": "0.523611477769969"
}],
"tags": ["tangent", "arguments", "signs", "result", "inverse", "determine", "quadrant"]
"tags": ["tangent", "arguments", "signs", "angle", "inverse", "quadrant"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/azimuth
Expand Up @@ -17,5 +17,5 @@
"expression": "degrees( azimuth( make_point(75, 100), make_point(25,45) ) )",
"returns": "222.273689"
}],
"tags": ["measured", "clockwise", "point_a", "angle", "vertical", "north", "azimuth", "radians", "point_b"]
"tags": ["measured", "clockwise", "points", "angle", "vertical", "north", "azimuth", "radians"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/base_file_name
Expand Up @@ -11,5 +11,5 @@
"expression": "base_file_name('/home/qgis/data/country_boundaries.shp')",
"returns": "'country_boundaries'"
}],
"tags": ["suffix", "base", "directory", "name", "file"]
"tags": ["suffix", "base", "directory", "name", "file", "folder", "path"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/boundary
Expand Up @@ -14,5 +14,5 @@
"expression": "geom_to_wkt(boundary(geom_from_wkt('LineString(1 1,0 0,-1 1)')))",
"returns": "'MultiPoint ((1 1),(-1 1))'"
}],
"tags": ["polygon", "linestrings", "instance", "defined", "combinatorial", "topological", "points", "consisting", "collections", "types", "return", "ring", "boundary", "closure"]
"tags": ["polygon", "linestrings", "instance", "combinatorial", "topological", "points", "collections", "types", "ring", "boundary", "closure"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/buffer
Expand Up @@ -34,5 +34,5 @@
"expression": "buffer($geometry, 10.5)",
"returns": "polygon of the current feature's geometry buffered by 10.5 units"
}],
"tags": ["distance", "equal", "spatial", "reference", "calculations", "system", "less", "represents", "points"]
"tags": ["distance", "equal", "spatial", "reference", "calculations", "system", "points", "segments", "miter", "join", "cap", "round"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/closest_point
Expand Up @@ -14,5 +14,5 @@
"expression": "geom_to_wkt(closest_point(geom_from_wkt('LINESTRING (20 80, 98 190, 110 180, 50 75 )'),geom_from_wkt('POINT(100 100)')))",
"returns": "'Point(73.0769 115.384)'"
}],
"tags": ["closest", "point"]
"tags": ["closest", "point", "nearest"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/coalesce
Expand Up @@ -28,5 +28,5 @@
"expression": "coalesce(\"fieldA\", \"fallbackField\", 'ERROR')",
"returns": "value of fieldA if it is non-NULL else the value of \"fallbackField\" or the string 'ERROR' if both are NULL"
}],
"tags": ["list", "first", "arguments", "take"]
"tags": ["list", "first", "arguments", "null"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/color_mix_rgb
Expand Up @@ -17,5 +17,5 @@
"expression": "color_mix_rgb('0,0,0','255,255,255',0.5)",
"returns": "'127,127,127,255'"
}],
"tags": ["green", "blue", "red", "alpha", "mixing", "color", "colors", "provided", "ratio", "representing"]
"tags": ["green", "blue", "red", "alpha", "mixing", "color", "colors", "provided", "ratio"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/combine
Expand Up @@ -17,5 +17,5 @@
"expression": "geom_to_wkt( combine( geom_from_wkt( 'LINESTRING(3 3, 4 4)' ), geom_from_wkt( 'LINESTRING(3 3, 6 6, 2 1)' ) ) )",
"returns": "'LINESTRING(3 3, 4 4, 6 6, 2 1)'"
}],
"tags": ["combination"]
"tags": ["combination", "union"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/concatenate_unique
Expand Up @@ -27,5 +27,5 @@
"expression": "concatenate_unique(\"town_name\",group_by:=\"state\",concatenator:=',')",
"returns": "comma separated list of unique town_names, grouped by state field"
}],
"tags": ["unique", "field", "joined", "delimiter", "strings"]
"tags": ["aggregated", "unique", "field", "joined", "delimiter", "strings"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/count
Expand Up @@ -19,5 +19,5 @@
"expression": "count(\"stations\",group_by:=\"state\")",
"returns": "count of stations, grouped by state field"
}],
"tags": ["features", "matching", "count"]
"tags": ["aggregate", "features", "matching", "count"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/count_distinct
Expand Up @@ -19,5 +19,5 @@
"expression": "count_distinct(\"stations\",group_by:=\"state\")",
"returns": "count of distinct stations values, grouped by state field"
}],
"tags": ["distinct", "count"]
"tags": ["aggregate", "distinct", "count"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/count_missing
Expand Up @@ -19,5 +19,5 @@
"expression": "count_missing(\"stations\",group_by:=\"state\")",
"returns": "count of missing (NULL) station values, grouped by state field"
}],
"tags": ["missing", "count"]
"tags": ["aggregate", "missing", "count"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/difference
Expand Up @@ -14,5 +14,5 @@
"expression": "geom_to_wkt( difference( geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4)' ) ) )",
"returns": "'LINESTRING(4 4, 5 5)'"
}],
"tags": ["part", "represents", "intersect"]
"tags": ["part", "represents", "intersect", "clip"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/display_expression
Expand Up @@ -45,5 +45,5 @@
"returns": "The display expression of the given feature not evaluated."
}]
}],
"tags": ["evaluated", "arguments", "details", "display", "default", "see"]
"tags": ["evaluated", "arguments", "details", "display", "default"]
}
4 changes: 2 additions & 2 deletions resources/function_help/json/distance
Expand Up @@ -2,7 +2,7 @@
"name": "distance",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the minimum distance (based on spatial ref) between two geometries in projected units.",
"description": "Returns the minimum distance (based on spatial reference) between two geometries in projected units.",
"arguments": [{
"arg": "geometry1",
"description": "a geometry"
Expand All @@ -14,5 +14,5 @@
"expression": "distance( geom_from_wkt( 'POINT(4 4)' ), geom_from_wkt( 'POINT(4 8)' ) )",
"returns": "4"
}],
"tags": ["distance", "projected", "ref", "spatial", "minimum", "units"]
"tags": ["projected", "reference", "spatial", "minimum", "units"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/end_point
Expand Up @@ -11,5 +11,5 @@
"expression": "geom_to_wkt(end_point(geom_from_wkt('LINESTRING(4 0, 4 2, 0 2)')))",
"returns": "'Point (0 2)'"
}],
"tags": ["last", "node"]
"tags": ["last", "node", "vertex"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/file_name
Expand Up @@ -11,5 +11,5 @@
"expression": "file_name('/home/qgis/data/country_boundaries.shp')",
"returns": "'country_boundaries.shp'"
}],
"tags": ["extension", "name", "directory", "file", "including", "excluding"]
"tags": ["extension", "name", "directory", "file", "path"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/file_path
Expand Up @@ -11,5 +11,5 @@
"expression": "file_path('/home/qgis/data/country_boundaries.shp')",
"returns": "'/home/qgis/data'"
}],
"tags": ["path", "include", "directory", "name", "component", "file"]
"tags": ["path", "directory", "name", "folder", "file"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/flip_coordinates
Expand Up @@ -11,5 +11,5 @@
"expression": "geom_to_wkt(flip_coordinates(make_point(1, 2)))",
"returns": "'Point (2 1)'"
}],
"tags": ["had", "latitude", "longitude", "reversed", "swapped", "coordinates", "repairing", "copy"]
"tags": ["latitude", "longitude", "reversed", "swapped", "coordinates", "repairing", "copy"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/format_number
Expand Up @@ -23,5 +23,5 @@
"expression": "format_number(10000000.332,2,'fr')",
"returns": "'10 000 000,33'"
}],
"tags": ["formatted", "user", "supplied", "current", "truncates", "places", "separator", "decimal", "default", "thousands", "locale"]
"tags": ["formatted", "truncates", "places", "separator", "decimal", "default", "thousands", "locale", "language"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/geom_from_gml
Expand Up @@ -11,5 +11,5 @@
"expression": "geom_from_gml('&lt;gml:LineString srsName=\"EPSG:4326\"&gt;&lt;gml:coordinates&gt;4,4 5,5 6,6&lt;/gml:coordinates&gt;&lt;/gml:LineString&gt;')",
"returns": "a line geometry object"
}],
"tags": ["representation"]
"tags": ["representation", "conversion"]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/geom_from_wkb
Expand Up @@ -11,5 +11,5 @@
"expression": "geom_from_wkb( geom_to_wkb( make_point(4,5) ) )",
"returns": "a point geometry object"
}],
"tags": ["created", "wkb", "binary", "known", "representation"]
"tags": ["created", "wkb", "binary", "known", "representation", "conversion"]
}

0 comments on commit d7ffe0b

Please sign in to comment.