Skip to content

Commit cae5f81

Browse files
committedApr 4, 2018
Add missing expression help
1 parent f9783ea commit cae5f81

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "flip_coordinates",
3+
"type": "function",
4+
"description": "Returns a copy of the geometry with the x and y coordinates swapped. Useful for repairing geometries which have had their latitude and longitude values reversed.",
5+
"arguments": [ {"arg":"geom","description":"a geometry"}],
6+
"examples": [ { "expression":"geom_to_wkt(flip_coordinates(make_point(1, 2)))", "returns":"Point (2 1)"}
7+
]
8+
}

0 commit comments

Comments
 (0)