Geolibre Integration#425
Open
amit-spatial wants to merge 9 commits into
Open
Conversation
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.
Summary
Replaces KYL's
/download_layersinterface with an embedded GeoLibre workspace generated for the selected state, district, and tehsil.Implementation
0.8opacity..logfor technical support.2.xviewers from2.0.0onward.The catalog contains 45 entries: 13 vectors, 24 LULC rasters, and 8 other rasters. Existing
/kyl_dashboardbehavior is unchanged.Local testing
Alternatively, use
cp .env.example .env. Openhttp://localhost:3000; another device on the same network can usehttp://YOUR_PC_IP:3000after checkinghostname -Iand allowing port3000through the firewall.Check:
/kyl_dashboardstill loads.Validation completed:
Deployment
Merge
feat/geolibre-cog-downloadintodevelopment, then build with:Deploy
build/with SPA fallback for direct/download_layers?...URLs. CSP/CORS must permit the GeoLibre iframe, GeoServer WFS/WMS/WCS requests, andhttps://mt1.google.comimagery.For an exactly pinned self-hosted viewer, configure
REACT_APP_GEOLIBRE_VERSION,REACT_APP_GEOLIBRE_URL_TEMPLATE, andREACT_APP_GEOLIBRE_STRICT_VERSION=true. No earlier GeoLibre branch needs to be merged separately.