You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tiles() iterator for 'WebMercatorQuad' can return incorrect tile coordinates. The 'truncate' option in this case is misleading. The truncate_lnglat method it uses in utils.py is hard coded to bound coordinates to [-180, 180] and [-90, 90] irrespective of the TMS's bounds (in this case, correctly described in the warning).
I believe a less misleading interface would be to bound the coordinates by self.bbox in tiles().
The
tiles()
iterator for 'WebMercatorQuad' can return incorrect tile coordinates. The 'truncate' option in this case is misleading. Thetruncate_lnglat
method it uses inutils.py
is hard coded to bound coordinates to [-180, 180] and [-90, 90] irrespective of the TMS's bounds (in this case, correctly described in the warning).I believe a less misleading interface would be to bound the coordinates by self.bbox in tiles().
Expected Result:
Actual Result:
The text was updated successfully, but these errors were encountered: