-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image layer type to support GeoTIFF and Cloud Optimized GeoTIFF i…
…mages (#636) * Add Image layer type * Add image layer * Add georaster-layer-for-leaflet package * Try different package * Add opacity setting for geotiff image layer * Try georaster-layer-for-leaflet v4.1.1-0 * Use correct georaster library version * Do not fetch entire COG file before loading * Fix COG layer ordering * Add variable to hide all values where there is no data * Add js-colormaps library * Working color ramp for single band 8bit images * Add fillMinMax for single band 8 bit images * Support color ramps for single band images * Leaflet v1.5.1 patched with PR 6522 Leaflet/Leaflet#6522 * Fix opacity issues when zooming * Export colormap data variable * Add symlink to js-colormaps library * Add color ramp selection dropdown for image layers * Clear georaster layer cache before updating colors * Working on updating image vars to match tile vars * Add helper script to generate list of colormaps from TiTiler and js-colormaps * Add updated js-colormaps to include colormaps from TiTiler * Load TiTler or js-colormap colormaps depending on TiTiler availability * Clear geotiff cache when toggling layer visibility * Remove extraneous import * Add image layer type to IdentifierTool * Use minmax of image from gdalinfo if user did not input in layer settings * Fix getUrl * Add extra checks * Add docs for Image layer * Add missing elements in Image configuration * Fix issue with loading COG scale text in LayerTool * Make id for titiler colomap images more specific * Fix colormap dropdown to include velocity layer's DEFAULT colormap value * Make legends for Tile COG and Image layers load upon start * Supress js-colormap alerts and print to console insteaad * Add legend for velocity layer * Add constant and todo note * Use latest packages * Clean up code * Update generated files * Check to if layer has cogTransform parameter before updating * Fix loading of image layers * Fix conditions for fillMinMax * Show correct image layer if reordering layers in UI * Do not trim whitespace for layer name and units * Undo Leaflet v1.5.1 patched with PR 6522 commit * Only display cogTransform options on single band images * Update docs * Use TiTiler colormaps when appropriate * Show config dropdown colorramp using js-colormaps library if TiTiler is not available * Use RDYLBU_R as default color instead of DEFAULT for velocity layers * Copy js-colormaps to avoid symlink --------- Co-authored-by: Tariq Soliman <[email protected]> Co-authored-by: tariqksoliman <[email protected]>
- Loading branch information
1 parent
2e3d82b
commit df8e02d
Showing
41 changed files
with
30,389 additions
and
18,659 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
"options": [ | ||
"data", | ||
"header", | ||
"image", | ||
"model", | ||
"query", | ||
"tile", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
"options": [ | ||
"data", | ||
"header", | ||
"image", | ||
"model", | ||
"query", | ||
"tile", | ||
|
Oops, something went wrong.