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

Fix #10734 Fix print tms layers with 4326 #10738

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MV88
Copy link
Contributor

@MV88 MV88 commented Jan 7, 2025

Description

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

Fix #10734

What is the new behavior?

it prints also tms layers in 4326

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@MV88 MV88 added the bug label Jan 7, 2025
@MV88 MV88 added this to the 2025.01.00 milestone Jan 7, 2025
@MV88 MV88 self-assigned this Jan 7, 2025
Copy link
Member

@tdipisa tdipisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MV88 please fix ESlint failing checks

@tdipisa tdipisa requested a review from dsuren1 January 7, 2025 17:02
Copy link
Contributor

@dsuren1 dsuren1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MV88 as discussed earlier, I'm highlighting the issues that I observed with TMS & print tool

  • With the TMS layer, the layers are not always included in the output. While the spec appears fine, the resulting output sometimes misses the layer. This issue occurs with both 3857 and 4326 projections. Perhaps it would provide some insight into why TMS layers were skipped when the projection was set to something other than the default 3857
  • In certain cases, the layer is not previewed or displayed correctly in the print tool. This issue occurs when changing the CRS or opening the print tool with EPSG:4326, among other scenarios
  • Using the OSM provider for TMS, the layer prints correctly when the CRS is 3857 but fails to print when it is set to 4326

#5292

Testing
I have used this map to test

Catalog services used
https://gs-stable.geo-solutions.it/geoserver/gwc/service/tms/1.0.0 (Layer: States of US)
https://public.sig.rennesmetropole.fr/geowebcache/service/tms/1.0.0 (Layer: Cadastre Rennes Métropole)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TMS background layer not being displayed in print preview for EPSG:4326
3 participants