<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to add a scale indication in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373182#M1866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I missed that detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure a 3D scale bar would give you the results you are after. Due to the nature of 3D, the camera viewpoint (heading, pitch, height, roll, etc) would mean that a given screen length in pixels would have different geographic length depending where on the screen you are looking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, consider looking at the full globe - 3 cm in the center 0,0 would be much different real world length than 3 cm at edge. Another scenario is to consider looking at an observer view from the top of a building down across the city scape - 3 cm close to your current camera would be much different than 3 cm across the horizon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some similar discussion here for ArcGIS Pro Scenes &amp;amp; Scale Bars -&amp;nbsp;&lt;A href="https://community.esri.com/thread/225158"&gt;Scale bar in ArcgisPro layout&lt;/A&gt;&amp;nbsp; "&lt;SPAN style="color: #1f497d; background-color: #ffffff; border: 0px;"&gt;Scale is continuous and changing across a 3D view, so the traditional idea of scale bars don’t work in scenes -&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;things that are far away are at a different scale than things that are closer."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 20:19:32 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2020-05-12T20:19:32Z</dc:date>
    <item>
      <title>How to add a scale indication</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373179#M1863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using ArcGIS SDK for Qt, with qml GUI and C++ logic, displaying an offline raster map, using SceneView (not MapView).&lt;/P&gt;&lt;P&gt;I want to display a small scale bar at the corner like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="490593" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/490593_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;How can I tell the correct distance\value?&lt;/P&gt;&lt;P&gt;Is there anything already prepared for that or do I have to draw and measure myself?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 10:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373179#M1863</guid>
      <dc:creator>AnatBen_Israel</dc:creator>
      <dc:date>2020-05-01T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a scale indication</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373180#M1864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is something that should be possible by accessing MapView::mapScale and MapView::unitsPerDIP. We have been wanting to add this as&amp;nbsp;a ready-to-use&amp;nbsp;ArcGIS Runtime Toolkit component for some time, but have not gotten to it yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, here is a pure QML example that might get you on the right track -&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/201990-scale-bar#comment-715878" title="https://community.esri.com/thread/201990-scale-bar#comment-715878"&gt;https://community.esri.com/thread/201990-scale-bar#comment-715878&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, here is the iOS swift implementation of their Scalebar toolkit component. Since we share the same common design of the Runtime API, much of the logic should be the same -&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-toolkit-ios/blob/master/Toolkit/ArcGISToolkit/Scalebar.swift" title="https://github.com/Esri/arcgis-runtime-toolkit-ios/blob/master/Toolkit/ArcGISToolkit/Scalebar.swift"&gt;arcgis-runtime-toolkit-ios/Scalebar.swift at master · Esri/arcgis-runtime-toolkit-ios · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 15:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373180#M1864</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2020-05-04T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a scale indication</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373181#M1865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for the help. But what if I have a &lt;STRONG&gt;SceneView&lt;/STRONG&gt;&amp;nbsp;and not a MapView? Both of the link you mentioned refer to a MapView which I don't have since I need to 3D options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 06:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373181#M1865</guid>
      <dc:creator>AnatBen_Israel</dc:creator>
      <dc:date>2020-05-12T06:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a scale indication</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373182#M1866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I missed that detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure a 3D scale bar would give you the results you are after. Due to the nature of 3D, the camera viewpoint (heading, pitch, height, roll, etc) would mean that a given screen length in pixels would have different geographic length depending where on the screen you are looking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, consider looking at the full globe - 3 cm in the center 0,0 would be much different real world length than 3 cm at edge. Another scenario is to consider looking at an observer view from the top of a building down across the city scape - 3 cm close to your current camera would be much different than 3 cm across the horizon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some similar discussion here for ArcGIS Pro Scenes &amp;amp; Scale Bars -&amp;nbsp;&lt;A href="https://community.esri.com/thread/225158"&gt;Scale bar in ArcgisPro layout&lt;/A&gt;&amp;nbsp; "&lt;SPAN style="color: #1f497d; background-color: #ffffff; border: 0px;"&gt;Scale is continuous and changing across a 3D view, so the traditional idea of scale bars don’t work in scenes -&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;things that are far away are at a different scale than things that are closer."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 20:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-add-a-scale-indication/m-p/373182#M1866</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2020-05-12T20:19:32Z</dc:date>
    </item>
  </channel>
</rss>

