Skip to content

Commit

Permalink
Update to Meshes.jl v0.43 (#8)
Browse files Browse the repository at this point in the history
* Update to Meshes.jl v0.43

* Update CI.yml

---------

Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com>
  • Loading branch information
eliascarv and juliohm authored May 28, 2024
1 parent ef480c2 commit 09c0120
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- '1'
os:
- ubuntu-latest
- macos-latest
- windows-latest
arch:
- x64
steps:
Expand Down
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
GADM = "1.1"
GeoIO = "1.1"
GeoIO = "1.13"
GeoStatsImages = "1.1"
GeoTables = "1.19"
GeoTables = "1.21"
INMET = "1.0"
Meshes = "0.42"
Meshes = "0.43"
NaturalEarth = "0.1"
Unitful = "1.17"
julia = "1.9"
6 changes: 2 additions & 4 deletions src/gadm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ at a given depth starting from the given region specification.
The option `fix` can be used to fix orientation and degeneracy
issues with polygons.
"""
function get(country, subregions...; depth=0, ϵ=nothing, min=3, max=typemax(Int), maxiter=10, fix=true, kwargs...)
table = GADMData.get(country, subregions...; depth, kwargs...)
GeoIO.asgeotable(table, fix)
end
get(country, subregions...; depth=0, fix=true, kwargs...) =
GeoIO.asgeotable(GADMData.get(country, subregions...; depth, kwargs...), fix)

end

0 comments on commit 09c0120

Please sign in to comment.