Skip to content

Canada and Russia are fetched when rendering Tacoma #781

tschaub opened this Issue Jun 11, 2013 · 2 comments

3 participants

OpenLayers member
tschaub commented Jun 11, 2013

This is mostly a placeholder for a better bug report. While debugging #404, I was seeing that even when zoomed in to a very small extent centered over the southern part of the Puget Sound, geometries for Russia and Canada are fetched. We're doing a lot of extra work iterating though every coordinate in these geometries that are far outside the rendered extent (Russia should be far at least, have to check the polys in Canada to see how far south the Victoria poly goes).

OpenLayers member

This might be because Russia - at least in OSM - has a bounding box that crosses the dateline, and we might not handle this correctly.

twpayne commented Mar 17, 2014

As @ahocevar says, Russia's bounding box with the date line wrap overlaps Tacoma.

Canada is fetched because its bounding box also overlaps: the Yukon extends further west and Ontario extends further south.

@twpayne twpayne closed this Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.