Skip to content

Commit e5a9b26

Browse files
committedApr 16, 2023
Fix some invalid help example expressions
(cherry picked from commit fe158c2)
1 parent 0d6d028 commit e5a9b26

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎resources/function_help/json/eval

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "an expression string"
99
}],
1010
"examples": [{
11-
"expression": "eval('\\'nice\\'')",
11+
"expression": "eval('\\\\'nice\\\\'')",
1212
"returns": "'nice'"
1313
}, {
1414
"expression": "eval(@expression_var)",

‎resources/function_help/json/flip_coordinates

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"expression": "geom_to_wkt(flip_coordinates(make_point(1, 2)))",
1212
"returns": "'Point (2 1)'"
1313
},{
14-
"expression": "geom_to_wkt(flip_coordinates(geom_from_wkt('LineString(0 2, 1 0, 1 6)')))))",
14+
"expression": "geom_to_wkt(flip_coordinates(geom_from_wkt('LineString(0 2, 1 0, 1 6)')))",
1515
"returns": "'LineString (2 0, 0 1, 6 1)'"
1616
}],
1717
"tags": ["latitude", "longitude", "reversed", "swapped", "coordinates", "repairing", "copy"]

‎resources/function_help/json/pole_of_inaccessibility

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"description": "maximum distance between the returned point and the true pole location"
1212
}],
1313
"examples": [{
14-
"expression": "geom_to_wkt(pole_of_inaccessibility( geom_from_wkt('POLYGON((0 1, 0 9, 3 10, 3 3, 10 3, 10 1, 0 1))'), 0.1))'",
14+
"expression": "geom_to_wkt(pole_of_inaccessibility( geom_from_wkt('POLYGON((0 1, 0 9, 3 10, 3 3, 10 3, 10 1, 0 1))'), 0.1))",
1515
"returns": "'Point(1.546875 2.546875)'"
1616
}],
1717
"tags": ["inaccessibility", "precise", "tolerances", "calculates", "guaranteed", "boundary", "require", "point", "true", "iterations", "internal", "uses", "approximate", "approach", "polylabel", "find", "distant", "calculate", "pole", "take", "surface", "specified", "tolerance", "iterative"]

‎resources/function_help/json/to_decimal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "A degree, minute, second string."
99
}],
1010
"examples": [{
11-
"expression": "to_decimal('6\u00b021\\'16.445')",
11+
"expression": "to_decimal('6\u00b021\\\\'16.445')",
1212
"returns": "6.3545680555"
1313
}],
1414
"tags": ["converts", "minute", "degree", "equivalent", "second", "coordinate", "decimal"]

0 commit comments

Comments
 (0)
Please sign in to comment.