https://bugs.kde.org/show_bug.cgi?id=357540
Bug ID: 357540 Summary: ViewportParamsTest fails Product: marble Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: marble-b...@kde.org Reporter: nienhue...@kde.org CC: r...@kde.org Since this commit commit 5b989a8 Author: Torsten Rahn <r...@kde.org> Date: Mon Oct 19 00:41:43 2015 +0200 Add automatically assigned detail levels to each node in a way that is remotely similar to Douglas-Peuckert. The detail level gets assigned via GeoDataLineStrings::optimized() which returns another lineString that holds detail level information. This call is currently made inside the PN2 and OSM file parser. The algorithm works best for long linestrings. Therefore the maximum benefit is made e.g. for the atlas map theme where performance increases by about 10-20%. ViewportParamsTest fails like this: PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString(Spherical Tesselate Diagonal IDL) PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString(Spherical Tesselate Latitude IDL) PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString(Spherical LatitudeCircle Longitude) PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString(Spherical LatitudeCircle Diagonal IDL) PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString(Spherical LatitudeCircle Latitude IDL) PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLineString2() PASS : Marble::ViewportParamsTest::screenCoordinates_GeoDataLinearRing() PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator NoTesselation normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator NoTesselation acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Mercator NoTesselation aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator Tesselate normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator Tesselate acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Mercator Tesselate aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator LatitudeCircle normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Mercator LatitudeCircle acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Mercator LatitudeCircle aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect NoTesselation normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect NoTesselation acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Equirect NoTesselation aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect Tesselate normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect Tesselate acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Equirect Tesselate aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect LatitudeCircle normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Equirect LatitudeCircle acrossIDLRing) FAIL! : Marble::ViewportParamsTest::geoDataLinearRing(Equirect LatitudeCircle aroundSPoleRing) 'poly->isClosed()' returned FALSE. () Loc: [/home/dennis/marble/src/tests/ViewportParamsTest.cpp(484)] PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical NoTesselation normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical NoTesselation acrossIDLRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical NoTesselation aroundSPoleRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical Tesselate normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical Tesselate acrossIDLRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical LatitudeCircle normalRing) PASS : Marble::ViewportParamsTest::geoDataLinearRing(Spherical LatitudeCircle acrossIDLRing) PASS : Marble::ViewportParamsTest::setInvalidRadius() PASS : Marble::ViewportParamsTest::setFocusPoint() PASS : Marble::ViewportParamsTest::cleanupTestCase() Totals: 59 passed, 6 failed, 0 skipped, 0 blacklisted ********* Finished testing of Marble::ViewportParamsTest ********* -- You are receiving this mail because: You are watching all bug changes.