<?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 Empty result of IdentifyTask when using a sceneLayer from .Slpk (Multipart Geometry) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/empty-result-of-identifytask-when-using-a/m-p/648728#M8085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Tested with &amp;nbsp;ArcGIS Runtime .Net 100.4.)&lt;/P&gt;&lt;P&gt;I have a scene with two scenelayers (source are SLPKs created from Multipart Features).&lt;/P&gt;&lt;P&gt;Both should be identifyable (properties “IsIdentifyEnabled”, “IsVisible” are true for both scenelayers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the &lt;SPAN style="font-size: 9.5pt; color: black;"&gt;MySceneViewOnGeoViewTapped &lt;/SPAN&gt;Event the identification takes place:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; idResults = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; MySceneView.IdentifyLayerAsync(layer, tapScreenPoint, pixelTolerance, returnPopupsOnly, maxResults);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (idResults != &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &amp;amp;&amp;amp; idResults.GeoElements.Count &amp;gt; 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 35.4pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{…get Attributes of firstOrdefault Geoelement and show in callout.}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For one sceneLayer (buildings; polygon type) this is working, but not for the other (gas line; polyline type).&lt;/P&gt;&lt;P&gt;When clicking on this layer, the GeoElementsList/PopupsList stays empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder for the reason why?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 10:59:29 GMT</pubDate>
    <dc:creator>AlexandraMinarik</dc:creator>
    <dc:date>2019-04-03T10:59:29Z</dc:date>
    <item>
      <title>Empty result of IdentifyTask when using a sceneLayer from .Slpk (Multipart Geometry)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/empty-result-of-identifytask-when-using-a/m-p/648728#M8085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Tested with &amp;nbsp;ArcGIS Runtime .Net 100.4.)&lt;/P&gt;&lt;P&gt;I have a scene with two scenelayers (source are SLPKs created from Multipart Features).&lt;/P&gt;&lt;P&gt;Both should be identifyable (properties “IsIdentifyEnabled”, “IsVisible” are true for both scenelayers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the &lt;SPAN style="font-size: 9.5pt; color: black;"&gt;MySceneViewOnGeoViewTapped &lt;/SPAN&gt;Event the identification takes place:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; idResults = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; MySceneView.IdentifyLayerAsync(layer, tapScreenPoint, pixelTolerance, returnPopupsOnly, maxResults);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (idResults != &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &amp;amp;&amp;amp; idResults.GeoElements.Count &amp;gt; 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 35.4pt;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{…get Attributes of firstOrdefault Geoelement and show in callout.}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For one sceneLayer (buildings; polygon type) this is working, but not for the other (gas line; polyline type).&lt;/P&gt;&lt;P&gt;When clicking on this layer, the GeoElementsList/PopupsList stays empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder for the reason why?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 10:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/empty-result-of-identifytask-when-using-a/m-p/648728#M8085</guid>
      <dc:creator>AlexandraMinarik</dc:creator>
      <dc:date>2019-04-03T10:59:29Z</dc:date>
    </item>
  </channel>
</rss>

