Skip to content

Commit 478783e

Browse files
committed
Synchronization with release 0.5.10
Signed-off-by: Simeon H.K. Fitch <[email protected]>
1 parent 57c8a0b commit 478783e

File tree

110 files changed

+15379
-520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+15379
-520
lines changed

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
*.class
2+
*.log
3+
4+
# sbt specific
5+
.cache
6+
.history
7+
.lib/
8+
dist/*
9+
target/
10+
lib_managed/
11+
src_managed/
12+
project/boot/
13+
project/plugins/project/
14+
15+
# Scala-IDE specific
16+
.scala_dependencies
17+
.worksheet
18+
.idea
19+
*.tiff.aux.xml
20+
*.hdf5
21+
spark/src/test/jupyter/.ipynb_checkpoints
22+
.ipynb_checkpoints
23+
metastore_db
24+
.ensime*
25+
tour/jars
26+
tour/*.tiff

.sbtopts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Djava.awt.headless=true
2+
-J-Xmx2g
3+
-J-XX:MaxMetaspaceSize=1g

.sbtrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
alias openHere=eval "open .".!

.scalafmt.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
maxColumn = 120
2+
continuationIndent.defnSite = 2
3+
binPack.parentConstructors = true
4+
newlines.penalizeSingleSelectMultiArgList = false
5+
newlines.sometimesBeforeColonInMethodReturnType = false
6+
align.openParenCallSite = false
7+
docstrings = JavaDoc
8+
rewriteTokens {
9+
"=>" = "⇒"
10+
"<-" = "←"
11+
}

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
sudo: false
2+
3+
language: scala
4+
5+
cache:
6+
directories:
7+
- $HOME/.ivy2/cache
8+
- $HOME/.sbt/boot/
9+
10+
scala:
11+
- 2.11.11
12+
13+
jdk:
14+
- oraclejdk8
15+
16+
sbt_args: -no-colors
17+
18+
script:
19+
- sbt -Dfile.encoding=UTF8 clean coverage test coverageReport
20+
# Tricks to avoid unnecessary cache updates
21+
- find $HOME/.sbt -name "*.lock" | xargs rm
22+
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
23+
24+
after_success:
25+
- bash <(curl -s https://codecov.io/bash)

CODE_OF_CONDUCT.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct/
72+
73+
[homepage]: https://www.contributor-covenant.org
74+

README.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<img src="src/main/paradox/_template/images/RasterFramesLogo.png" width="300px"/><sup style="vertical-align: top;">&trade;</sup>
2+
3+
[ ![Download](https://api.bintray.com/packages/s22s/maven/raster-frames/images/download.svg) ](https://bintray.com/s22s/maven/raster-frames/_latestVersion) [![Build Status](https://travis-ci.org/s22s/raster-frames.svg?branch=develop)](https://travis-ci.org/s22s/raster-frames) [![codecov](https://codecov.io/gh/s22s/raster-frames/branch/develop/graph/badge.svg)](https://codecov.io/gh/s22s/raster-frames)
4+
[![Join the chat at https://gitter.im/s22s/raster-frames](https://badges.gitter.im/s22s/raster-frames.svg)](https://gitter.im/s22s/raster-frames?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5+
6+
_RasterFrames™_ brings the power of Spark DataFrames to geospatial raster data, empowered by the map algebra and tile layer operations of [GeoTrellis](https://geotrellis.io/).
7+
8+
<img src="src/main/tut/RasterFramePipelineOverview.png" width="600px"/>
9+
10+
> **RasterFrames™ is a new project under active development**. Feedback and contributions are welcomed
11+
as we continue to improve it.
12+
13+
## Getting Started
14+
15+
## Quick Start
16+
17+
### macOS
18+
19+
1. If not already, install [Homebrew](https://brew.sh/)
20+
2. Run `brew install sbt`
21+
3. Run `sbt new s22s/raster-frames.g8`
22+
23+
### Linux
24+
25+
1. Install [sbt](http://www.scala-sbt.org/release/docs/Installing-sbt-on-Linux.html)
26+
2. Run `sbt new s22s/raster-frames.g8`
27+
28+
### Windows
29+
30+
1. Install [sbt](http://www.scala-sbt.org/release/docs/Installing-sbt-on-Windows.html)
31+
2. Run `sbt new s22s/raster-frames.g8`
32+
33+
## General Setup
34+
35+
*RasterFrames* is published via Bintray's JCenter server. In sbt you introduce it with this build setting:
36+
37+
```
38+
resolvers += Resolver.jcenterRepo
39+
```
40+
41+
(See [this](https://bintray.com/bintray/jcenter) for use of JCenter with other build tools.)
42+
43+
To use RasterFrames, add the following library dependency:
44+
45+
sbt:
46+
47+
```scala
48+
libraryDependencies += "io.astraea" %% "raster-frames" % "x.y.z"
49+
```
50+
51+
Maven:
52+
53+
```xml
54+
<dependency>
55+
<groupId>io.astraea</groupId>
56+
<artifactId>raster-frames</artifactId>
57+
<version>x.y.z</version>
58+
</dependency>
59+
```
60+
61+
Note: It assumes that SparkSQL 2.1.1 is available in the runtime classpath.
62+
63+
## Documentation
64+
65+
* [Users' Manual](http://rasterframes.io/)
66+
* [API Documentation](http://rasterframes.io/latest/api/index.html)
67+
* [List of available UDFs](http://rasterframes.io/latest/api/index.html#astraea.spark.rasterframes.ColumnFunctions)
68+
69+
70+
## Copyright and License
71+
72+
All code is available to you under the Apache 2.0 License, copyright Astraea, Inc. 2017.
73+
74+

bench/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Performance Benchmarking
2+
3+
To run from project root directory:
4+
5+
```
6+
sbt bench/bench
7+
```
8+
9+
or from an `sbt` session:
10+
11+
```
12+
project bench
13+
bench
14+
```
15+
16+
For running the benchmarks in a single file, you can use the `benchOnly <path>` input task from the `bench` project,
17+
which supports tab completion.
18+
19+
Results will be in `bench/target/jmh-results-<datestamp>.csv`.

0 commit comments

Comments
 (0)