Restore GeoLibre download route and reuse LULC rasters - #435
Open
amit-spatial wants to merge 5 commits into
Open
Restore GeoLibre download route and reuse LULC rasters#435amit-spatial wants to merge 5 commits into
amit-spatial wants to merge 5 commits into
Conversation
amit-spatial
force-pushed
the
feat/geolibre-lulc-styles
branch
from
August 6, 2026 09:22
6453327 to
b822a34
Compare
amit-spatial
marked this pull request as ready for review
August 6, 2026 10:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
LandscapeExplorerat/download_layersWhy
An earlier revert kept
/download_layersmapped toLandscapeExplorerbut replaced that page orchestration with the older OpenLayers map and Filters & Data sidebar. This restores the GeoLibre page that existed immediately before that revert.The three LULC levels contain identical raster data and differ only in styling. The integration previously reused the Level 3 coverage, but each visibility snapshot was echoed back as a complete project load. That recreated native raster sources and caused already-loaded WMS tiles to be requested again. Simply stopping that reload also stopped the iframe legend plugin from receiving visibility changes, so the legend now follows the same snapshots independently.
The first overlay implementation remained collapsed and sat below GeoLibre’s right-hand style panel. It is now expanded initially, positioned over the map, and reopened whenever a new visible legend is detected.
Impact
/download_layersonce again loads the hosted GeoLibre workspace. Users keep the existing per-year Level 1, Level 2, and Level 3 choices, all backed by the canonical Level 3 coverage. Toggling an existing layer off and on no longer replaces the project or recreates its raster source. Each newly displayed LULC level visibly opens its own prepared class palette. A first view of a different level can still request its distinct server-rendered WMS style tiles; it does not load a separate Level 1 or Level 2 raster dataset.Validation
load-project/download_layerspoints to the GeoLibre page and excludes legacy Map/RightSidebar importsgit diff --checkpassednpm startcompiled successfully and/download_layersreturned HTTP 200