Skip to content

Commit

Permalink
Add example of flip_coordinates with linestring
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and github-actions[bot] committed Apr 3, 2023
1 parent 54498f0 commit 8e3e36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/function_help/json/flip_coordinates
Expand Up @@ -10,6 +10,9 @@
"examples": [{
"expression": "geom_to_wkt(flip_coordinates(make_point(1, 2)))",
"returns": "'Point (2 1)'"
},{
"expression": "geom_to_wkt(flip_coordinates(geom_from_wkt('LineString(0 2, 1 0, 1 6)')))))",
"returns": "'LineString (2 0, 0 1, 6 1)'"
}],
"tags": ["latitude", "longitude", "reversed", "swapped", "coordinates", "repairing", "copy"]
}

0 comments on commit 8e3e36a

Please sign in to comment.