Skip to content

Commit

Permalink
Add missing expression help
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 4, 2018
1 parent f9783ea commit cae5f81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/function_help/json/flip_coordinates
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "flip_coordinates",
"type": "function",
"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.",
"arguments": [ {"arg":"geom","description":"a geometry"}],
"examples": [ { "expression":"geom_to_wkt(flip_coordinates(make_point(1, 2)))", "returns":"Point (2 1)"}
]
}

0 comments on commit cae5f81

Please sign in to comment.