<?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: Querying Scene Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099312#M74694</link>
    <description>&lt;P&gt;can you paste here the function/logic that you are trying to run which gives this error?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 09:42:21 GMT</pubDate>
    <dc:creator>IhabHassan</dc:creator>
    <dc:date>2021-09-17T09:42:21Z</dc:date>
    <item>
      <title>Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099229#M74688</link>
      <description>&lt;P&gt;Hi, I am attempting to query a scene layer using the latest Javascript API, but am getting the '&lt;SPAN&gt;query-not-available' error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can confirm that I have a associated feature layer, although uploading the scene layer from ArcGIS Pro did not give me the option to associate the feature layer, even though I can see it uploaded the feature layer.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a feeling that the issue relates to the fact that I have an ArcGIS Online account, not a ArcGIS Enterprise account - can someone please confirm this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It would be disappointing if that was the reason why I cannot query a scene layer.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 00:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099229#M74688</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-17T00:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099255#M74689</link>
      <description>&lt;P&gt;Ok, so I have reuploaded the data to ArcGIS Online and retried the query, but it seems I have hit another issue, one which I have not been able to find any info on.&lt;/P&gt;&lt;P&gt;The following error is occurring when I either attempt to apply a query or a definition expression to the Scene layer. Weirdly, I can identify the features within a Scene layer i.e. if I click on the map, I get a popup showing the feature attributes.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Logger.js:5 [esri.views.3d.layers.i3s.I3SBinaryReader] Invalid attribute buffer size expected: 7676922352, actual: 25)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what could be causing these errors?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 05:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099255#M74689</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-17T05:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099264#M74691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491498"&gt;@sullivani&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is SceneView and there is a FeatureLayer:&lt;/P&gt;&lt;P&gt;SceneView: provides the 3D display for the added feature layers&lt;/P&gt;&lt;P&gt;FeatureLayer: endpoint to a map service that may allow querying underlying data source&lt;/P&gt;&lt;P&gt;So, you may need to check first if the FeatureLayer has query endpoint available, check if you can browse to similar URL to this "{arcgis server url}/server/rest/services/Hosted/HV_ONE/FeatureServer/0/query"&lt;/P&gt;&lt;P&gt;This might be one thing that can clear things up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ihab&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 05:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099264#M74691</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-09-17T05:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099268#M74692</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/329425"&gt;@IhabHassan&lt;/a&gt;, I can confirm that there is a corresponding feature service and it is queryable. It seems the first issue I mentioned may have been resolved, but now the second issue is occurring, which I can't find any info on.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 06:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099268#M74692</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-17T06:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099312#M74694</link>
      <description>&lt;P&gt;can you paste here the function/logic that you are trying to run which gives this error?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 09:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099312#M74694</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-09-17T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099712#M74702</link>
      <description>&lt;P&gt;Its a simple query:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const query = sceneLayer.createQuery();
