GeoParquet.read
— Methodread(fn; kwargs...)::DataFrame
Read a GeoParquet file as DataFrame. Kwargs are passed to the Parquet2.Dataset constructor.
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 302cf00..5d561b9 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-20T16:30:20","documenter_version":"1.8.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-20T16:36:59","documenter_version":"1.8.0"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index d12dc6d..adcab6d 100644 --- a/dev/index.html +++ b/dev/index.html @@ -13,4 +13,4 @@ 3 │ 603253 Africa W. Sahara ESH 906.5 WellKnownBinary{Geom, Vector{UIn… 4 │ 35623680 North America Canada CAN 1.674e6 WellKnownBinary{Geom, Vector{UIn… 5 │ 326625791 North America United States of America USA 1.856e7 WellKnownBinary{Geom, Vector{UIn…
Writing requires Table like input with geometry columns that are WellKnownBinary
from GeoFormatTypes.jl, or geometries that support GeoInterface.jl.
julia> GeoParquet.write("test.parquet", df, (:geometry,))
-test.parquet
GeoParquet.read
— Methodread(fn; kwargs...)::DataFrame
Read a GeoParquet file as DataFrame. Kwargs are passed to the Parquet2.Dataset constructor.
GeoParquet.todict
— MethodAdapted from copy
in JSON3, but with String keys instead of Symbols.
GeoParquet.write
— Functionwrite(ofn, t, columns=(:geom), crs::Union{GFT.ProjJSON,Nothing}=nothing, bbox::Union{Nothing,Vector{Float64}}=nothing; kwargs...)
Write a dataframe with a geometry column to a Parquet file. Returns ofn
on succes. Keyword arguments are passed to Parquet2 writefile method. The geometry column should be a Vector{GeoFormat.WellKnownBinary}
or its elements should support GeoInterface. You can construct one with WellKnownGeometry for geometries that support GeoInterface.
Settings
This document was generated with Documenter.jl version 1.8.0 on Friday 20 December 2024. Using Julia version 1.11.2.