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

[GEOT-5715] Fix GeoPackage tile order #1567

Merged
merged 1 commit into from Apr 28, 2017

Conversation

tbarsballe
Copy link
Member

GeoPackage tile order along the y-axis is inverted relative to what it should be; the 0,0 tile corresponds to the lower-left corner. This PR fixes this issue.

According to the OGC Spec:

The tile coordinate (0,0) always refers to the tile in the upper left corner of the tile matrix at any zoom level, regardless of the actual availability of that tile

For more details:
https://osgeo-org.atlassian.net/browse/GEOT-5715
https://osgeo-org.atlassian.net/browse/GEOS-8112
https://trac.osgeo.org/gdal/ticket/6871

Copy link
Contributor

@NielsCharlier NielsCharlier left a comment

Choose a reason for hiding this comment

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

The changes make sense, branch builds and formatting is OK + 1

@tbarsballe
Copy link
Member Author

Squashed + Merged.

@tbarsballe
Copy link
Member Author

Backported to 17.x and 16.x

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