<?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 Incorrect Results from Line Density Tool in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/incorrect-results-from-line-density-tool/m-p/228919#M3222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying create a raster that shows road density (m/ha) within 3km radius of the cell.&amp;nbsp; The line density tool in Spatial Analyst appears to be the tool to do this as it allows for input of a line file (roads), a search radius (3000m), output raster cell size (10m), and area unit (ha). However, upon running the tool I getting results that I don't believe to be correct. For example the maximum value I am getting is 0.27 m/ha, which is way to low of a value considering to the high road density in the area. To double check I converted a portion of the raster to points and buffered those points by 3 km and found the area of road within this buffer. Using this information the road density values come out to around 9 or 10 m/ha which is much more reasonable for the density of roads in the area. The dataframe and road layer is in UTM Zone 12N so the units should be in meters. Any ideas why these results are not correct? I wonder if it has to do with the population field being set to none as in the tool help it indicates the population field is a:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Numeric field denoting population values (the number of times the line should be counted) for each polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Values in the population field may be integer or floating point.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The options and default behaviours for the field are listed below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Use None if no item or special value will be used and each feature will be counted once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore I'm wondering if it is only counting each road line feature the first time it intersects a cell search radius instead of counting it within the search radius of each cell. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice or suggestions would be greatly appreciated. Below is my inputs if that helps. Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 20:58:46 GMT</pubDate>
    <dc:creator>KarlZimmer</dc:creator>
    <dc:date>2013-09-04T20:58:46Z</dc:date>
    <item>
      <title>Incorrect Results from Line Density Tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/incorrect-results-from-line-density-tool/m-p/228919#M3222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying create a raster that shows road density (m/ha) within 3km radius of the cell.&amp;nbsp; The line density tool in Spatial Analyst appears to be the tool to do this as it allows for input of a line file (roads), a search radius (3000m), output raster cell size (10m), and area unit (ha). However, upon running the tool I getting results that I don't believe to be correct. For example the maximum value I am getting is 0.27 m/ha, which is way to low of a value considering to the high road density in the area. To double check I converted a portion of the raster to points and buffered those points by 3 km and found the area of road within this buffer. Using this information the road density values come out to around 9 or 10 m/ha which is much more reasonable for the density of roads in the area. The dataframe and road layer is in UTM Zone 12N so the units should be in meters. Any ideas why these results are not correct? I wonder if it has to do with the population field being set to none as in the tool help it indicates the population field is a:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Numeric field denoting population values (the number of times the line should be counted) for each polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Values in the population field may be integer or floating point.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The options and default behaviours for the field are listed below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Use None if no item or special value will be used and each feature will be counted once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore I'm wondering if it is only counting each road line feature the first time it intersects a cell search radius instead of counting it within the search radius of each cell. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice or suggestions would be greatly appreciated. Below is my inputs if that helps. Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/incorrect-results-from-line-density-tool/m-p/228919#M3222</guid>
      <dc:creator>KarlZimmer</dc:creator>
      <dc:date>2013-09-04T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Results from Line Density Tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/incorrect-results-from-line-density-tool/m-p/228920#M3223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;I am trying create a raster that shows road density (m/ha) within 3km radius of the cell.&amp;nbsp; The line density tool in Spatial Analyst appears to be the tool to do this as it allows for input of a line file (roads), a search radius (3000m), output raster cell size (10m), and area unit (ha). However, upon running the tool I getting results that I don't believe to be correct. For example the maximum value I am getting is 0.27 m/ha, which is way to low of a value considering to the high road density in the area. To double check I converted a portion of the raster to points and buffered those points by 3 km and found the area of road within this buffer. Using this information the road density values come out to around 9 or 10 m/ha which is much more reasonable for the density of roads in the area. The dataframe and road layer is in UTM Zone 12N so the units should be in meters. Any ideas why these results are not correct? I wonder if it has to do with the population field being set to none as in the tool help it indicates the population field is a:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Numeric field denoting population values (the number of times the line should be counted) for each polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Values in the population field may be integer or floating point.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The options and default behaviours for the field are listed below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Use None if no item or special value will be used and each feature will be counted once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Therefore I'm wondering if it is only counting each road line feature the first time it intersects a cell search radius instead of counting it within the search radius of each cell. &lt;BR /&gt;&lt;BR /&gt;Any advice or suggestions would be greatly appreciated. Below is my inputs if that helps. Thanks in advance.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Karl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the explanation in the Help you will see that the density is calculated as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new;"&gt;Density = ((L1 * V1) + (L2 * V2)) / (area_of_circle)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Lines L1 and L2 represent the length of the portion of each line that falls within the circle. The corresponding population field values are V1 and V2.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000012000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000012000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, you are not applying a population field, so it is reduced to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new;"&gt;Density = (L1 + L2) / (area_of_circle)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you are using a search radius of 3000m, the area of the circle is ± 28274333m² (or 2827ha or 28.27km²). This causes the density to result in very low values. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Help you will also find this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;A default area unit is&amp;nbsp; selected based on the linear unit of the projection definition of the&amp;nbsp; input polyline feature data or as otherwise specified in the&amp;nbsp; output coordinate system environment setting. For line density, when an &lt;SPAN style="color:#ff0000;"&gt;area unit factor is specified, it converts the units of both length and area&lt;/SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;For&amp;nbsp; example, if the linear unit is meters, the output area units will&amp;nbsp; default to SQUARE_KILOMETERS and the resulting line density units will&amp;nbsp; convert to kilometers per square kilometer. The end result, &lt;SPAN style="text-decoration:underline;"&gt;comparing an&amp;nbsp; area scale factor of meters to kilometers, will be the density values&amp;nbsp; being different by a multiplier of 1,000&lt;/SPAN&gt;. &lt;/SPAN&gt;&lt;SPAN&gt;(... so not 1,000,000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you to interpret the results, although it may not be what you are looking for...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 08:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/incorrect-results-from-line-density-tool/m-p/228920#M3223</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-09-05T08:31:55Z</dc:date>
    </item>
  </channel>
</rss>

