[Marble-devel] [Differential] [Request, 617 lines] D2128: Added way concatenating module to osm-simplify

tandon (Akshat Tandon) noreply at phabricator.kde.org
Sun Jul 10 02:42:26 UTC 2016


tandon created this revision.
tandon added reviewers: rahn, nienhueser.
tandon added subscribers: Marble, rahn.
tandon set the repository for this revision to rMARBLE Marble.

REVISION SUMMARY
  To address the problem of discontinuous streets/roads which appear on  level 11-12, this module was added. 
  One of the primary reasons for this discontinuity, as told by @rahn , is that Marble omits rendering objects which are too small to be drawn. Hence if a street is composed of lots of OSM way chunks which are smaller than 2 pixels, those chunks don't get rendered and hence the street appears as discontinuous. 
  To address this problem, all these OSM way chunks need to be concatenated so that the streets are rendered faster and fully.
  
  The given WayConcatenator, concatenates the OSM ways on the basis of end-points and name. 
  Although the above method resulted in the concatenation of many ways, visually this way of concatenating did not prove to be fruitful as still almost all the previously discontinuous streets still appeared discontinuous.
  
  As previously discussed with @rahn , the way forward will now be to concatenate ways based on a fuzzy-compare and not just end-points. To accomplish this I will have to move from a Hash based approach to a tiling-map based approach.

REPOSITORY
  rMARBLE Marble

REVISION DETAIL
  https://phabricator.kde.org/D2128

AFFECTED FILES
  tools/osm-simplify/BaseFilter.cpp
  tools/osm-simplify/BaseFilter.h
  tools/osm-simplify/CMakeLists.txt
  tools/osm-simplify/TagsFilter.cpp
  tools/osm-simplify/TagsFilter.h
  tools/osm-simplify/WayChunk.cpp
  tools/osm-simplify/WayChunk.h
  tools/osm-simplify/WayConcatenator.cpp
  tools/osm-simplify/WayConcatenator.h
  tools/osm-simplify/main.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: tandon, rahn, nienhueser
Cc: rahn, #marble, marble-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20160710/6b2dea4b/attachment-0001.html>


More information about the Marble-devel mailing list