GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT license by the Open Source Geospatial Foundation. As a library, it presents an abstract data model to drivers for various raster and vector formats.
This package aims to be a complete solution for working with GDAL in Julia, similar in scope to the SWIG bindings for Python and the user-friendliness of Fiona and Rasterio. It builds on top of GDAL.jl, and provides a high level API for GDAL, espousing the following principles.
(adapted from: https://wiki.archlinux.org/index.php/Arch_Linux#Principles)
To install this package, run the following command in the Pkg REPL-mode,
pkg> add ArchGDAL
To test if it is installed correctly,
pkg> test ArchGDAL
Please see the changelog for any changes in the installed version.
This package will not be possible without JuliaLang, GDAL and GDAL.jl. They are maintained by https://julialang.org/community/, https://www.osgeo.org/ and https://juliageo.org/ respectively. In case of any contention for support and involvement, we encourage participation and contributions to those projects and communities over this package.
ArchGDAL.jl uses JuliaFormatter.jl as
an autoformatting tool, and uses the options in .JuliaFormatter.toml
.
If you wish to format code, cd
to the ArchGDAL.jl directory, then run:
] add JuliaFormatter
using JuliaFormatter
format(".")
To manage the dependencies of this package, we work with environments:
$ cd /Users/yeesian/.julia/dev/ArchGDAL
/Users/yeesian/.julia/dev/ArchGDAL
$ julia --project
Project.toml
):(@v1.6) pkg> activate .
Activating environment at `~/.julia/environments/v1.6/Project.toml`
(ArchGDAL) pkg> st
Project ArchGDAL v0.6.0
Status `~/.julia/dev/ArchGDAL/Project.toml`
[3c3547ce] DiskArrays
[add2ef01] GDAL
[68eda718] GeoFormatTypes
[cf35fbd7] GeoInterface
[bd369af6] Tables
[ade2ca70] Dates
(ArchGDAL) pkg> add CEnum
Resolving package versions...
Updating `~/.julia/dev/ArchGDAL/Project.toml`
[fa961155] + CEnum v0.4.1
[3c3547ce] + DiskArrays v0.2.7
[add2ef01] + GDAL v1.2.1
[68eda718] + GeoFormatTypes v0.3.0
[cf35fbd7] + GeoInterface v0.5.5
[bd369af6] + Tables v1.4.2
[compat]
section of Project.toml
so that julia can resolve the versions, e.g.[compat]
...
CEnum = "0.4"