-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Documenter.jl
committed
Nov 16, 2024
0 parents
commit abd52c0
Showing
287 changed files
with
871,776 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.mem | ||
|
||
*.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
language: julia | ||
os: | ||
- linux | ||
- osx | ||
julia: | ||
- 0.6 | ||
- nightly | ||
matrix: | ||
allow_failures: | ||
- os: linux | ||
- julia: nightly | ||
fast_finish: true | ||
notifications: | ||
email: false | ||
# uncomment the following lines to override the default test script | ||
script: | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
- julia --color=yes -e 'Pkg.clone("https://github.com/visr/GDAL.jl.git"); Pkg.build("GDAL")' | ||
- LD_LIBRARY_PATH="/home/travis/.julia/v0.6/Conda/deps/usr/lib/" julia -e 'Pkg.build("GDAL"); Pkg.clone(pwd()); Pkg.build("ArchGDAL"); Pkg.test("ArchGDAL"; coverage=true)' | ||
after_success: | ||
- julia -e 'cd(Pkg.dir("ArchGDAL")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The ArchGDAL.jl package is licensed under the MIT "Expat" License: | ||
|
||
> Copyright (c) 2016: yeesian. | ||
> | ||
> Permission is hereby granted, free of charge, to any person obtaining | ||
> a copy of this software and associated documentation files (the | ||
> "Software"), to deal in the Software without restriction, including | ||
> without limitation the rights to use, copy, modify, merge, publish, | ||
> distribute, sublicense, and/or sell copies of the Software, and to | ||
> permit persons to whom the Software is furnished to do so, subject to | ||
> the following conditions: | ||
> | ||
> The above copyright notice and this permission notice shall be | ||
> included in all copies or substantial portions of the Software. | ||
> | ||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# ArchGDAL | ||
|
||
[![Build Status](https://travis-ci.org/yeesian/ArchGDAL.jl.svg?branch=master)](https://travis-ci.org/yeesian/ArchGDAL.jl) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/github/yeesian/ArchGDAL.jl?svg=true&branch=master)](https://ci.appveyor.com/project/NgYeeSian/archgdal-jl/branch/master) | ||
[![Coverage Status](https://coveralls.io/repos/github/yeesian/ArchGDAL.jl/badge.svg?branch=master)](https://coveralls.io/github/yeesian/ArchGDAL.jl?branch=master) | ||
[![codecov](https://codecov.io/gh/yeesian/ArchGDAL.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/yeesian/ArchGDAL.jl) | ||
|
||
|
||
```julia | ||
_ _ _(_)_ | A fresh approach to technical computing | ||
(_) | (_) (_) | Documentation: https://docs.julialang.org | ||
_ _ _| |_ __ _ | Type "?help" for help. | ||
| | | | | | |/ _` | | | ||
| | |_| | | | (_| | | Version 0.6.0 (2017-08-03 08:04 UTC) | ||
_/ |\__'_|_|_|\__'_| | Commit 80a9f1f11* (58 days old release-0.6) | ||
|__/ | x86_64-apple-darwin16.7.0 | ||
julia> import ArchGDAL; const AG = ArchGDAL | ||
ArchGDAL | ||
julia> import Base.read | ||
julia> function read(f, filename) | ||
return AG.registerdrivers() do | ||
AG.read(filename) do dataset | ||
f(dataset) | ||
end end end | ||
read (generic function with 1 method) | ||
julia> read("data/point.geojson") do dataset | ||
print(dataset) | ||
end; | ||
GDAL Dataset (Driver: GeoJSON/GeoJSON) | ||
File(s): data/point.geojson | ||
Number of feature layers: 1 | ||
Layer 0: OGRGeoJSON (wkbPoint), nfeatures = 4 | ||
julia> read("data/point.geojson") do dataset | ||
print(AG.getlayer(dataset, 0)) | ||
end; | ||
Layer: OGRGeoJSON, nfeatures = 4 | ||
Geometry 0 (): [wkbPoint], POINT (100 0), POINT (100.2785 0.0893), ... | ||
Field 0 (FID): [OFTReal], 2.0, 3.0, 0.0, 3.0 | ||
Field 1 (pointname): [OFTString], point-a, point-b, a, b | ||
julia> read("data/point.geojson") do dataset | ||
AG.getfeature(AG.getlayer(dataset, 0), 2) do feature | ||
print(feature) | ||
end | ||
end; | ||
Feature | ||
(index 0) geom => POINT | ||
(index 0) FID => 0.0 | ||
(index 1) pointname => a | ||
julia> read("gdalworkshop/world.tif") do dataset | ||
print(dataset) | ||
end; | ||
GDAL Dataset (Driver: GTiff/GeoTIFF) | ||
File(s): gdalworkshop/world.tif | ||
Dataset (width x height): 2048 x 1024 (pixels) | ||
Number of raster bands: 3 | ||
[GA_ReadOnly] Band 1 (Red): 2048 x 1024 (UInt8) | ||
[GA_ReadOnly] Band 2 (Green): 2048 x 1024 (UInt8) | ||
[GA_ReadOnly] Band 3 (Blue): 2048 x 1024 (UInt8) | ||
julia> read("gdalworkshop/world.tif") do dataset | ||
print(AG.getband(dataset, 1)) | ||
end; | ||
[GA_ReadOnly] Band 1 (Red): 2048 x 1024 (UInt8) | ||
blocksize: 256x256, nodata: -1.0e10, units: 1.0px + 0.0 | ||
overviews: (0) 1024x512 (1) 512x256 (2) 256x128 | ||
(3) 128x64 (4) 64x32 (5) 32x16 | ||
(6) 16x8 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
julia 0.6 | ||
DataStreams | ||
GeoInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
environment: | ||
matrix: | ||
- JULIAVERSION: "julialang/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe" | ||
- JULIAVERSION: "julialang/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe" | ||
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe" | ||
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe" | ||
|
||
matrix: | ||
allow_failures: | ||
- JULIAVERSION: "julialang/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe" | ||
- JULIAVERSION: "julialang/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe" | ||
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe" | ||
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe" | ||
|
||
notifications: | ||
- provider: Email | ||
on_build_success: false | ||
on_build_failure: false | ||
on_build_status_changed: false | ||
|
||
install: | ||
# Download most recent Julia Windows binary | ||
- ps: (new-object net.webclient).DownloadFile( | ||
$("http://s3.amazonaws.com/"+$env:JULIAVERSION), | ||
"C:\projects\julia-binary.exe") | ||
# Run installer silently, output to C:\projects\julia | ||
- C:\projects\julia-binary.exe /S /D=C:\projects\julia | ||
|
||
build_script: | ||
# Need to convert from shallow to complete for Pkg.clone to work | ||
- IF EXIST .git\shallow (git fetch --unshallow) | ||
- C:\projects\julia\bin\julia -e "versioninfo(); | ||
Pkg.clone(\"https://github.com/visr/GDAL.jl.git\"); Pkg.build(\"GDAL\"); | ||
Pkg.clone(pwd(), \"ArchGDAL\"); Pkg.build(\"ArchGDAL\")" | ||
|
||
test_script: | ||
- C:\projects\julia\bin\julia -e "Pkg.test(\"ArchGDAL\")" |
Oops, something went wrong.