Skip to content

Added library of land use classification color maps. - #2073

Merged
lossyrob merged 3 commits into
locationtech:masterfrom
metasim:feature/color-map-library
Mar 24, 2017
Merged

lossyrob merged 3 commits into
locationtech:masterfrom
metasim:feature/color-map-library

Conversation

@metasim

@metasim metasim commented Mar 15, 2017

Copy link
Copy Markdown
Member

No description provided.

metasim added 2 commits March 15, 2017 16:11
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 <[email protected]>
@metasim

metasim commented Mar 15, 2017

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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