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

feat(release): Support disabling default API Gateway endpoints and add custom soil-texture colormap to raster-api #445

Merged
merged 6 commits into from
Oct 30, 2024

Conversation

anayeaye
Copy link
Collaborator

@anayeaye anayeaye commented Oct 23, 2024

Added in this release

anayeaye and others added 5 commits October 17, 2024 16:19
### Issue

#441

### What/Why?
Add a custom colormap to titiler for soil texture datasets. The source
parameter definition of the color mappings would otherwise be too long
for firewall restrictions.

### Testing?
I ran the titiler locally and previewed the results for one soil texture
COG.

<img width="1414" alt="soil-texture-preview"
src="https://github.com/user-attachments/assets/63b50994-af0c-47a4-8004-b792a3d0848b">
### Issue

NASA-IMPACT/veda-architecture#452

### What/Why
This disables the default API Gateway endpoints for the stac, raster,
and ingest APIs. Instead, access to the APIs should be done through the
custom domain endpoints.

#### Testing
Tested with my UAH jtran stack
for k in texture_categories.keys():
cmap[int(k)] = np.array(parse_color(texture_categories[k]))

np.save("soil_texture.npy", cmap)
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@botanical botanical left a comment

Choose a reason for hiding this comment

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

I merged my other PR not realizing it would get merged into this as well. Can you update the title + description (sorry!)?

@anayeaye anayeaye changed the title feat(raster): add custom soil-texture colormap feat(release): Support disabling default API Gateway endpoints and add custom soil-texture colormap to raster-api Oct 25, 2024
@anayeaye anayeaye merged commit 1d2d8fd into main Oct 30, 2024
7 checks passed
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