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

Get origin and resolutions from GetCapabilities for WMTS #2089

Open
dafvid opened this issue Dec 2, 2024 · 0 comments
Open

Get origin and resolutions from GetCapabilities for WMTS #2089

dafvid opened this issue Dec 2, 2024 · 0 comments

Comments

@dafvid
Copy link

dafvid commented Dec 2, 2024

We're using QGIS-Server and the TileMatrix resolutions and origin is a per project setting. So it's not uncommon to have different settings for each project and for each WMTS-service. However, even though PR #236 added an option to have different origin and resolutions setting for each source, it's still a hazzle to have to dig out origin and convert scale to resolution for each service or to edit all projects to have the same tilegrid.

Describe the solution you'd like
I'd like for Origo to read the origin and tilematrix setting directly by parsing a getcapabilities document.

Describe alternatives you've considered
The alternative now is to use FME to create a sample source config. Also if I ever change the extent och tilematrix of the project it will misalign in the map.

Additional context
The resolutions are calculated from ScaleDenominator*0.00028 for each TileMatrix
The origin is extracted from TopLeftCorner for each TileMatrix

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

No branches or pull requests

2 participants