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

Add support for g3w-admin-mapproxy plugin (tiles cache provider) #589

Merged
merged 21 commits into from
Mar 27, 2024

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 added feature New feature or request backport to v3.9.x labels Mar 1, 2024
@volterra79 volterra79 added this to the v3.10 milestone Mar 1, 2024
@volterra79 volterra79 requested review from wlorenzetti and Raruto March 1, 2024 11:21
@volterra79 volterra79 self-assigned this Mar 1, 2024
@volterra79 volterra79 changed the title Handle Tile MapProxy provider Handle Tiles MapProxy provider Mar 1, 2024
@volterra79 volterra79 changed the title Handle Tiles MapProxy provider Handle Tiles Cache MapProxy provider Mar 1, 2024
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Mar 1, 2024
@Raruto Raruto changed the title Handle Tiles Cache MapProxy provider Add support for g3w-admin-mapproxy plugin (tiles cache provider) Mar 4, 2024
@volterra79 volterra79 marked this pull request as draft March 4, 2024 11:24
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Mar 4, 2024
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Mar 5, 2024
@volterra79 volterra79 marked this pull request as ready for review March 6, 2024 11:26
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Mar 22, 2024
@volterra79 volterra79 merged commit 3ddae81 into dev Mar 27, 2024
@volterra79 volterra79 deleted the cache_mapproxy branch March 27, 2024 14:01
Copy link

The backport to v3.9.x failed:

The process '/usr/bin/git' failed with exit code 1

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-v3.9.x v3.9.x
# Navigate to the new working tree
cd .worktrees/backport-v3.9.x
# Create a new branch
git switch --create backport-589-to-v3.9.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3ddae8190380ad86802edb4a74db3af21820c5c0
# Push it to GitHub
git push --set-upstream origin backport-589-to-v3.9.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-v3.9.x

Then, create a pull request where the base branch is v3.9.x and the compare/head branch is backport-589-to-v3.9.x.

volterra79 added a commit that referenced this pull request Mar 27, 2024
)

* Handle mapproxy cache provider

* Add cache_provider parameter to handle resoltuion for a tile grid in case of XYZ layer

* create function createTileGrid

* add cache_provider parameter to wmsts layer

* clean up `RasterLayers` factory

* jsdoc

* Introduce cache_* map proxy paramaters

* Chck updateParms method

* get url from config

* Introduce new TiledMapProxyWMSLayer layer

* remove WMTS layer cache_params unused

* check mapproxy provider

* Refactor url

* Add g3w-long-text in case of base layer title too long

* Add new parameter from map proxy wmts base layer

* Use grid_extent not extent

---------

Co-authored-by: Raruto <[email protected]>
volterra79 added a commit that referenced this pull request Mar 27, 2024
) (#605)

* Handle mapproxy cache provider

* Add cache_provider parameter to handle resoltuion for a tile grid in case of XYZ layer

* create function createTileGrid

* add cache_provider parameter to wmsts layer

* clean up `RasterLayers` factory

* jsdoc

* Introduce cache_* map proxy paramaters

* Chck updateParms method

* get url from config

* Introduce new TiledMapProxyWMSLayer layer

* remove WMTS layer cache_params unused

* check mapproxy provider

* Refactor url

* Add g3w-long-text in case of base layer title too long

* Add new parameter from map proxy wmts base layer

* Use grid_extent not extent

---------

Co-authored-by: Raruto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport to v3.9.x feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants