[Fixes #2477] Make TIFF the first and default download format#2478
[Fixes #2477] Make TIFF the first and default download format#2478
Conversation
There was a problem hiding this comment.
Code Review
This pull request reorders the download formats in localConfig.json to prioritize image/tiff over application/arcgrid across several plugin configurations. Feedback indicates that if the objective is to make TIFF the absolute first format, it should be moved above GeoJSON, which currently remains at the top of the list.
| "name": "image/tiff", | ||
| "label": "TIFF", | ||
| "type": "raster", | ||
| "validServices": [ | ||
| "wps" | ||
| ] | ||
| }, |
There was a problem hiding this comment.
The pull request title states that TIFF should be the first and default download format. However, in the current configuration, application/json (GeoJSON) remains at the top of the formats list (index 0), making TIFF the second item overall.
If the requirement is to have TIFF as the absolute first format in the list, it should be moved to the top of the array, above GeoJSON. If the intention was specifically to make it the default for raster layers, then the current change is correct as it is now the first raster format in the list. This observation applies to all three occurrences of the LayerDownload plugin configuration in this file.
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-5.0.x 5.0.x
# Navigate to the new working tree
cd .worktrees/backport-5.0.x
# Create a new branch
git switch --create backport-2478-to-5.0.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8212e17d9ced3e9aef8b5537c52c3fd169976d41
# Push it to GitHub
git push --set-upstream origin backport-2478-to-5.0.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-5.0.xThen, create a pull request where the |
No description provided.