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

Added support for {-y}tiled maps into infinite #8595

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShivangMishra
Copy link
Contributor

@ShivangMishra ShivangMishra commented Oct 19, 2022

Fixes #8395.

@Falke-Design Please review.
Please note - There was a explicit test for {-y} to be not set on infinite crs. This test will fail.

The test was added due to the issue #4338 - the problem was that TMS "needs an upper bound for the CRS's Y coordinate, to be able to flip the tile row". In the case of infinite crs, we don't have an upper bound, that's probably why they added the check on {-y}.
In my PR, we don't use the upper bound, we simply set {-y} = (-1 * coords.y) - 1.
So, I think the test should be modified.
Any suggestions ? @jonkoops @mourner @IvanSanchez

@Malvoz Malvoz changed the title Added support for {-y}tiled maps into infinite (fixes issue #8395) Added support for {-y}tiled maps into infinite Oct 28, 2022
@Malvoz Malvoz added the feature label Oct 28, 2022
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.

Extend support for {-y} tiled maps into infinite
2 participants