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

Specifying bounds for Tileset will generate at incorrect latitude #10

Open
BirdSamuel opened this issue Aug 6, 2015 · 0 comments
Open
Assignees
Labels

Comments

@BirdSamuel
Copy link
Member

After generating an OpenStreetMap Tileset with bounds exactly around the Noblis office in Virginia: [-77.21917, 38.85804, -77.21295, 38.86337], we found that the caching of tiles and bounds ends up a lot further South (near Peru). There is sometimes a big white streak below the cached area.

To fix this, we negated the Y values of the bounds, resulting in [-77.21917, -38.86337, -77.21295, -38.85804]. This fixed the problem, but is wrong in the end. We tried modifying the projection + grid (from EPSG:4326 to EPSG:900913 and vise-versa, also to EPSG:3857). Modifying the origin of the grid from 'sw' to 'nw' (GLOBAL_MERCATOR, GLOBAL_WEBMERCATOR respectively) changed where it placed the imagery (placed Peru's tiles onto Virginia) but not what tiles were being cached.

@BirdSamuel BirdSamuel self-assigned this Aug 6, 2015
@BirdSamuel BirdSamuel added the bug label Aug 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant