Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8e3e36a

Browse files
DelazJgithub-actions[bot]
authored andcommittedApr 3, 2023
Add example of flip_coordinates with linestring
1 parent 54498f0 commit 8e3e36a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎resources/function_help/json/flip_coordinates‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"examples": [{
1111
"expression": "geom_to_wkt(flip_coordinates(make_point(1, 2)))",
1212
"returns": "'Point (2 1)'"
13+
},{
14+
"expression": "geom_to_wkt(flip_coordinates(geom_from_wkt('LineString(0 2, 1 0, 1 6)')))))",
15+
"returns": "'LineString (2 0, 0 1, 6 1)'"
1316
}],
1417
"tags": ["latitude", "longitude", "reversed", "swapped", "coordinates", "repairing", "copy"]
1518
}

0 commit comments

Comments
 (0)
Please sign in to comment.