<?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 Search in shapefile file - featureTable in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/search-in-shapefile-file-featuretable/m-p/1118237#M6078</link>
    <description>&lt;P&gt;I'm using ArcGIS Runtine API for Java.&lt;/P&gt;&lt;P&gt;I add a layer to the map using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;private ShapefileFeatureTable featureTable;
...
File shapefile = new File("samples-data", "/Limites.shp");
ShapefileFeatureTable shapefileFeatureTable = new ShapefileFeatureTable(shapefile.getAbsolutePath());
featureLayer = new FeatureLayer(shapefileFeatureTable);
featureLayer.setOpacity(0.8f);
featureLayer.setMaxScale(10000);

featureLayer.addDoneLoadingListener(() -&amp;gt; {
if (featureLayer.getLoadStatus() == LoadStatus.LOADED) {
  searchBox.setDisable(false);
} else {
  Alert alert = new Alert(Alert.AlertType.ERROR, "Falha ao carregar o serviço de feições!");
  alert.show();
}
});
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;How can I run a query in featureLayer, something like LEVEL_4_NA = 'Bahia' ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 16:46:38 GMT</pubDate>
    <dc:creator>Diego_Mendes_Rodrigues</dc:creator>
    <dc:date>2021-11-18T16:46:38Z</dc:date>
    <item>
      <title>Search in shapefile file - featureTable</title>
      <link>https://community.esri.com/t5/developers-questions/search-in-shapefile-file-featuretable/m-p/1118237#M6078</link>
      <description>&lt;P&gt;I'm using ArcGIS Runtine API for Java.&lt;/P&gt;&lt;P&gt;I add a layer to the map using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;private ShapefileFeatureTable featureTable;
...
File shapefile = new File("samples-data", "/Limites.shp");
ShapefileFeatureTable shapefileFeatureTable = new ShapefileFeatureTable(shapefile.getAbsolutePath());
featureLayer = new FeatureLayer(shapefileFeatureTable);
featureLayer.setOpacity(0.8f);
featureLayer.setMaxScale(10000);

featureLayer.addDoneLoadingListener(() -&amp;gt; {
if (featureLayer.getLoadStatus() == LoadStatus.LOADED) {
  searchBox.setDisable(false);
} else {
  Alert alert = new Alert(Alert.AlertType.ERROR, "Falha ao carregar o serviço de feições!");
  alert.show();
}
});
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;How can I run a query in featureLayer, something like LEVEL_4_NA = 'Bahia' ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 16:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/search-in-shapefile-file-featuretable/m-p/1118237#M6078</guid>
      <dc:creator>Diego_Mendes_Rodrigues</dc:creator>
      <dc:date>2021-11-18T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search in shapefile file - featureTable</title>
      <link>https://community.esri.com/t5/developers-questions/search-in-shapefile-file-featuretable/m-p/1118846#M6084</link>
      <description>&lt;P&gt;Select by attribute?&amp;nbsp; Not sure what this would be in Java language.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 19:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/search-in-shapefile-file-featuretable/m-p/1118846#M6084</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-19T19:56:50Z</dc:date>
    </item>
  </channel>
</rss>

