| Summary: | In TileId.cpp, use of a fonction returning radians where degrees are expected. | ||
|---|---|---|---|
| Product: | [Applications] marble | Reporter: | a.scheffler |
| Component: | general | Assignee: | marble-bugs |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a.scheffler, shentey |
| Priority: | NOR | ||
| Version First Reported In: | 1.5 (KDE 4.10) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | a2c847218726df45265814dbc7b94c07d2da3080 | Version Fixed/Implemented In: | Marble 1.7/KDE 4.12.0 |
| Sentry Crash Report: | |||
TileId.cpp line 44: int lat = GeoDataCoordinates::normalizeLat( coords.latitude(), GeoDataCoordinates::Degree ) * 1000000; latitude() return radians. To correct it use "latitude(GeoDataCoordinates::Degree)" int lat = GeoDataCoordinates::normalizeLat( coords.latitude(GeoDataCoordinates::Degree), GeoDataCoordinates::Degree ) * 1000000; Same for next line. Reproducible: Always I compiled Marble with the suggested modifications. I don't notice any flagrant change when i run Marble.