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

Ground tile grid #1054

Merged
merged 2 commits into from
Apr 4, 2021
Merged

Ground tile grid #1054

merged 2 commits into from
Apr 4, 2021

Conversation

Karry
Copy link
Collaborator

@Karry Karry commented Apr 4, 2021

Due to rounding errors during coordinate transformations there may be small
space between tiles. See @vyskocil comment here: #1030 (comment)
For that reason we should increase tile size approximately by 1 pixel to avoid visible grid.

Before creating TransformBoundingBox method, this issue was workarounded by using ceil and floor functions. But it doesn't helps when projection was rotated...

Even now, grid is sometimes visible on coastline cells when map is rotated...
Screenshot_20210404_183817

Due to rounding errors during coordinate transformations there may be small
space between tiles. For that reason we increase tile size approximately by 1 pixel
to avoid visible grid.
@Framstag Framstag merged commit b7e88fd into Framstag:master Apr 4, 2021
@Karry Karry deleted the ground-tile-grid branch April 4, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants