<table><tr><td style="">tandon created this revision.<br />tandon added reviewers: nienhueser, rahn.<br />tandon set the repository for this revision to rMARBLE Marble.</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D1996" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p><strong>Rendering</strong></p>

<p>Only ice shelves<br />
<a href="https://phabricator.kde.org/F157922" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F157922: shelf9.png</a></p>

<p>Ice shelves along with normal glaciers<br />
<a href="https://phabricator.kde.org/F157924" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F157924: shlef_glac9.png</a></p>

<p><strong>Issues/Questions</strong><br />
For rendering these ice shelves the following tag has been used<br />
<tag k='glacier:type' v='shelf' /> which is a proposed glacier tag(<a href="http://wiki.openstreetmap.org/wiki/Proposed_features/Glaciers_tags" class="remarkup-link" target="_blank" rel="noreferrer">http://wiki.openstreetmap.org/wiki/Proposed_features/Glaciers_tags</a>). This tag is to be used in conjugation with  <tag k='natural' v='glacier' /> i.e both of these tags have to be present so as to express an ice shelf. (however for now the shp2osm converter assigns only the former tag for expressing an ice shelf for correct rendering)<br />
Now to render ice shelves a new visual category has been created(NaturalIceShelf). Since currently there is only one to one mapping between an osm tag(key - value pair) to a visual category, I have mapped NaturalIceShelf to OsmTag( "glacier:type", "shelf" ). However there also exists a mapping for OsmTag( "natural", "glacier" ) to NaturalGlaceir for rendering regular glaciers. It can happen that a regular OSM file containing both of these tags may not get rendered correctly since it may get assigned any styling instead of the right one.<br />
What must be done in such a scenario ? (should a many OSM tags to one visual category map be introduced instead of the current one to one map in OsmPresetLibrary or should things be left as they are for now)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rMARBLE Marble</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1996" rel="noreferrer">https://phabricator.kde.org/D1996</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/marble/StyleBuilder.cpp<br />
src/lib/marble/geodata/data/GeoDataFeature.cpp<br />
src/lib/marble/geodata/data/GeoDataFeature.h<br />
src/lib/marble/layers/GeometryLayer.cpp<br />
src/lib/marble/osm/OsmPresetLibrary.cpp<br />
tools/shp2osm/polyshp2osm.py</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>tandon, nienhueser, rahn<br /><strong>Cc: </strong>marble-devel<br /></div>