Skip to content

Commit

Permalink
Update resources/function_help/json/extend
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 31, 2020
1 parent fc1f3bf commit 23c7bd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/function_help/json/extend
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
{"arg":"start_distance","description":"distance to extend the start of the line"},
{"arg":"end_distance","description":"distance to extend the end of the line."}],
"examples": [ { "expression":"geom_to_wkt(extend(geom_from_wkt('LineString(0 0, 1 0, 1 1)'),1,2))", "returns":"'LineString (-1 0, 1 0, 1 3)'"},
{ "expression":"geom_to_wkt(extend(geom_from_wkt('multiLineString((0 0, 1 0, 1 1), (2 2, 0 2, 0 5))'),1,2))", "returns":"'MultiLineString ((-1 0, 1 0, 1 3),(3 2, 0 2, 0 7))'"}]
{ "expression":"geom_to_wkt(extend(geom_from_wkt('MultiLineString((0 0, 1 0, 1 1), (2 2, 0 2, 0 5))'),1,2))", "returns":"'MultiLineString ((-1 0, 1 0, 1 3),(3 2, 0 2, 0 7))'"}]
}

0 comments on commit 23c7bd6

Please sign in to comment.