GeoDataFrames.jl
GeoDataFrames.jl copied to clipboard
Simple geographical vector interaction built on top of ArchGDAL
Hi @evetion: I have run the example commands in the README file from a Jupyter notebook that accepts Julia. When I run: df = GDF.read("test_points.shp") I obtain a similar table...
Draft PR for #66 - currently just a proof of concept. There's currently some issue with GDAL.jl which prevents successful precompilation. I've resolved it temporarily with: ```julia-repl add [email protected] ```...
This is just for reference because I force pushed to master which closed the other PR.
MWE: ```julia using GeometryBasics, GeoDataFrames df = DataFrame(geometry = rand(Point2f, 100)) df.area_km2 = [rand(10) for i in 1:100] GeoDataFrames.write("test.gpkg", df) ``` https://github.com/evetion/GeoDataFrames.jl/blob/9512d12a3b13aecafafb84984de750f54d601e4c/src/io.jl#L163-L165
This requires us to have good unary unions in GeometryOps. But it allows aggregating high-granularity datasets, going from counties to states for example. Maybe this just gets solved by DataFrames...