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

Reuse UI elements from Map for Upload page #62

Open
github-actions bot opened this issue Dec 5, 2024 · 0 comments
Open

Reuse UI elements from Map for Upload page #62

github-actions bot opened this issue Dec 5, 2024 · 0 comments
Labels
feat New feature or request

Comments

@github-actions
Copy link

github-actions bot commented Dec 5, 2024

these thresholds should be configurable, and probably should use the same

frontend elements as the threhsold sliders within the map. Going to punt on that for now,

since the map needs a refactor in the vein of the upload refactor.

# TODO(!feat): Reuse UI elements from Map for Upload page
# Issue URL: https://github.com/SchmidtDSE/burn-severity-mapping-poc/issues/62
# these thresholds should be configurable, and probably should use the same
# frontend elements as the threhsold sliders within the map. Going to punt on that for now,
# since the map needs a refactor in the vein of the upload refactor.

    endpoint_titiler: str = Depends(get_endpoint_titiler),
    endpoint_burn_backend: str = Depends(get_endpoint_burn_backend),
):
    # TODO(!feat): Reuse UI elements from Map for Upload page
    # Issue URL: https://github.com/SchmidtDSE/burn-severity-mapping-poc/issues/62
    # these thresholds should be configurable, and probably should use the same
    # frontend elements as the threhsold sliders within the map. Going to punt on that for now,
    # since the map needs a refactor in the vein of the upload refactor.
    cog_tileserver_url_prefix = (
        endpoint_titiler
        + '/cog/tiles/WebMercatorQuad/{z}/{x}/{y}.png?nodata=-99&return_mask=true&algorithm=censor_and_scale&algorithm_params={"thresholds":{"min":-0.025,"max":0.5}}&url='
@github-actions github-actions bot added the feat New feature or request label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants