Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added library of land use classification color maps. #2073

Merged
merged 3 commits into from
Mar 24, 2017

Conversation

metasim
Copy link
Member

@metasim metasim commented Mar 15, 2017

No description provided.

…mps`.

Signed-off-by: Simeon H.K. fitch <fitch@astraea.io>
Match wasn't catching `Error`. Both `Error` and `Failure` are the exclusive sub-types of `NoSuccess`, so changed match to that.

Signed-off-by: Simeon H.K. fitch <fitch@astraea.io>
@metasim
Copy link
Member Author

metasim commented Mar 15, 2017

Travis error seems to have nothing to do with the actual build. Any way to re-trigger it?

@@ -0,0 +1,97 @@
/*
* Copyright 2016 Azavea
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you/your company is submitting this file, this should be copyright to you or your company.

defaultOptions
)

private val defaultOptions = ColorMap.Options(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just use ColorMap.Options.DEFAULT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the noDataColor was the same as the DEFAULT, I'm removing that. However, I think the classBoundaryType should be EXACT, because operationally, you want to know if you have a classification assignment that's not part of your class set (sign of an error, or something else).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point

@lossyrob lossyrob added this to the 1.1 milestone Mar 24, 2017
@lossyrob lossyrob merged commit 8f91098 into locationtech:master Mar 24, 2017
@metasim metasim deleted the feature/color-map-library branch March 24, 2017 12:22
@metasim metasim restored the feature/color-map-library branch March 24, 2017 12:25
lossyrob pushed a commit to lossyrob/geotrellis that referenced this pull request Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants