Skip to content

Commit d8e37a0

Browse files
committed
✨ Add convenience function for writing polygons with reversed arguments
1 parent b989c84 commit d8e37a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/fileio/geojson.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ function write_polygon(polygon::QueryPolygon, file_path::String)
7373
"""
7474
end
7575

76+
write_polygon(file_path::String, polygon::QueryPolygon) = write_polygon(polygon, file_path)
77+
7678
"""
7779
read_polygon(file_path::String)
7880

0 commit comments

Comments
 (0)