<?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: android arcgis - create feature layer without URL in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712264#M4992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use a FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this sample:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-android/tree/d1b8c9fc335299899653b30ca4cfa8d4b162d7e8/java/feature-collection-layer" title="https://github.com/Esri/arcgis-runtime-samples-android/tree/d1b8c9fc335299899653b30ca4cfa8d4b162d7e8/java/feature-collection-layer"&gt;arcgis-runtime-samples-android/java/feature-collection-layer at d1b8c9fc335299899653b30ca4cfa8d4b162d7e8 · Esri/arcgis-r…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/data/FeatureCollectionTable.html"&gt;&lt;STRONG&gt;FeatureCollectionTable&lt;/STRONG&gt;&lt;/A&gt; with the geometry type, attributes, and spatial reference you need. Then create a&amp;nbsp;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/data/FeatureCollection.html"&gt;&lt;STRONG&gt;FeatureCollection&lt;/STRONG&gt;&lt;/A&gt;, passing in the table, and create a &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/layers/FeatureCollectionLayer.html"&gt;&lt;STRONG&gt;FeatureCollectionLayer&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;passing in that FeatureCollection.&amp;nbsp;Add that FeatureCollectionLayer to the map's operational layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This pattern allows you to create arbitrary in-memory tables.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That FeatureCollectionLayer will have a set of sublayers. Each sublayer&amp;nbsp;represents a source FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can specify a renderer on the FeatureCollectionTable before you pass it to the FeatureCollection - that can make it easier to organize your renderers if you have multiple tables in your feature collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that you can add FeatureCollectionTables to the FeatureCollection after you have created the FeatureCollectionLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting your Features from some other query to an ArcGIS service, note that there's a FeatureCollectionTable constructor that takes a FeatureSet. This can simplify creating that initial FeatureCollectionTable for certain use-cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2019 16:59:20 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2019-07-31T16:59:20Z</dc:date>
    <item>
      <title>android arcgis - create feature layer without URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712263#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reference for my question is the ESRI android arcgisruntime example &lt;BR /&gt;SceneLayerSelection - a user interactively selects&lt;BR /&gt;a building from the scene.&lt;BR /&gt;The following line loads the buildings using a URL:&lt;BR /&gt; ArcGISSceneLayer sceneLayer = new ArcGISSceneLayer(buildingsURL);&lt;/P&gt;&lt;P&gt;But we want to create a feature layer - or a ServiceFeatureTable - without using a URL&lt;BR /&gt;for the feature data source.&lt;BR /&gt;For example, we would like to generate a JSON string of our &lt;BR /&gt;features and use it to build the feature layer.&lt;BR /&gt;Is this possible and if so how is it done?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 19:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712263#M4991</guid>
      <dc:creator>Gharding</dc:creator>
      <dc:date>2019-07-30T19:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: android arcgis - create feature layer without URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712264#M4992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use a FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this sample:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-android/tree/d1b8c9fc335299899653b30ca4cfa8d4b162d7e8/java/feature-collection-layer" title="https://github.com/Esri/arcgis-runtime-samples-android/tree/d1b8c9fc335299899653b30ca4cfa8d4b162d7e8/java/feature-collection-layer"&gt;arcgis-runtime-samples-android/java/feature-collection-layer at d1b8c9fc335299899653b30ca4cfa8d4b162d7e8 · Esri/arcgis-r…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/data/FeatureCollectionTable.html"&gt;&lt;STRONG&gt;FeatureCollectionTable&lt;/STRONG&gt;&lt;/A&gt; with the geometry type, attributes, and spatial reference you need. Then create a&amp;nbsp;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/data/FeatureCollection.html"&gt;&lt;STRONG&gt;FeatureCollection&lt;/STRONG&gt;&lt;/A&gt;, passing in the table, and create a &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/layers/FeatureCollectionLayer.html"&gt;&lt;STRONG&gt;FeatureCollectionLayer&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;passing in that FeatureCollection.&amp;nbsp;Add that FeatureCollectionLayer to the map's operational layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This pattern allows you to create arbitrary in-memory tables.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That FeatureCollectionLayer will have a set of sublayers. Each sublayer&amp;nbsp;represents a source FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can specify a renderer on the FeatureCollectionTable before you pass it to the FeatureCollection - that can make it easier to organize your renderers if you have multiple tables in your feature collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that you can add FeatureCollectionTables to the FeatureCollection after you have created the FeatureCollectionLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting your Features from some other query to an ArcGIS service, note that there's a FeatureCollectionTable constructor that takes a FeatureSet. This can simplify creating that initial FeatureCollectionTable for certain use-cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712264#M4992</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-31T16:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: android arcgis - create feature layer without URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712265#M4993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicholas - thank you so much for your response - Jack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    On Wednesday, July 31, 2019, 10:00:22 AM PDT, Nicholas Furness &amp;lt;geonet@esri.com&amp;gt; wrote:  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;P&gt;Re: android arcgis - create feature layer without URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Nicholas Furness in ArcGIS Runtime SDK for Android - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use a FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this sample:&amp;nbsp;arcgis-runtime-samples-android/java/feature-collection-layer at d1b8c9fc335299899653b30ca4cfa8d4b162d7e8 · Esri/arcgis-r…&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a FeatureCollectionTable with the geometry type, attributes, and spatial reference you need. Then create a&amp;nbsp;FeatureCollection, passing in the table, and create a FeatureCollectionLayer&amp;nbsp;passing in that FeatureCollection.&amp;nbsp;Add that FeatureCollectionLayer to the map's operational layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This pattern allows you to create arbitrary in-memory tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That FeatureCollectionLayer will have a set of sublayers. Each sublayer&amp;nbsp;represents a source FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can specify a renderer on the FeatureCollectionTable before you pass it to the FeatureCollection - that can make it easier to organize your renderers if you have multiple tables in your feature collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that you can add FeatureCollectionTables to the FeatureCollection after you have created the FeatureCollectionLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting your Features from some other query to an ArcGIS service, note that there's a FeatureCollectionTable constructor that takes a FeatureSet. This can simplify creating that initial FeatureCollectionTable for certain use-cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Start a new discussion in ArcGIS Runtime SDK for Android by email or at GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Following Re: android arcgis - create feature layer without URL in these streams: Inbox&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; This email was sent by GeoNet, The Esri Community | GIS and Geospatial Professional Community because you are a registered user.&lt;/P&gt;&lt;P&gt; You may unsubscribe instantly from GeoNet, The Esri Community | GIS and Geospatial Professional Community, or adjust email frequency in your email preferences &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 17:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712265#M4993</guid>
      <dc:creator>Gharding</dc:creator>
      <dc:date>2019-08-01T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: android arcgis - create feature layer without URL</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712266#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The feature collection and table is createdand is properly displayed - thank you for your help.Other ESRI feature selection examples typicallyuse a service feature table and a feature layer:&amp;nbsp; final ListenableFuture  wrote:  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;P&gt;Re: android arcgis - create feature layer without URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Nicholas Furness in ArcGIS Runtime SDK for Android - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use a FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this sample:&amp;nbsp;arcgis-runtime-samples-android/java/feature-collection-layer at d1b8c9fc335299899653b30ca4cfa8d4b162d7e8 · Esri/arcgis-r…&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a FeatureCollectionTable with the geometry type, attributes, and spatial reference you need. Then create a&amp;nbsp;FeatureCollection, passing in the table, and create a FeatureCollectionLayer&amp;nbsp;passing in that FeatureCollection.&amp;nbsp;Add that FeatureCollectionLayer to the map's operational layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This pattern allows you to create arbitrary in-memory tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That FeatureCollectionLayer will have a set of sublayers. Each sublayer&amp;nbsp;represents a source FeatureCollectionTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can specify a renderer on the FeatureCollectionTable before you pass it to the FeatureCollection - that can make it easier to organize your renderers if you have multiple tables in your feature collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that you can add FeatureCollectionTables to the FeatureCollection after you have created the FeatureCollectionLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting your Features from some other query to an ArcGIS service, note that there's a FeatureCollectionTable constructor that takes a FeatureSet. This can simplify creating that initial FeatureCollectionTable for certain use-cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Start a new discussion in ArcGIS Runtime SDK for Android by email or at GeoNet, The Esri Community&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;GIS and Geospatial Professional Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Following Re: android arcgis - create feature layer without URL in these streams: Inbox&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; This email was sent by GeoNet, The Esri Community | GIS and Geospatial Professional Community because you are a registered user.&lt;/P&gt;&lt;P&gt; You may unsubscribe instantly from GeoNet, The Esri Community | GIS and Geospatial Professional Community, or adjust email frequency in your email preferences &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 04:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-arcgis-create-feature-layer-without-url/m-p/712266#M4994</guid>
      <dc:creator>Gharding</dc:creator>
      <dc:date>2019-08-02T04:06:44Z</dc:date>
    </item>
  </channel>
</rss>

