<?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 Extraction using SAMPLE in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extraction-using-sample/m-p/461450#M6652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using [sample] to compute a table from raster layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Input raster layers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1st layer_A with 50 counts (1 ,or else 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd layer_B with 10 counts ( 1 or 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;input location:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer_C with 1000 counts &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data that i want to get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1st column have 1000 rows with xy coordinate from layer_C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd column contained 50 rows (out of 1000 rows) that have value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;same for column 3, containing 10 rows that have value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;problem is, all i will get was (eg) the second column have 500 rows with value=1 rather than what it supposed to have, 50 rows/counts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything that i am missing here? Do i need to check anything or having any standard checking protocols before i use the [Sample] tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guys, i managed to get the table i want by opt saving the gdb file in the default location. But if i alter the location where the gdb will be saved, the table computed will be very strange... i wonder if this is a bug?.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 10:27:15 GMT</pubDate>
    <dc:creator>yyl</dc:creator>
    <dc:date>2012-04-10T10:27:15Z</dc:date>
    <item>
      <title>Extraction using SAMPLE</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extraction-using-sample/m-p/461450#M6652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using [sample] to compute a table from raster layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Input raster layers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1st layer_A with 50 counts (1 ,or else 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd layer_B with 10 counts ( 1 or 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;input location:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer_C with 1000 counts &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data that i want to get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1st column have 1000 rows with xy coordinate from layer_C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd column contained 50 rows (out of 1000 rows) that have value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;same for column 3, containing 10 rows that have value 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;problem is, all i will get was (eg) the second column have 500 rows with value=1 rather than what it supposed to have, 50 rows/counts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything that i am missing here? Do i need to check anything or having any standard checking protocols before i use the [Sample] tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guys, i managed to get the table i want by opt saving the gdb file in the default location. But if i alter the location where the gdb will be saved, the table computed will be very strange... i wonder if this is a bug?.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 10:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extraction-using-sample/m-p/461450#M6652</guid>
      <dc:creator>yyl</dc:creator>
      <dc:date>2012-04-10T10:27:15Z</dc:date>
    </item>
  </channel>
</rss>

