[Marble-devel] Review Request 124511: Merged the decoration(124154) and the label placement(124498) review requests.
Dennis Nienhüser
dennis at nienhueser.de
Mon Aug 10 11:25:01 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124511/#review83652
-----------------------------------------------------------
src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp (line 80)
<https://git.reviewboard.kde.org/r/124511/#comment57883>
Can you check some zoo mappings in OSM to see if this is a building usually?
src/lib/marble/layers/GeometryLayer.cpp (line 270)
<https://git.reviewboard.kde.org/r/124511/#comment57884>
I noticed that some areas disappear in normal quality (~ still map), while they are there during panning. Can you try to reproduce that problem? If not I can send you an .osm file that shows the problem.
This might happen when areas overlap (e.g. some park in a rural zone), they have equal z-values and sorting changes their order. In that case replacing qSort here with qStableSort should solve it.
- Dennis Nienhüser
On Aug. 5, 2015, 7:31 nachm., Dávid Kolozsvári wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124511/
> -----------------------------------------------------------
>
> (Updated Aug. 5, 2015, 7:31 nachm.)
>
>
> Review request for Marble.
>
>
> Repository: marble
>
>
> Description
> -------
>
> I changed a little bit the decoration creating method, it now uses a QList to store the decorations, so multiple decorations can be added this way. It was an idea for the street labeling, but it makes sense without that too.
>
>
> Diffs
> -----
>
> src/lib/marble/GeoPainter.h 7a757b9
> src/lib/marble/GeoPainter.cpp d04138c
> src/lib/marble/GeoPainter_p.h f0c4f9b
> src/lib/marble/MarbleGlobal.h cf2768f
> src/lib/marble/geodata/data/GeoDataFeature.h ea23cd8
> src/lib/marble/geodata/data/GeoDataFeature.cpp 6f330fb
> src/lib/marble/geodata/data/GeoDataFeature_p.h 496c356
> src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h 4842809
> src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.cpp 4320c07
> src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.h f469dfb
> src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp 81cfe9a
> src/lib/marble/graphicsview/GeoGraphicsItem.h 4ca4727
> src/lib/marble/graphicsview/GeoGraphicsItem.cpp b8fa693
> src/lib/marble/graphicsview/GeoGraphicsItem_p.h 01becfc
> src/lib/marble/layers/GeometryLayer.cpp 9eb3f50
>
> Diff: https://git.reviewboard.kde.org/r/124511/diff/
>
>
> Testing
> -------
>
> It works on a freshly pulled version of Marble.
>
>
> Thanks,
>
> Dávid Kolozsvári
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20150810/dce0e98a/attachment.html>
More information about the Marble-devel
mailing list