Skip to content
Permalink
Browse files

Add missing expression help

  • Loading branch information
nyalldawson committed Apr 4, 2018
1 parent f9783ea commit cae5f81ed12b1a562b251073bc5bf8d9f3e0e7f6
Showing with 8 additions and 0 deletions.
  1. +8 −0 resources/function_help/json/flip_coordinates
@@ -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.
You can’t perform that action at this time.