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
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: tcarter[at]noggin.com.au [Submitted to the original trac issue database at 8.40pm, Friday, 29th August 2008]
Calculation of lat/long values from tile coordinates in the SlippyMap chooser seem to be wrong, trying to download areas in Sydney leads to lat/long values very close to zero (e-07 or e-08) being generated for the download URL.
Replacing the code in SlippyMapWidget::viewArea() with the example code in the Wiki [http://wiki.openstreetmap.org/index.php/Slippy_map_tilenames#C.2FC.2B.2B] seems to yield the correct results.
The attached patch (against current svn) makes this change and simplifies the OSM URL parsing code by using QUrl.
The text was updated successfully, but these errors were encountered:
Reporter: tcarter[at]noggin.com.au
[Submitted to the original trac issue database at 8.40pm, Friday, 29th August 2008]
Calculation of lat/long values from tile coordinates in the SlippyMap chooser seem to be wrong, trying to download areas in Sydney leads to lat/long values very close to zero (e-07 or e-08) being generated for the download URL.
Replacing the code in SlippyMapWidget::viewArea() with the example code in the Wiki [http://wiki.openstreetmap.org/index.php/Slippy_map_tilenames#C.2FC.2B.2B] seems to yield the correct results.
The attached patch (against current svn) makes this change and simplifies the OSM URL parsing code by using QUrl.
The text was updated successfully, but these errors were encountered: