Skip to content

Commit c0027af

Browse files
committed
Add metadata passthrough.
1 parent ac8e9ed commit c0027af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ mkpath(joinpath(@__DIR__, "data/write"))
107107
@test ArrowTypes.toarrow(w) == (; x=1.0, y=2.0)
108108
end
109109
@testset "Simple" begin
110+
df = DataFrame(a=1, geometry=[(1.,2.)])
111+
GeoArrow.write("simple.arrow", df)
112+
dfn = GeoArrow.read("simple.arrow")
113+
@test GeoInterface.isgeometry(dfn.geometry[1])
114+
end
110115
@testset "Metadata" begin
111116
df = DataFrame(a=1, geometry=[(1.,2.)])
112117
DataAPI.metadata!(df, "author", "test")

0 commit comments

Comments
 (0)