Summary: | marble displays gpx points in a flickery/unreliable fashion | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Vincent de Phily <moltonel> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tgridel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.4 (KDE 4.9) | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | "geocache" file from http://odbl.dobini.com/geocaches/iecache.gpx |
Description
Vincent de Phily
2011-12-05 23:44:27 UTC
Created attachment 66422 [details] "geocache" file from http://odbl.dobini.com/geocaches/iecache.gpx File is a "geocache" from http://odbl.dobini.com/geocaches/iecache.gpx Decompress to open with marble (too large to attach uncompressed). File at original url will change (and become smaller) daily, so use the one attached to this report. Git commit 3032a8b2d6bbf4703acb37bc5a53eeb417f35805 by Thibaut Gridel. Committed on 25/01/2012 at 18:33. Pushed by tgridel into branch 'master'. PlacemarkLayout: use qreal and QRectF where possible REVIEW: 103777 M +2 -2 src/lib/PlacemarkPainter.cpp M +2 -2 src/lib/VisiblePlacemark.cpp M +3 -3 src/lib/VisiblePlacemark.h M +12 -11 src/lib/layers/PlacemarkLayout.cpp M +3 -3 src/lib/layers/PlacemarkLayout.h http://commits.kde.org/marble/3032a8b2d6bbf4703acb37bc5a53eeb417f35805 Thanks for this commit, I tried the master branch and the flickering is gone :) But the main problem is still there : only a selection of the displayable ("inside viewport and far enough from other points") points are actualy displayed. It feels like there is a hard limit on the number of displayed points, and that marble simply goes through the list of displayable ones in file order and stops once the limit is reached. I tried a quick hack of PlacemarkLayout::visiblePlacemarks() but couldn't quite figure out m_weightfilter and TileCoordsPyramid, or indeed wether that's the correct place to look at. Could you take a look at the remaining problem, or point me towards a solution ? Thanks. Git commit 79ab28f3175c6a6c2cc7b85534ee139d316a4828 by Thibaut Gridel. Committed on 03/02/2012 at 00:39. Pushed by tgridel into branch 'master'. PlacemarkLayout: limit the placemark number based on used area ratio The goal is to keep a sane limit on the number of placemarks displayed, by design, because one doesn't want to completely fill the screen with placemark names. REVIEW: 103813 M +20 -11 src/lib/layers/PlacemarkLayout.cpp M +2 -1 src/lib/layers/PlacemarkLayout.h http://commits.kde.org/marble/79ab28f3175c6a6c2cc7b85534ee139d316a4828 Looks all good now, thank you :) |