query.geometry = pointGeometry;
query.spatialRelationship = 'intersects';
query.returnGeometry = false;
sceneLayer.queryFeatures(query).then(featureSet =&amp;gt; {
    // Do something here
});&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 19 Sep 2021 23:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099712#M74702</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-19T23:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099716#M74703</link>
      <description>&lt;P&gt;Actually it looks like I am getting the same error no matter if its a query, identify or definitionExpression.&lt;/P&gt;&lt;P&gt;So there is something clearly wrong with the service....but I have no idea what that could be as the scene layer and associated feature layer were uploaded via ArcGIS Pro as per the screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sullivani_0-1632097169170.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23343i3B44C07BF928EC18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sullivani_0-1632097169170.png" alt="sullivani_0-1632097169170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 00:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099716#M74703</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T00:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099749#M74706</link>
      <description>&lt;P&gt;The issue may be related to the fact that there appears to be no attributes associated with the scene layer.&lt;/P&gt;&lt;P&gt;In addition to the previous error, I am also getting the following errors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sullivani_0-1632106672315.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23351iBAEED98AA479546D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sullivani_0-1632106672315.png" alt="sullivani_0-1632106672315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I upload the layers to ArcGIS Online, I have checked that the upload includes associated attributes as per the screenshot:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sullivani_3-1632106869390.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23352iFAE81ED8DA2B7350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sullivani_3-1632106869390.png" alt="sullivani_3-1632106869390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 03:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099749#M74706</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T03:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099752#M74707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491498"&gt;@sullivani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an ESRI JS sample that is doing something very similar to what you are doing, and I can see it is giving the same error message, even before doing any query/identify operation.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayerview-query/live/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayerview-query/live/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My guess now is that there is something wrong either with the JS APIs latest release or something wrong with the published data.&lt;BR /&gt;However, by debugging the code, I can see that the "buffer-too-small" error is not stopping the application, and I am still able to do the identify and see the result in the browser console.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ihab&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 03:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099752#M74707</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-09-20T03:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099756#M74708</link>
      <description>&lt;P&gt;That is the exact error I am getting, but unfortunately it does seem to stop the queries and definition expressions from working correctly.&lt;/P&gt;&lt;P&gt;I just had a look at the scene layer metadata and I cant see any info on the fields as per the screenshot. Is this normal, or should it show info on the associated fields?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sullivani_0-1632110106354.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23354i5962676871E6472F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sullivani_0-1632110106354.png" alt="sullivani_0-1632110106354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 03:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099756#M74708</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T03:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099758#M74710</link>
      <description>&lt;P&gt;I am looking at the sample scene layer here:&amp;nbsp;&lt;A href="https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Buildings_Harvard/SceneServer/layers/0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Buildings_Harvard/SceneServer/l...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it is in JSON, and I can see there is a list of fields exposed via the layer, so the same should be there in your layer in order to be able to do queries and see fields values.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 04:15:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099758#M74710</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-09-20T04:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099760#M74711</link>
      <description>&lt;P&gt;Yep, I can see the same thing with my scene layer. So my scene layer appears to be valid.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"fields": [
    {
      "name": "ID",
      "type": "esriFieldTypeInteger",
      "alias": "ID"
    }
  ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to be pointing towards an issue with the JSAPI.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 04:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099760#M74711</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T04:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099761#M74712</link>
      <description>&lt;P&gt;Oh, and just one other thing to add to this....if I open the scene layer via the scene viewer in ArcGIS Online and do an identify, the error doesn't occur.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it seems its specific to the JSAPI.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 04:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099761#M74712</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T04:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099984#M74718</link>
      <description>&lt;P&gt;Hi and sorry that you had to struggle with this. We noticed the errors you run into with some of our samples and we currently have a fix for it that should be deployed with the 9.3 release. However, those layers do not have an associated feature layer. Can you send me your exact workflow to make sure we fix the issue you run into as well? You publish the multipatch feature layer in ArcGIS Pro using "Share as web layer"? (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/web-scene-layer.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/web-scene-layer.htm&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 16:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1099984#M74718</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2021-09-20T16:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100117#M74723</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/277241"&gt;@RalucaNicola1&lt;/a&gt;&amp;nbsp;yes I have a multipatch layer and I follow those exact steps from that link to add the layer as a web scene layer to ArcGIS Online. I accept all the default and I don't change any options.&lt;/P&gt;&lt;P&gt;When you say version 9.3, what is that referring to? Did you mean JSAPI 4.3?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 22:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100117#M74723</guid>
      <dc:creator>sullivani</dc:creator>
      <dc:date>2021-09-20T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100213#M74727</link>
      <description>&lt;P&gt;I meant the ArcGIS Online release, we added a fix there and it should be available later on today.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 09:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100213#M74727</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2021-09-21T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Scene Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100240#M74728</link>
      <description>&lt;P&gt;I was trying to repro with some data with this exact workflow, but I can't manage. This is the example I created:&amp;nbsp;&lt;A href="https://codepen.io/ralucanicola/pen/ExXRjbx?editors=1000" target="_blank"&gt;https://codepen.io/ralucanicola/pen/ExXRjbx?editors=1000&lt;/A&gt;. Any chances you can send us the mal-functioning service? You can send it to me via private message.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 12:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querying-scene-layer/m-p/1100240#M74728</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2021-09-21T12:08:10Z</dc:date>
    </item>
  </channel>
</rss>

