<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Dev/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Geoprocessing : beginner</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx</link><description>Tags: beginner</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Lidar Solutions in ArcGIS_part6: Updating a portion of a terrain dataset with new measurements</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/07/02/Lidar-Solutions-in-ArcGIS_5F00_part6_3A00_-Updating-a-portion-of-a-terrain-dataset-with-new-measurements.aspx</link><pubDate>Thu, 02 Jul 2009 17:36:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:6740</guid><dc:creator>bbicking1</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/6740.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=6740</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;This is the sixth blog in a series on Lidar Solutions in ArcGIS. The author of this blog is Clayton Crawford, lead Product Engineer on ESRI's 3D Analyst team in the Software Products group in Redlands.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Updating a portion of a terrain dataset with new measurements&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The ability to update a surface is important to people responsible for providing accurate, up to date surfaces and people performing analysis on those surfaces. Updates come in different forms:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adding ancillary data (e.g., breaklines)&lt;/LI&gt;
&lt;LI&gt;Removing or replacing bad data&lt;/LI&gt;
&lt;LI&gt;Using newer or more accurate data&lt;/LI&gt;
&lt;LI&gt;Increasing extent with additional data&lt;/LI&gt;
&lt;LI&gt;Inserting design/modeled data to perform ‘what-if’ analysis&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;These kinds of updates are best performed on the measurements used to construct a surface rather than on derivatives like raster DEMs. Those can be recreated as needed after the measurement edits have taken place. Terrain datasets support this editing model because they maintain a direct link to the source measurement data. When you modify the measurements, you are automatically modifying the terrain in the same process.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How terrains are edited&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Editing a terrain dataset is really about editing measurements. Using standard feature edit tools, you can manipulate the measurements that reside in feature classes that participate in a terrain.&lt;/P&gt;
&lt;P&gt;Terrains are made from one or more feature classes with some simple rules for each that control how they get used to shape the terrain surface. For example, a multipoint feature class containing lidar points can get added as mass points, a line feature class containing streams and lake shores is used as a source of breaklines, and a polygon feature class can control the data area boundary.&lt;/P&gt;
&lt;P&gt;Most feature classes used to define a terrain are what we call &lt;EM&gt;referenced&lt;/EM&gt;. This means that the terrain maintains a pointer, or handle, to them. The terrain prevents its referenced feature classes from being deleted, and pays attention to any edits that occur on them including the addition, deletion, or modification of feature geometry. You can use the feature editor in ArcMap as well as geoprocessing tools to modify these feature classes. A terrain will automatically flag itself as ‘dirty’ in areas where edits were made. Then the terrain can be rebuilt to bring its pyramid in sync with the updated features. It does this based on the dirty areas so it’s a local, or partial, process; the entire terrain does not need to be reconstructed.&lt;/P&gt;
&lt;P&gt;Multipoint feature classes have the option of being &lt;EM&gt;embedded&lt;/EM&gt;. When multipoints are embedded the terrain build process copies the points into pyramid tables held private by the terrain and it becomes the container for the points. The terrain does not reference the source feature class. That can be deleted, allowing you to retrieve what is typically a substantial amount of disk space; approximately 1GB per 150 million points. Terrain specific tools, Add Terrain Points (which can both add and replace) and Remove Terrain Points, are used to edit the embedded points based on an area of interest. These tools also offer the benefit of being BLOB attribute aware so if you have any LAS attributes stored with those multipoints (for more on this topic see &lt;A class="" title="blog on creating intensity images" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/05/12/Lidar-Solutions-in-ArcGIS_5F00_part5_3A00_-Creating-Intensity-Images-from-Lidar.aspx" target=_blank&gt;blog on creating intensity images&lt;/A&gt;) the tools know how to keep the BLOB based values in sync with the points relative to the edits. For example, if a few vertices of a multipoint are deleted from an embedded feature class, the terrain will delete the corresponding BLOB based attribute values for those points.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Appending measurements&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Measurements can be added to a terrain via the Append and Add Terrain Points geoprocessing tools. The Append tool operates on regular (&lt;EM&gt;referenced&lt;/EM&gt;) feature classes. The Add Terrain Points tool is used to add or replace points in &lt;EM&gt;embedded&lt;/EM&gt; feature classes. You can also add a feature class to an existing terrain via the Add Feature Class To Terrain tool but be aware that this is treated as a schema edit that invalidates the entire terrain, requiring a full rebuild. If data is to be added incrementally, it’s best to append it to a feature class that already participates in the terrain than add a new feature class to the terrain for each new set of data.&lt;/P&gt;
&lt;P&gt;Let’s take a scenario where data is provided in phases. In this example the bare earth lidar points are made available first. The breaklines come later in several deliveries. Knowing this schedule, you can create a terrain referencing the lidar multipoint feature class plus an empty line feature class held in anticipation of the breaklines. See Figure 1 with a zoomed-in view of a terrain made solely with bare earth lidar points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6730.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6730/416x298.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When some of the breaklines are made available they are added to the terrain by adding them to the line feature class referenced by the terrain. This is done using the geoprocessing Append tool (Figure 2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6731.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6731/407x399.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After running Append, the terrain will become ‘dirty’ in the areas where the lines were added. To see the dirty areas you add a dirty area renderer from the Symbology tab of the terrain layer Properties dialog (Figures 3a and 3b).&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6734.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6734/582x468.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6735.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6730.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6735.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6735/434x319.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this point the terrain needs to be rebuilt. This is done using either the Build Terrain geoprocessing tool or the Build button on the Update tab of the terrain Properties dialog in ArcCatalog. Once the terrain is re-built the improvement made by the breaklines is evident (Figure 4).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6736.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6736/418x319.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Replace&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;With lines and polygons in &lt;EM&gt;referenced&lt;/EM&gt; feature classes the replacement of measurements is a two step process. First you delete the old then append the new. If you’re only dealing with a handful of features then you can select and delete them using the Editor in ArcMap. For larger collections rely on geoprocessing tools. For example, use Select By Location followed by Delete Features and Append.&lt;/P&gt;
&lt;P&gt;It’s easiest to replace lidar points if they’re &lt;EM&gt;embedded&lt;/EM&gt;. There’s a geoprocessing tool called Add Terrain Points that has a Replace option. This will replace all the points within a given area. So, if you discover something was wrong with a few source point files that were used to build a terrain you can replace them without needing to rebuild the entire terrain from scratch. Figure 5 shows an example where one area, in an otherwise bare earth model, that was inadvertently loaded with first return data.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6737.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6737/517x213.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To fix this problem load the replacement data into a new multipoint feature class. Then run the Add Terrain Points tool with the Replace option. By default, the replacement area will come from the extent of the input feature class (Figure 6).&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture6738.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/6738/405x381.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Once the points have been replaced the terrain needs to be rebuilt to update the affected area. Run the Build Terrain geoprocessing tool or use the Build Terrain button on the Update tab of the terrain Properties dialog in ArcCatalog – either one fixes the terrain.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Conclusion&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There are times when updates to a surface model are needed, be it for quality improvement or what-if scenario analysis. It’s hard to make these types of updates to derivative products like raster DEMs without ending up with some anomalies around the update area. It’s more appropriate to modify the source measurement data from which the surface model is derived. For larger datasets, like those coming from lidar, it’s also desirable that datasets only be reprocessed where the updates occur rather than rebuilding everything. Terrain datasets support this by maintaining links to their source measurements in the geodatabase and their use of dirty areas.&lt;/P&gt;
&lt;P&gt;That concludes part 6 of Lidar Solutions in ArcGIS. Subscribe to this blog or check back in a month or so for a discussion on how to minimize noise from lidar for contouring and slope analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=6740" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category></item><item><title>Spatial Statistics: What’s so HOT about Spatial Pattern Analysis?</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/05/04/Spatial-Statistics_3A00_-What_1920_s-so-HOT-about-Spatial-Pattern-Analysis_3F00_.aspx</link><pubDate>Mon, 04 May 2009 16:08:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:5723</guid><dc:creator>bbicking1</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/5723.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=5723</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;This blog post was written by Lauren Scott, Geoprocessing/Spatial Statistics Product Engineer in the Software Products Group at ESRI in Redlands.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Hot Spot Analysis is just one of the pattern analysis tools in the Spatial Statistics Toolbox.You can use these tools to explore spatial patterns in order to answer questions like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Where are crime rates unexpectedly high?&lt;/LI&gt;
&lt;LI&gt;Are there regions in the country where people live longer&lt;/LI&gt;
&lt;LI&gt;Where do we find anomalous spending patterns?&lt;/LI&gt;
&lt;LI&gt;Are there sharp boundaries between affluence and poverty?&lt;/LI&gt;
&lt;LI&gt;Is the disease remaining geographically fixed or is it spreading?&lt;/LI&gt;
&lt;LI&gt;Which features are most concentrated?&lt;/LI&gt;
&lt;LI&gt;Does the spatial pattern of the virus mirror the spatial pattern of the population at risk?&lt;/LI&gt;
&lt;LI&gt;Which site is most accessible?&lt;/LI&gt;
&lt;LI&gt;Where is the population center?&lt;/LI&gt;
&lt;LI&gt;Which species has the broadest territory?&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;To learn more about spatial pattern analysis, check out some of these resources:&lt;/P&gt;
&lt;P&gt;- &lt;A class="" title="The ESRI Guide to GIS Analysis, Volume 2" href="http://gis.esri.com/esripress/display/index.cfm?fuseaction=display&amp;amp;websiteID=86&amp;amp;moduleID=0"&gt;The ESRI Guide to GIS Analysis, Volume 2&lt;/A&gt;&lt;BR&gt;- &lt;A class="" title="Understanding Spatial Statistics in ArcGIS 9" href="http://training.esri.com/acb2000/showdetl.cfm?did=6&amp;amp;Product_id=852"&gt;Understanding Spatial Statistics in ArcGIS 9&lt;/A&gt;, a free one-hour Web seminar&lt;BR&gt;- The &lt;A class="" title="Spatial Statistics Toolbox" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_the_Spatial_Statistics_toolbox"&gt;Spatial Statistics Toolbox&lt;/A&gt; online documentation&lt;BR&gt;- View a five-minute &lt;A class="" title=video href="http://www.esri.com/software/arcgis/arcinfo/demos.html"&gt;video&lt;/A&gt; showing a hot-spot analysis of 911 emergency call data (click on “Using Spatial Statistics Tools”)&lt;BR&gt;- Download a &lt;A class="" title="hot-spot analysis model" href="http://resources.esri.com/geoprocessing/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=15870"&gt;hot-spot analysis model&lt;/A&gt; from the &lt;A class="" title="Geoprocessing Resource Center" href="http://resources.esri.com/Geoprocessing/"&gt;Geoprocessing Resource Center&lt;/A&gt;.&lt;BR&gt;- &lt;A class="" title="Extend Crime Analysis with ArcGIS Spatial Statistics Tools" href="http://www.esri.com/news/arcuser/0405/ss_crimestats1of2.html"&gt;Extend Crime Analysis with ArcGIS Spatial Statistics Tools&lt;/A&gt; , &lt;A class="" title="Spatial Statistics Provide New Insights" href="http://www.esri.com/news/arcuser/1207/ticks.html"&gt;Spatial Statistics Provide New Insights&lt;/A&gt;, or &lt;A class="" title="Spatial Patterns of Disease Inspire New Ideas on Possible Causes" href="http://www.esri.com/news/arcwatch/1007/spatial-patterns.html"&gt;Spatial Patterns of Disease Inspire New Ideas on Possible Causes&lt;/A&gt; in ArcUser Online&lt;BR&gt;- Spatial Pattern Analysis concepts are discussed in the ArcGIS 9.3 Web help and include &lt;A class="" title="Modeling Spatial Relations" href="http://www.esri.com/news/arcwatch/1007/spatial-patterns.html"&gt;Modeling Spatial Relations&lt;/A&gt;, &lt;A class="" title="What is a Z Score?  What is a P value?" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=What_is_a_Z_score_What_is_a_p-value"&gt;What is a Z Score?&amp;nbsp; What is a P value?&lt;/A&gt;, and &lt;A class="" title="Spatial Weights" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Spatial_weights"&gt;Spatial Weights&lt;/A&gt;.&lt;BR&gt;- Technical workshop &lt;A class="" title=slides href="http://proceedings.esri.com/library/userconf/hss06/docs/spatial.pdf"&gt;slides&lt;/A&gt; are available from the ESRI Public Health and Homeland Security Conferences.&lt;/P&gt;
&lt;P&gt;Have fun!&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=5723" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Spatial+Statistics/default.aspx">Spatial Statistics</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/hot+spot+analysis/default.aspx">hot spot analysis</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/spatial+pattern+analysis/default.aspx">spatial pattern analysis</category></item><item><title>Send us your feedback</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/03/25/Send-us-your-feedback.aspx</link><pubDate>Wed, 25 Mar 2009 23:47:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2779</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2779.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2779</wfw:commentRss><description>&lt;p&gt;You may not have noticed, but you can send us feedback about this site. There's
a feedback link at the bottom right of the home page, as illustrated at the bottom 
of this post.&lt;/p&gt;


&lt;p&gt;We're particularly interested in hearing from you about blog post topics
you'd like to see and suggestions on how we could make this site more useful.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2780.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2780/408x480.aspx" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2779" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/New+at+9.3/default.aspx">New at 9.3</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Spatial+Analysis/default.aspx">Spatial Analysis</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/script+tools/default.aspx">script tools</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Python/default.aspx">Python</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/ArcSDE/default.aspx">ArcSDE</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Geostatistical+Analyst/default.aspx">Geostatistical Analyst</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Digging+deeper/default.aspx">Digging deeper</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/UNIX_2F00_Linux/default.aspx">UNIX/Linux</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/ModelBuilder/default.aspx">ModelBuilder</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/2009+Developers+Summit/default.aspx">2009 Developers Summit</category></item><item><title>Lidar Solutions in ArcGIS_part4: Estimating Forest Density and Height</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/03/17/Lidar-Solutions-in-ArcGIS_5F00_part4_3A00_-Estimating-Forest-Density-and-Height.aspx</link><pubDate>Tue, 17 Mar 2009 15:44:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:4145</guid><dc:creator>bbicking1</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/4145.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=4145</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;EM&gt;This blog post is written by Clayton Crawford, a Product Engineer in the Software Products Group's 3D Team in Redlands&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;This is the fourth in a series on Lidar Solutions in ArcGIS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Estimating Forest Canopy Density and Height&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Canopy density and height are used as variables in a number of applications. These include the estimation of biomass, forest extent and condition, and biodiversity. Canopy density, or canopy cover, is the ratio of vegetation to ground as seen from the air. Canopy height measures how far above the ground the top of the canopy is. Lidar can be used to determine both.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;What follows are steps to calculate canopy density and height from lidar points. First, you need lidar that's been classified into ground hits (bare earth) vs. non-ground hits. This type of classification is usually performed by your data provider. Secondly, you need to consider when the lidar was collected and the type of vegetation in the study area. If there are a lot of deciduous trees and the data collection was performed during leaf off, then the density calculation is not going to work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Loading points into the Geodatabase&lt;BR&gt;&lt;/STRONG&gt;To calculate canopy density load the ground, or bare earth, lidar points into one multipoint feature class and above ground points into another. Assuming your data are in LAS format, you do this with the &lt;A class="" title="LAS to Multipoint tool" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Importing_terrain_dataset_source_measurements"&gt;LAS To Multipoint tool&lt;/A&gt;. Specify the proper class codes to filter on. Here are the LAS class codes as defined in the &lt;STRONG&gt;&lt;EM&gt;LAS 1.1 Standard&lt;/EM&gt;&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4133.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4133/252x197.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Any LAS file made in the last few years should use these codes if the points have been classified. Unfortunately, there’s still some ambiguity in the standard. For example, we know class ‘2’ is ground but class ‘8’ is ground as well. Class ‘8’, or model key, points are a special set of ground points used for contouring or other application requiring a thinned set of ground points. Whether you have them depends on how the data was processed. If you don’t know specify both classes. If it turns out there aren’t any model key points it won’t hurt. Vegetation has a similar issue. Sometimes vendors place everything that’s above ground into class ‘1’ because they haven’t performed a more detailed classification on them. So, if you’re unsure of the specifics of your data’s classification, load non-ground points using classes 1, 3, 4, and 5; that’s a reasonable catch-all to get your vegetation points. Note: If buildings or other manmade non-ground features are in class ‘1’ you’ll get them too and they’ll skew the results somewhat.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Calculating the density&lt;BR&gt;&lt;/STRONG&gt;The most effective way to determine the canopy density is to divide the study area into many small equal sized units. Do this through rasterization. In each raster cell you compare the number of above ground hits to total hits. The trick is to figure out an appropriate cell size. It needs to be at least 4 times the average point spacing. You can go larger but not smaller.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;1. Use the Point To Raster tool on the above ground points with the COUNT option.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4134.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4134/391x319.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;2. Convert any resulting NoData cells to 0 so that subsequent operations treat zero points in a cell as 0. This is accomplished using the Is Null tool followed by Con.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4135.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4135/391x218.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Next use the&amp;nbsp;Con Tool&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4136.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4136/391x319.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;3. Repeat steps 1 and 2 with the ground points.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;4. Add the above ground and ground rasters to get a total count per cell using the Plus tool.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4137.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4137/391x219.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;5. All the rasters we’ve made so far are longs. We need one to be floating point in order to get floating point output from the Divide function that we’ll use in step 6. Do this by sending the output from Plus through the Float tool.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4139.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4139/391x219.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;6. Now use the Divide tool between the above ground count raster and the floating point total count raster. This gives us the ratio from 0.0 to 1.0 where 0.0 represents no canopy and 1.0 very dense canopy.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4140.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4140/391x219.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The following image represents &lt;STRONG&gt;&lt;EM&gt;canopy density&lt;/EM&gt;&lt;/STRONG&gt;. The lightest areas have little to no vegetation. These are areas where a large percentage of lidar shots could ‘see’ the ground. The dark green areas, where lidar could not penetrate to ground as well, indicate denser vegetation canopy.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4141.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4141/520x321.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Calculating the height&lt;/STRONG&gt;&lt;BR&gt;To determine canopy height you'll need to subtract the bare earth surface (DEM) from the 1st return surface (DSM). Take a look at a previous blog to learn how to make these surfaces. Find it at this link: &lt;A class="" title="Creating raster DEMs and DSMs from large lidar point collections" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/15/Lidar-Solutions-in-ArcGIS_5F00_part2_3A00_-Creating-raster-DEMs-and-DSMs-from-large-lidar-point-collections.aspx"&gt;Creating raster DEMs and DSMs from large lidar point collections&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Once you have your first return and bare earth rasters the Minus tool gives you the difference which, over forest, represents the canopy height.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4142.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4142/391x219.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The following image represents &lt;STRONG&gt;&lt;EM&gt;canopy height&lt;/EM&gt;&lt;/STRONG&gt; above ground. It ranges from blue for little to no height, to orange which is the tallest.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture4143.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/4143/521x322.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Conclusion&lt;/STRONG&gt;&lt;BR&gt;Lidar can be used to calculate the density and height of vegetation. This is useful for a variety of purposes including biomass and carbon estimates as well as forest management.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;That concludes part four of Lidar Solutions in ArcGIS. Subscribe to this blog or check back in a month or so for a discussion on the creation of intensity images from lidar.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;/FONT&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=4145" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category></item><item><title>Tips and tricks - accessing feature shape in Calculate Field</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/03/06/Tips-and-tricks-_2D00_-accessing-feature-shape-in-Calculate-Field.aspx</link><pubDate>Fri, 06 Mar 2009 23:44:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:3997</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/3997.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=3997</wfw:commentRss><description>&lt;p&gt;With the &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1737&amp;amp;pid=1733&amp;amp;topicname=Calculate_Field_%28Data_Management%29" target="_blank"&gt;Calculate Field tool&lt;/a&gt;, you can easily create expressions that use 
some property of a feature's shape, such as length or area.  You can also convert 
length and area to different units.  The illustration below shows calculating 
the MILES field to the length (in miles) of each line feature.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3998.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3998/381x447.aspx" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;

&lt;h5&gt;Details about the Expression syntax&lt;/h5&gt;

&lt;p&gt;The expression syntax -- 
&lt;font face="courier new, courier, mono"&gt;!shape.length@miles!&lt;/font&gt; -- 
starts and ends with the special 'decode field' character.  
This decode field character is different 
depending on the value of the Expression Type parameter.  For Expression Type 
of PYTHON or PYTHON_9.3, the character is an exclamation point ("!"), as shown 
in the illustration above.  For VB, the decode field characters 
are "[" and "]".&lt;/p&gt;

&lt;p&gt;Inside the decode field characters, you can put the name of any field 
found on the input table.  You can also use the reserved field name "&lt;font face="courier new, courier, mono"&gt;shape&lt;/font&gt;" 
followed by a period and an attribute of the shape.  In this case, we're 
using the length attribute:  &lt;font face="courier new, courier, mono"&gt;!shape.length!&lt;/font&gt;  &lt;/p&gt;

&lt;p&gt;Finally, we convert shape.length to miles with the use of the special 
unit conversion syntax '&lt;font face="courier new, courier, mono"&gt;@&amp;lt;unit&amp;gt;&lt;/font&gt;'.  
 Unit can be any of the following: 
CENTIMETERS | DECIMALDEGREES | DECIMETERS | FEET | INCHES | KILOMETERS | 
METERS | MILES | MILLIMETERS | NAUTICALMILES | POINTS | YARDS.  &lt;/p&gt;

&lt;p&gt;If your shape type is polygon, you can use these areal unit keywords:  
ACRES | ARES | HECTARES | SQUARECENTIMETERS | SQUAREDECIMETERS | SQUAREINCHES | 
SQUAREFEET | SQUAREKILOMETERS | SQUAREMETERS | SQUAREMILES | SQUAREMILLIMETERS | 
SQUAREYARDS&lt;/p&gt;

&lt;h5&gt;More things you can do with the shape object and its attributes&lt;/h5&gt;

&lt;p&gt;The shape field is actually a &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=The%20geometry%20object" target="_blank"&gt;geometry object&lt;/a&gt; with the following properties.  &lt;/p&gt;

&lt;p&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/images/3999/original.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3999/215x271.aspx" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;


&lt;p&gt;If, for example, you wanted the X-coordinate of the first point of a line, 
you would use &lt;font face="courier new, courier, mono"&gt;!shape.firstpoint.x!&lt;/font&gt;  
To find the minimum X-coordinate of the line, 
use &lt;font face="courier new, courier, mono"&gt;!shape.extent.xmin!&lt;/font&gt;&lt;/p&gt;

&lt;h5&gt;Simple equations&lt;/h5&gt;
&lt;p&gt;The expression can contain simple equations.  For example, to calculate  
 minutes it would take to traverse a street segment going 30 miles per hour, 
 use:&lt;/p&gt;
 
&lt;p&gt;&lt;font face="courier new, courier, mono"&gt;!shape.length@miles! / (30.0 / 60.0)&lt;/font&gt;&lt;/p&gt;
   
 
&lt;p&gt;&amp;nbsp;Note that:
 &lt;/p&gt;

&lt;p&gt;&lt;font face="courier new, courier, mono"&gt;!shape.length@miles! / (30 / 60)&lt;/font&gt; &lt;/p&gt;
 
&lt;p&gt;won't work - when doing real arithmetic you need the decimal point after 30 and 60.&lt;/p&gt;
&lt;h5&gt;Code blocks&lt;/h5&gt;
&lt;p&gt;See &lt;a href="http://www.esri.com/news/arcuser/0507/files/pythonscript.pdf" target="_blank"&gt;http://www.esri.com/news/arcuser/0507/files/pythonscript.pdf&lt;/a&gt; for information on using code blocks in Calculate Field&lt;br&gt;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=3997" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Python/default.aspx">Python</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category></item><item><title>ModelBuilder posting at the Mapping Center</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/03/05/ModelBuilder-posting-at-the-Mapping-Center.aspx</link><pubDate>Fri, 06 Mar 2009 00:57:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:3977</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/3977.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=3977</wfw:commentRss><description>&lt;p&gt;Here's a great post on the mapping center about ModelBuilder:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.esri.com/Support/blogs/mappingcenter/archive/2009/02/19/10-things-I-wish-I-had-known-about-ModelBuilder-before-I-started-using-it.aspx#1092" title="What I wish I had known about ModelBuilder before I started using it"&gt;What I wish I had known about ModelBuilder before I started using it&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=3977" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/ModelBuilder/default.aspx">ModelBuilder</category></item><item><title>Lidar Solutions in ArcGIS_part3: Data Area Delineation from Lidar Points</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/02/13/Lidar-Solutions-in-ArcGIS_5F00_part3_3A00_-Data-Area-Delineation-from-Lidar-Points.aspx</link><pubDate>Fri, 13 Feb 2009 16:24:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:3725</guid><dc:creator>bbicking1</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/3725.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=3725</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;EM&gt;This blogs is written by Clayton Crawford, a Product Engineer in the Software Products Group's 3D Team in Redlands.&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;This is the third blog in a series on Lidar Solutions in ArcGIS. Links to the first and second posts are below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Data Area Delineation from Lidar Points&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;It's common for lidar or photogrammetric data for a survey to be delivered without a detailed data area boundary. Often, the xy extents of the survey are defined by a tile system that covers an area of interest and the data fills these tiles (Figure 1) or the data are simply guaranteed to cover some minimal extent and there is no explicit or absolute boundary other than what can be inferred (Figure 2). Either way, the area of coverage is usually not a cleanly filled rectangle.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3715.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3715/583x372.aspx" border=0&gt;&lt;/A&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3715.aspx" target=_blank&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;The problem&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;If a surface is made without declaring the data area up front (i.e., by including a clip polygon when defining a terrain dataset or TIN) then some of what are actually voids around the perimeter get treated as data areas. Analytic results in these areas are unreliable because height estimates are based on samples that can be far away.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Take, for example, the data shown in Figure 3. The graphic on the left depicts a dense collection of lidar points shown in green. The gaps in the interior are water bodies (where lidar is typically omitted). The irregularly shaped data boundary is easy to see but unless an explicit extent is provided, in the form of a clip polygon, TIN and terrain related tools will fill in voids, greatly oversimplifying the actual data extent.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3716.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3716/558x263.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;We know areas outside the data collection extent should be excluded from the surface. The problem is coming up with the polygon that provides an accurate representation of this extent. Hand digitizing is laborious. There’s an easier way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;The solution&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;What we need to do is synthesize a data boundary from the points that can be used to enforce a proper interpolation zone in the surface (Figure 4).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3717.aspx" target=_blank&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3717.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3717/561x187.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The key to the equation is the average point spacing. This is the primary variable to use when going after the data area. Surveys usually have explicit minimums on point spacing in order to provide control for interpolators. Areas that don't meet density requirements are exceptions. They usually fall in one of the following categories: water bodies, obscured areas, and ‘holidays’ (send the latter back to the data provider for repair). The vast majority of the data will meet sample density specifications. Point spacing is usually reported in metadata. If you don’t know it try the 3D Analyst Point File Information tool. Alternately, eyeball it using the Measure tool in ArcMap. To learn more about point spacing use the link at the top.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Once you know the point spacing you follow these steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Rasterize the points with Point To Raster.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Assign one value to all data cells with Con.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Fill small NoData areas with Expand.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Reduce the overall extent of data cells with Shrink.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Vectorize the raster with Raster To Polygon.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Use a VBA script to remove small holes (interior rings) from polygon(s).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;EM&gt;Note that a Spatial Analyst license is required to run a number of these tools.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The remainder of this document goes into more detail on each of these steps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Point To Raster&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Rasterization of the points will help aggregate the area covered by the points and provides a good data structure to work with for subsequent steps. You just need to tell the tool what cell assignment type to use and the output cellsize. Use the COUNT as the assignment type. As far as cellsize goes, specify a value that's several times larger than average point spacing. Otherwise, you’ll get a lot of noise because the points aren’t evenly spaced. From the standpoint of processing efficiency and noise reduction, the larger cellsize you use the better, but there will be a tradeoff with the tightness of fit in the end result. A good place to start is 4 times the average point spacing (Figure 5).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3718.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3718/384x379.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Con&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The use of the Con tool in this workflow is to simply turn any and all data cells into cells with one value. This value defines a raster ‘zone’ that will be expanded in the next step. All that’s needed is to take the output from Point To Raster and provide a constant value for a positive expression. All non-zero value cells will be considered positive and be assigned the constant. Since COUNT was used as the cell assignment method during rasterization, any cell with a point in it must have a value greater than zero (Figure 6).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3719.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3719/383x377.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Expand&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Unless you used a very coarse cellsize relative to your average point spacing, there's a likelihood many NoData cells remain. Most of these can be eliminated using Expand (Figure 7). You want to remove most of these so the polygon produced during vectorization in a later step isn’t full of a million holes. That would be unnecessarily expensive.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3720.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3720/386x375.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;Expand will grow the zone of interest outward. In our case the zone is all the data cells, coded with a value of 1. This effectively eliminates small gaps found in the interior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3721.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3721/575x229.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;It’s okay if some isolated NoData areas remain in the output. You just don’t want thousands upon thousands. The remainder will be handled in the last step.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Shrink&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;While Expand eliminates isolated NoData cells it also grows the data area outward. It needs to actually be brought in a little. Clip polygons need to be smaller than the actual point extent, so when terrain or TIN tries to estimate z values along the polygon boundary points can be found on both sides. This is needed to get good z estimates. To reduce the raster’s data boundary use Shrink (Figure 9).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3722.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3722/575x393.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;At this point you should have a relatively clean raster with the extent of its data cells slightly within the lidar point extent.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Raster To Polygon&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The Raster to Vector tool will convert the raster to a polygon feature class. Make sure the Simplify polygons option is checked. If it’s not, the output will be stair-stepped, rather than smooth, and contain more vertices than necessary (Figure 10).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3723.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3723/561x391.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;At this point, the process is almost complete. You need to review the output for correctness. Chances are there’s one more thing that needs to be done: the removal of remaining holes inside your clip polygon.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Remove Interior Rings from Polygons VBA Script&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;If holes are present in the resulting polygon, grab the RemoveInteriorRings VB script from ArcScripts online (&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16019"&gt;http://arcscripts.esri.com/details.asp?dbid=16019&lt;/A&gt;). This will edit out the internal rings leaving just the exterior boundaries. To run the script, follow these steps:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Have your polygon feature class output from Raster To Polygon as the first layer in a map document.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Go into VBA inside ArcMap via Tools&amp;gt;Macros&amp;gt;Visual Basic Editor.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;From the Project window right click on the project, select Import File, and bring in the VBA module you downloaded from ArcScripts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;Run the RemoveInteriorRings macro.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;You should now have a clip polygon that can be used when defining a terrain dataset or TIN. It should conform to the data extent of the points but fall slightly inside them (Figure 11).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3724.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3724/578x246.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;That concludes this part of Lidar Solutions in ArcGIS. Subscribe to this blog or check back in a month or so for a discussion on the estimation of forest canopy density and height from lidar.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The first post can be found here: &lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/10/29/Lidar-Solutions-in-ArcGIS_5F00_part-1_3A00_-Assessing-Lidar-Coverage-and-Sample-Density.aspx"&gt;&lt;FONT face=Arial size=2&gt;http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/10/29/Lidar-Solutions-in-ArcGIS_5F00_part-1_3A00_-Assessing-Lidar-Coverage-and-Sample-Density.aspx&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';mso-fareast-font-family:'MS Mincho';mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA;"&gt;The second post can be found here: &lt;A href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/15/Lidar-Solutions-in-ArcGIS_5F00_part2_3A00_-Creating-raster-DEMs-and-DSMs-from-large-lidar-point-collections.aspx"&gt;&lt;FONT face=Arial size=2&gt;http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/15/Lidar-Solutions-in-ArcGIS_5F00_part2_3A00_-Creating-raster-DEMs-and-DSMs-from-large-lidar-point-collections.aspx&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=3725" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category></item><item><title>Lidar Solutions in ArcGIS_part2: Creating raster DEMs and DSMs from large lidar point collections</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/15/Lidar-Solutions-in-ArcGIS_5F00_part2_3A00_-Creating-raster-DEMs-and-DSMs-from-large-lidar-point-collections.aspx</link><pubDate>Mon, 15 Dec 2008 18:27:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:3306</guid><dc:creator>bbicking1</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/3306.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=3306</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;I&gt;This blog is written by Clayton Crawford, a Product Engineer in the Software Products Group’s 3D Team in Redlands.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;This is the second blog in a series on Lidar Solutions in ArcGIS. The first can be found here: &lt;A class="" title="Lidar Solutions in ArcGIS_part1: Assessing Lidar Coverage and Sample Density" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/10/29/Lidar-Solutions-in-ArcGIS_5F00_part-1_3A00_-Assessing-Lidar-Coverage-and-Sample-Density.aspx" target=_blank&gt;Lidar Solutions in ArcGIS_part1: Assessing Lidar Coverage and Sample Density&lt;/A&gt;.&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;B&gt;Lidar Solutions in ArcGIS_part2: Creating raster DEMs and DSMs from large lidar point collections&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Raster, or gridded, elevation models are one of the most common GIS data types. They can be used in many ways for analysis and are easily shared. Lidar provides us with the opportunity to make high quality elevation models of two distinct flavors: first return and ground. A first return surface includes tree canopy and buildings and is often referred to as a Digital Surface Model (DSM). The ground, or bare earth, contains only the topography and is frequently called a Digital Elevation Model (DEM).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3352.aspx" target=_blank&gt;&lt;IMG style="WIDTH:540px;HEIGHT:263px;" height=259 src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3352/original.aspx" width=518 border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3307.aspx" target=_blank&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3308.aspx" target=_blank&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;ArcGIS provides tools to take large lidar point collections, and optionally other surface related information like photogrammetric breaklines, and use them to produce high quality raster surfaces. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;B&gt;&lt;I&gt;Coming up with a plan&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Before continuing some basic factors need to be evaluated: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Extent of lidar coverage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Number of lidar points and point density&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Desired output raster resolution&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Extent of output raster(s)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;Format of output raster(s)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;&lt;SPAN style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman','serif';"&gt;
&lt;P&gt;Consideration of these factors will help determine whether you’ll be producing one raster or a collection. Part of this process requires you figure out how many rows and columns you’re willing to have in one raster. This depends on what you intend to do with the raster in terms of analysis, display, and potential sharing or distribution of the data. The desire to work off one dataset for analysis can be in conflict with practical constraints associated with dataset size. Another thing to consider is the amount of lidar you have. Trying to process 10 billion lidar points as one dataset, while possible, is likely to prove unwieldy. It’s pretty much a given you’ll be making multiple rasters from this amount of lidar, so consider splitting up the lidar processing as well. Not only does this keep individual datasets at reasonable sizes, it keeps process duration on those datasets shorter. The longer a process takes to execute, the more likely something’s going to go wrong (e.g., power outage). We all want to reduce risk, right?&lt;/P&gt;
&lt;P&gt;If you’ve determined you need to split up your data, the next question is how. Will it be based on a regular grid system, political boundaries, or division based on an anticipated application? Since lidar collections tend to have multiple uses, splitting them up based on a regular grid system or political divisions like county boundaries makes the most sense. An engineer can mosaic the different pieces he or she needs for an individual project. If the intended use is weighted heavily for one type of application, such as hydrology, then use divisions logical for the application. For example, in the case of hydrology, watershed boundaries are a good candidate.&lt;/P&gt;
&lt;P&gt;ArcGIS supports many raster formats, so you have a choice of what format to write to. This decision is best based on the intended use of the product. If it’s to be shared with the general public you might think about distributing in either TIFF or JPEG format. For analysis on the ArcGIS platform, the ESRI GRID format is best. This is the native format for many functions so to improve I/O efficiency, and therefore processing time, using GRID is the way to go.&lt;/P&gt;
&lt;P&gt;The first step in getting from lidar points to raster is loading the points into a GDB. If you haven’t already done so, review the first part of this series. Use the link at the beginning of this blog to get to it. &lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;B&gt;Using the Point to Raster tool&lt;/B&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;If your only source of data is the lidar you can use the Point to Raster tool to produce a raster elevation models. While this does not produce the highest quality result possible lidar tends to be so dense that for many applications the accuracy is good enough and the convenience and speed of this tool make it worthwhile. &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If producing a bare earth surface, or DEM, use just the ground lidar points.&lt;/LI&gt;
&lt;LI&gt;Set the Value field parameter on the tool to Shape to use the z values from the multipoint vertices.&lt;/LI&gt;
&lt;LI&gt;Set the Cell assignment type to either MIN or MEAN. MIN will bias output heights to local lows while MEAN is more general purpose.&lt;/LI&gt;
&lt;LI&gt;To produce a first return surface, or DSM, use the 1st return lidar points with the MAX option of the tool since you want to bias the output to local highs.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3309.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3309/429x334.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Point to Raster tool produces gridded elevation models from lidar point sets.&lt;/P&gt;
&lt;P&gt;While Point to Raster offers the easiest and fastest way to produce a raster from lidar, it has a significant drawback. You can end up with many NoData cells since it only returns values for cells that have one or more points in them. The problem is exacerbated when only using ground points to make a DEM because gaps in the data occur where there’s vegetation and buildings obscuring the ground. To reduce the salt &amp;amp; pepper effect of NoData vs. data cells you can increase the output cellsize relative to the average point spacing. You can also reduce the number of NoData cells after execution of Point to Raster by using this expression in Spatial Analyst calculator on the output (in this example the output from Point to Raster is called ‘point2ras):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3321.aspx" target=_blank&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3319.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3319/original.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;You can run the expression multiple times to fill in larger NoData areas, but I wouldn’t recommend running it more than a couple times. It’s better to just accept larger void areas as a consequence of using this approach.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3353.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3353/original.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3311.aspx" target=_blank&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3312.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Using the Terrain Dataset&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;If you have photogrammetric breaklines to go along with your lidar, or need higher quality results than can be produced with the Point to Raster tool, use the terrain dataset. For an overview of the terrain dataset and related help topics check out the &lt;A class="" title="online help here" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_terrain_datasets" target=_blank&gt;online help here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3355.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3355/original.aspx" border=0&gt;&lt;/A&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3313.aspx" target=_blank&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3314.aspx" target=_blank&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the left is a surface made without breaklines along the river banks. The image on the right has breakline enforcement. Breaklines are important for maintaining the definition of water related features in the elevation model.&lt;/P&gt;
&lt;P&gt;Breaklines are used to capture linear discontinuities in the surface. The most common types are edge of pavement, lake shorelines, single line drains for small rivers and double line drains for large rivers. Sometimes breaklines are also collected to help define and sculpt the surface without necessarily representing discontinuities. Examples of these include contour-like form lines and the crests of rounded ridges.&lt;/P&gt;
&lt;P&gt;Breaklines, while frequently used in bare earth models, tend to be detrimental when used with first return surfaces because they can be in conflict with the above ground points. For example, breaklines capturing road edge of pavement can be coincident in XY but different in Z to points in tree canopy overhanging the road. Because of this, consider excluding breaklines from your first return surface or at least those where you know there’s potential conflict.&lt;/P&gt;
&lt;P&gt;The most efficient means of organizing breaklines for use in a terrain dataset – see table below- is to separate them into different feature classes based on Surface Feature Type (SFType). SFType controls how the features are enforced in the model and how the natural neighbor interpolator, used during rasterization, interprets the surface as it crosses over these features. A distinct break in slope will occur across ‘hard’ features but not across ‘soft’ features. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3315.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3315/458x283.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Common input measurement types and recommend feature class storage type and SFType settings for terrain dataset definition.&lt;/P&gt;
&lt;P&gt;It’s best for the sake of terrain performance to place all hardlines together in one feature class. It’s understood this might not be possible, for example, if you have the need to keep road and water features separate. It’s OK, just keep in mind the fewer feature classes used to define a terrain the better. &lt;/P&gt;
&lt;P&gt;The ‘Replace’ SFType deserves special mention. This type is used to force everything inside a polygon to be set flat at a constant height. It’s used mostly for lakes when there’s inadvertently other data inside them, such as lidar points, whose heights are not exactly the same as the shoreline and therefore prevent the water bodies from being flat. Use of the Replace SFType does incur more processing cost than normal hard or softlines so it’s best to avoid. Ideally there ought not be lidar samples in your water bodies (consider adding this as a stipulation in the contract with your data provider), but if you do, you can either use the Replace SFType to handle them or get rid of the offending points before building your terrain using the Erase geoprocessing tool. &lt;/P&gt;
&lt;P&gt;If you’ll be producing both bare earth and first return surfaces via terrain datasets, load the lidar points into two different multipoint feature classes, a feature class for the ground points and a feature class for the above ground points. Your bare earth terrain is defined with a reference to just the ground points. Your first return terrain references the same ground point feature class as the bare earth terrain and has the additional reference to the above ground points. Yes, this means two different terrains can reference the same feature class. &lt;/P&gt;
&lt;P&gt;Starting with ArcGIS 9.3, terrain datasets can be pyramided using one of two point thinning filters: z-tolerance and windowsize. For DEM production you can use either. If you intend to rasterize from the full resolution point set, then use the windowsize filter for terrain construction because it’s significantly faster. If you’re willing to use thinned data for analysis, which is reasonable if the lidar is oversampled for your needs, use the z-tolerance filter. While more time consuming, it’s most appropriate because it provides an estimate of vertical accuracy of the thinned representation. For DSM production use the windowsize filter with the MAX option. &lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;Use the Terrain To Raster tool to produce your rasterized elevation model. This provides options for interpolation, output cellsize, and which pyramid level to use from the terrain. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3316.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3316/400x334.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;The Terrain to Raster tool produces gridded elevation models from terrain datasets.&lt;/P&gt;
&lt;P&gt;For interpolation, the natural neighbors options is your best bet. While not as fast as linear interpolation, it generally produces better results both in terms of aesthetics and accuracy. Set the output cellsize relative to the lidar point sample density. You won’t gain anything by using a cellsize that’s substantially smaller than the average point spacing. Also, make sure to set the analysis extent, as set through the environment, for the extraction of subsets where appropriate. The use of a snap raster can also be of use for the sake of alignment of raster outputs.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Conclusion&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Using either Point To Raster or Terrain To Raster geoprocessing tools you can process hundreds of millions, even billions, of lidar points into hi-resolution gridded DEMs and DSMs. These can then be used with the large collection of raster tools available in ArcGIS for analysis. They’re also great for making maps (see graphic below) and, due to their simple data structure, easy to share.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture3317.aspx" target=_blank&gt;&lt;IMG height=428 src="http://blogs.esri.com/Dev/photos/geoprocessing/images/3317/640x453.aspx" width=609 border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Color hillshade for a DSM of Jasper County, South Carolina. Made from a terrain dataset built on top of 1.7 billion lidar points for the county.&lt;/P&gt;
&lt;P&gt;That’s it for the second part of this series on Lidar Solutions in ArcGIS. Check back for the next part: Data Area Delineation from Lidar Points.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=3306" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category></item><item><title>Lidar Solutions in ArcGIS_part1: Assessing Lidar Coverage and Sample Density</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/11/06/Lidar-Solutions-in-ArcGIS_5F00_part-1_3A00_-Assessing-Lidar-Coverage-and-Sample-Density.aspx</link><pubDate>Thu, 06 Nov 2008 22:30:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2881</guid><dc:creator>bbicking1</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2881.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2881</wfw:commentRss><description>&lt;P&gt;&lt;I&gt;This blog post is written by Clayton Crawford, Product Engineer in the Software Products Group’s 3D Team in Redlands.&lt;B&gt; &lt;/B&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;This post is the first in a series called “Lidar solutions in ArcGIS”. The series will cover Lidar processing tasks and workflows. And it will show you how to manage these vast point collections and outline approaches for mining information from them.&lt;/P&gt;
&lt;P&gt;Let me state an important point up front: This series is about Lidar &lt;I&gt;point&lt;/I&gt; processing. If you have Lidar derived &lt;I&gt;raster&lt;/I&gt; data then it won’t be of direct use, but if you need to learn how to make those rasters then read on. Also important to note: the type of Lidar involved in this discussion is collected from plane or helicopter with a laser scanner pointed downward. With this type of Lidar you can make bare earth surfaces for topographic mapping and 1st return surfaces that include vegetation and buildings. It’s not about the type of Lidar where data is collected at side-on angles.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;B&gt;Note&lt;/B&gt;&lt;/I&gt; that some of the tasks covered in the series require a 3D Analyst extension license.&lt;/P&gt;
&lt;P&gt;Here are the topics I plan to cover:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Assessing Lidar coverage and sample density [follows below]&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions in ArcGIS_part2: Creating raster DEMs and DSMs from large lidar point collections" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/12/15/Lidar-Solutions-in-ArcGIS_5F00_part2_3A00_-Creating-raster-DEMs-and-DSMs-from-large-lidar-point-collections.aspx" target=_blank&gt;Creating raster DEMs and DSMs from large Lidar point collections&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions in ArcGIS_part3: Data Area Delineation from Lidar Points" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/02/13/Lidar-Solutions-in-ArcGIS_5F00_part3_3A00_-Data-Area-Delineation-from-Lidar-Points.aspx" target=_blank&gt;Data area delineation from lidar points&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions in ArcGIS_part4: Estimating Forest Density and Height" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/03/17/Lidar-Solutions-in-ArcGIS_5F00_part4_3A00_-Estimating-Forest-Density-and-Height.aspx" target=_blank&gt;Estimating forest canopy density and height&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions in ArcGIS_part5: Creating Intensity Images from Lidar" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/05/12/Lidar-Solutions-in-ArcGIS_5F00_part5_3A00_-Creating-Intensity-Images-from-Lidar.aspx" target=_blank&gt;Creating intensity images from lidar&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions in ArcGIS_part6: Updating a portion of a terrain dataset with new measurements" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/07/02/Lidar-Solutions-in-ArcGIS_5F00_part6_3A00_-Updating-a-portion-of-a-terrain-dataset-with-new-measurements.aspx" target=_blank&gt;Updating a portion of a terrain dataset with new measurements&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions In ArcGIS_part7: Minimizing noise from lidar for contouring and slope analysis" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/09/02/Lidar-Solutions-In-ArcGIS_5F00_part7_3A00_-Minimizing-noise-from-lidar-for-contouring-and-slope-analysis.aspx" target=_blank&gt;Minimizing noise from Lidar for contouring and slope analysis&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" title="Lidar Solutions In ArcGIS_part8: Business Partner Solutions for Lidar in ArcGIS" href="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2009/10/15/Lidar-Solutions-In-ArcGIS_5F00_part8_3A00_-Business-Partner-Solutions-for-Lidar-in-ArcGIS.aspx" target=_blank&gt;Business partner solutions for lidar&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Lidar Solutions in ArcGIS_part1: Assessing Lidar Coverage and Sample Density&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;One basic QA/QC process is to ensure the Lidar points delivered by your data provider have the coverage and density expected. You want to catch problems with this early on and have them resolved before continuing. Two geoprocessing tools are useful in this regard: Point File Information found in the 3D Analyst toolbox and Point To Raster located in core Conversion Tools.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;B&gt;Point File Information&lt;/B&gt;&lt;/I&gt;&lt;BR&gt;The Point File Information tool reports basic statistics about one or more point data files on disk. The tool’s primary purpose is to help you review and summarize the data before loading it into your geodatabase.&amp;nbsp; LAS (the industry standard format for Lidar data) and ASCII format files are supported as input. Since Lidar projects often utilize collections of data files, sometimes in the hundreds or even thousands, the tool lets you specify folder names in addition to individual files. When given a folder, it reads all files inside it that have the suffix you specify. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2876.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2876.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2876/original.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For each input point file it outputs one polygon with accompanying attribution to a target feature class. The polygon graphically depicts the xy extent, or bounding box, of the data in the file. Attributes include file name, point count, z-min, z-max, and point spacing. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2879.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2879.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2879.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2879/640x296.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;The point spacing reported by Point File Information is not exact and deserves some discussion. For the sake of performance it uses a rough estimate that simply compares the area of the file’s bounding box with the point count. It’s most accurate when the rectangular extent of the file being examined is filled with data. So, files with significant numbers of points excluded over large water bodies or on the perimeter of a study area, only partially occupied with data, will not have accurate estimates. Therefore, the reported point spacing is more meaningful as a summary when looking at trends for collections of files. Something useful to do with the output feature class is to display it in ArcMap, open its attribute table, and sort the point spacing field in ascending order. You can also symbolize on the point spacing field using a graduated color ramp.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2878.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2878.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2878/original.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Point File Information works quickly on LAS files because it only needs to scan their headers to obtain the information it’s looking for. It takes significantly longer with ASCII files because with them the tool actually has to read all the data.&lt;/P&gt;
&lt;P&gt;Assuming everything checks out OK, the next thing to do is load your Lidar points into a multipoint feature class with the LAS To Multipoint or ASCII 3D To Feature Class tools. Put this feature class in a feature dataset if you intend to build a terrain dataset from the points. While you have the choice between using LAS or ASCII format files, LAS is generally a better way to go. They contain more information and, being binary, can be read by the importer more efficiently. &lt;/P&gt;
&lt;P&gt;Once the points are loaded into a multipoint feature class you can use the Point to Raster tool to get a more in-depth view of the point distribution.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;B&gt;Point to Raster&lt;BR&gt;&lt;/B&gt;&lt;/I&gt;The Point to Raster tool creates rasters from points and it also supports multipoints. It’s a generic tool with many options and uses. For the sake of evaluating Lidar point density the tool’s COUNT option is the thing to go for. This uses the number of points falling in a raster cell as the cell value. Being able to look at this graphically over the extent of the project area is revealing. &lt;/P&gt;
&lt;P&gt;There’re a couple parameters on the Point to Raster tool whose values for this exercise aren’t obvious. First, is the Value Field parameter. It doesn’t matter what this is set to. That’s because the Value Field is ignored when the Cell Assignment type is set to COUNT. Then there’s the cellsize. You might think the average point spacing is good but this typically results in too many empty, or NoData, cells because Lidar points just aren’t that evenly spaced. Also, the output raster could end up being unnecessarily large. Instead, it’s better to go with a cellsize that’s several times larger than the average point spacing but small enough to identify gaps or voids that warrant further investigation. A reasonable size is four times the point spacing. As an example, let’s say your data is sampled at 1 meter. If you set the cellsize to 4 then you can expect, on average, to get 16 points in a cell.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2877.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2877/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can also evaluate the density for different types of points. While most of the time you’ll probably just check the density for all returns it can be useful to look at those that fall in a certain class like ‘ground’. For example, this can give you an idea of how good your ground penetration is in vegetated areas. The Point to Raster tool doesn’t know how to make the distinction between point types though. So, you control what points get used by how you go about creating the multipoint feature class with the LAS To Multipoint tool. It provides options for loading points by class code and return number.&lt;/P&gt;
&lt;P&gt;Once your raster has been created have a look at it in ArcMap. Use a color ramp renderer to display it so it’s easy to distinguish between cells with high counts and those with low. You can also set the NoData color to something that stands out. Look for variance in density and data voids. Have your vendor explain anything that doesn’t look right. &lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;A href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2880.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2880/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully, you’ll find your data meets specifications and lacks surprises. It’s worth the effort to check.&lt;/P&gt;
&lt;P&gt;That’s it for this installment of Lidar Solutions in ArcGIS. Subscribe to this blog or check back in a couple weeks for a discussion on the creation of raster DEMs/DSMs from Lidar. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2881" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/3D+Lidar+Point+Data/default.aspx">3D Lidar Point Data</category></item><item><title>Tips and tricks - Unix, Python, and Geoprocessing</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/10/27/Tips-and-tricks-_2D00_-Unix_2C00_-Python_2C00_-and-Geoprocessing.aspx</link><pubDate>Mon, 27 Oct 2008 22:41:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2865</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2865.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2865</wfw:commentRss><description>&lt;p&gt;&lt;i&gt;This posting was written by Mark Zollinger, a Product Engineer and long time 
UNIX user with the Geoprocessing team.&lt;/i&gt;
&lt;/p&gt;


&lt;p&gt;Do you like Solaris or Linux?  Do you "do GIS" on one of those platforms? 
Maybe you've been asked to convert some ArcGIS Workstation AML applications 
over to ArcGIS Engine.  Are you a command-line junkie?  (There are more of us 
than you might think)&lt;/p&gt;

&lt;p&gt;If, for one of the above or any other reason, you find yourself wondering 
if you should try developing GIS on Solaris or Linux, then it's time to stop 
wondering.  Join in with others who include a flavor of *nix in their list of 
working development platforms.&lt;/p&gt;

&lt;p&gt;There are several approaches to GIS development that work very well on 
Solaris and Linux.  &lt;/p&gt;

&lt;p&gt;If you are into low-level programming, you should consider Java or C++, 
both of which can access ArcGIS's ArcObjects API.  
I've used Java quite a bit over the years, and can tell you that the doors 
are wide open on what you can do with it. If this sound like the thing for you, 
then you can move along now, there's nothing to see here.  
This post isn't about ArcObjects at all.&lt;/p&gt;

&lt;p&gt;If you lean towards scripting and higher level abstractions, then geoprocessing's 
more coarse-grained object model, then you are in the right place.  
The rest of this post will show you how to set up an IDE for Python 
development and write a very simple geoprocessing script.&lt;/p&gt;

&lt;p&gt;I mentioned a moment ago that I've written my share of Java ArcObjects code.  
I've got to confess though, that I've always been a fan of scripting languages.  
Python and GP is where I spend most of my time these days.&lt;/p&gt;

&lt;h4&gt;Setting up&lt;/h4&gt;
&lt;p&gt;"Okay", you ask, "How do I start writing GP code in Python on non-Windows platforms?"&lt;/p&gt;

&lt;p&gt;You can do Python and GP from the command line, and I often prefer the focus this brings.  
I've found, however, that most folks prefer to work in a graphic 
IDE (Integrated Development Environment).&lt;/p&gt;

&lt;h5&gt;Setting up an IDE that you can use&lt;/h5&gt;
&lt;p&gt;Probably your best choice is the Eclipse IDE with the Pydev plugin.  
Eclipse is an Open Source IDE, intended to work with a wide variety of programming languages.  
Pydev is the plugin that specifically enables Python development in Eclipse.  &lt;/p&gt;


&lt;p&gt;The latest version of Eclipse, named Ganymede, has not been fully tested by ESRI for use with ArcGIS 9.3, and is not available for some older UNIX releases.  We recommend using version 3.3.2, which you can find in the archive at:&lt;/p&gt;

&lt;a href="http://archive.eclipse.org/eclipse/downloads/" target="_blank"&gt;http://archive.eclipse.org/eclipse/downloads/&lt;/a&gt;

&lt;p&gt;To install Eclipse, 
follow the instructions in the "Installing Eclipse" paragraph at:&lt;/p&gt;

&lt;a href="http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F" target="_blank"&gt;http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F&lt;/a&gt;

&lt;p&gt;(These instructions are for Ganymede, but they basically the same for version 3.3.2)&lt;/p&gt;

&lt;p&gt;Once you have Eclipse installed and running, you need to add the Pydev plugin.  
Just follow the "Getting Started" link on the left side of the Pydev homepage.&lt;/p&gt;
&lt;a href="http://pydev.sourceforge.net/" target="_blank"&gt;http://pydev.sourceforge.net/&lt;/a&gt;

&lt;p&gt;Note that you need the Open Source Pydev plugin.  The Pydev Extensions 
plugin is commercial trialware, and is optional.&lt;/p&gt;

&lt;p&gt;When you get to the "Configuring the interpreter" page, you are told to choose 
the Python interpreter that Pydev should use to run Python programs.  Use the 
Python installation you use for Engine development/testing. In most cases, this 
is the one that got installed with the Engine Runtime:&lt;/p&gt;

&lt;font size="2" face="courier new, courier, mono"&gt;$ARCGISHOME/python25/bin/python&lt;/font&gt;&lt;br&gt;

&lt;p&gt;Note: you might get an error message while trying to choose the interpreter.  
If you do, click the error dialog's Details button.  The message probably includes something like this:&lt;/p&gt;
&lt;font size="2" face="courier new, courier, mono"&gt;ld.so.1: python: fatal: libpython2.5.so.1.0: open failed: No such file or directory&lt;/font&gt;&lt;br&gt;

&lt;p&gt;This is an indication that the python interpreter is not correctly set up.  
The most likely cause is that your ArcGIS Engine environment has not yet been established.  
Exit Eclipse and source the init_engine shell script that applies to the shell 
you are using.  When you start Eclipse the problem should go away.
&lt;/p&gt;

&lt;p&gt;Also, item 3 on the "Configuring the interpreter" page asks you to set the 
SYSTEM PYTHONPATH.  When you do this, make sure to include $ARCGISHOME/bin.  
This matches the PYTHONPATH that gets set when you source init_engine.&lt;/p&gt;

&lt;h4&gt;Writing a Python script that does GP stuff&lt;/h4&gt;

&lt;p&gt;Now that you have a development environment, how do you use all this great 
GP stuff?  Let's create a very simple Python script to get you started on the 
road to GP development.  In most Python scripts, the first thing to do is to 
import the modules that you will need.  
For GP, we need to import the arcgisscripting module.  Let's also import the 
os and system modules:
&lt;/p&gt;
&lt;font size="2" face="courier new, courier, mono"&gt;import arcgisscripting&lt;br&gt;
import os, sys&lt;br&gt;&lt;/font&gt;

&lt;p&gt;To access GP, we need to create a Geoprocessor object.  This is the object 
through which you will call any GP functions or objects&lt;/p&gt;

&lt;font size="2" face="courier new, courier, mono"&gt;
gp = arcgisscripting.create(9.3)&lt;/font&gt;

&lt;p&gt;By passing in the 9.3 argument, you are getting the newer version of the 
Geoprocessor object, which is a little more Python friendly.  For this example 
we won't be using any of the Python friendly features, but it is never too early 
to start a good habit.&lt;/p&gt;

&lt;p&gt;Now that you have a GP object, what do you do with it? Let's set GP's workspace 
property and print it out, just to prove to ourselves that it really worked.  
For this example, let's set the workspace to a "data" directory just underneath 
the current Python directory.&lt;/p&gt;

&lt;font size="2" face="courier new, courier, mono"&gt;gp.workspace = os.path.join (sys.path[0], "data")&lt;br&gt;print "GP Workspace = " + gp.workspace&lt;br&gt;&lt;/font&gt;

&lt;p&gt;(Of course you can set
the workspace to any accessible directory, not just the one returned 
by &lt;font size="2" face="courier new, courier, mono"&gt;sys.path[0]&lt;/font&gt;.  I'm just using
&lt;font size="2" face="courier new, courier, mono"&gt;sys.path[0]&lt;/font&gt; because I know it's accessible.)&lt;/p&gt;

&lt;p&gt;sys.path is a list of strings where Python looks for modules.  The first item 
in the list is the current Python directory.  Calling os.path.join is a great 
way to build up filesystem paths, since it correctly handles all the path separator issues.  
(More on path separators later.)
When you run this script (Run -&amp;gt; Run As -&amp;gt; Python Run), you should see "GP Workspace= /some/path/data" 
printed in the Console tab near the bottom of the Eclipse window.  
&lt;/p&gt;

&lt;p&gt;You can use Eclipse or the operating system to create the data directory, 
since it probably doesn't exist yet.&lt;/p&gt;

&lt;p&gt;For this example, let's suppose you have point data representing hawk sitings 
in a national forest.  Your study area is a subset of the forest where a particular 
plant in known to grow.  What you need to do is clip your point data using the 
polygon of your study area.&lt;/p&gt;

&lt;p&gt;Once you have copied your data into the aforementioned data directory, 
your script could execute the clip tool like this:&lt;/p&gt;

&lt;font size="2" face="courier new, courier, mono"&gt;
&lt;pre&gt;gp.clip_analysis("nat_for.gdb/hawk_sightings", "study_area.shp", "nat_for.gdb/study_sightings")&lt;/pre&gt;&lt;/font&gt;

&lt;p&gt;Just to be sure it worked, you can print out the messages that the tool generated like this:&lt;/p&gt;

&lt;font size="2" face="courier new, courier, mono"&gt;
print (gp.getmessages())&lt;/font&gt;

&lt;p&gt;Notice that in calling the clip tool, we used forward slashes (/).  Back slashes (\) 
and forward slashes work equally well in ArcGIS on ALL platforms, so you don't 
need to worry about switching back and forth when you change to Windows.  You can 
even use back slashes on Linux and Solaris. The problem is that in Python, back 
slashes are a special character, so to use them, you have to treat them differently 
than most other characters.&lt;/p&gt;

&lt;ol&gt;- You can escape them: "\\some\\path"&lt;br&gt;
- You can use raw strings: r"\some\path"&lt;br&gt;
- You can use unicode strings: u"\some\path"&lt;br&gt;
&lt;/ol&gt;

&lt;p&gt;If you stick to forward slashes on all platforms, you improve the look of your code 
and reduce the effort it takes to type it.&lt;/p&gt;

&lt;p&gt;So now you have a script that looks like this:&lt;/p&gt;


&lt;blockquote&gt;&lt;font size="2" face="courier new, courier, mono"&gt;
import arcgisscripting&lt;br&gt;import os, sys&lt;br&gt;&lt;br&gt;gp = arcgisscripting.create(9.3)&lt;br&gt;&lt;br&gt;gp.workspace = os.path.join (sys.path[0], "data")&lt;br&gt;print "GP Workspace = " + gp.workspace&lt;br&gt;&lt;br&gt;gp.clip_analysis("nat_for.gdb/hawk_sightings", "study_area.shp", "nat_for.gdb/study_sightings")&lt;br&gt;print (gp.getmessages())&lt;/font&gt;&lt;/blockquote&gt;

&lt;p&gt;Run it, and it works, creating a new featureclass in the file geodatabase.
Now wasn't that easy?
To get more complicated, you just string together as many of those tools as you need to get the job done.  
&lt;/p&gt;

&lt;p&gt;Welcome to the world of Geoprocessing with Python!&lt;/p&gt;

&lt;h4&gt;Links&lt;/h4&gt;
&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_writing_geoprocessing_scripts"&gt;Automating workflows with scripts&lt;/a&gt; - Introduction to writing Python scripts for geoprocessing&lt;br&gt;
&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Techniques_for_sharing_Python_scripts"&gt;Techniques for sharing Python scripts&lt;/a&gt; - Useful techniques for sharing Python scripts&lt;br&gt;
&lt;a href="http://docs.python.org/tutorial/"&gt;The Python Tutorial&lt;/a&gt; - If you're new to Python, this is a good tutorial to start&lt;br&gt;
&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Python_equivalents_to_AML_functions"&gt;How to duplicate AML functions in Python&lt;/a&gt; - For AML programmers&lt;br&gt;
&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Python_equivalents_to_AML_directives"&gt;How to duplicate AML directives in Python&lt;/a&gt;- For AML programmers&lt;br&gt;

&lt;h4&gt;Troubleshooting&lt;/h4&gt;
&lt;h5&gt;Color issues&lt;/h5&gt;
&lt;p&gt;Upon using Eclipse on Solaris for the first time, you may see some color problems. 
For example, the text insertion caret might be white on a white background, making it invisible.
Another common symptom is that you cannot see the outline of text input fields.
If you run into this or something similar, check the color depth of your display.
If it is set to 8 bits, change it to 24.
&lt;/p&gt;

&lt;h5&gt;init_engine&lt;/h5&gt;
&lt;p&gt;You should have your Engine environment already established in the shell in 
which you start Eclipse. (&lt;font size="2" face="courier new, courier, mono"&gt;source init_engine.sh&lt;/font&gt; 
or &lt;font size="2" face="courier new, courier, mono"&gt;source init_engine.csh&lt;/font&gt;)
  If you see inexplicable error messages, this is the most likely cause.&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2865" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Python/default.aspx">Python</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Tips+and+tricks/default.aspx">Tips and tricks</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/UNIX_2F00_Linux/default.aspx">UNIX/Linux</category></item><item><title>Understanding Geostatistical Analyst Layers</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/09/29/Understanding-Geostatistical-Analyst-Layers.aspx</link><pubDate>Mon, 29 Sep 2008 19:14:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2708</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2708.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2708</wfw:commentRss><description>


&lt;p&gt;The Geostatistical Analyst (GA for short) uses sample points taken at 
different locations in a landscape and creates (interpolates) a continuous surface.  
The sample points are measurements of some phenomenon, such as radiation leaking 
from a nuclear power plant, an oil spill, or elevation heights. Geostatistical 
Analyst derives a surface using the values from the measured locations to predict 
values for each location in the landscape.&lt;/p&gt;

&lt;p&gt;The results of an analysis using GA are saved to a geostatistical layer 
(GA layer for short), illustrated below.  A GA layer is like any ArcMap layer; 
you add, remove, rename, and alter its symbology in countless ways.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2706.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2706/600x423.aspx" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;


&lt;p&gt;GA layers store the source data (typically point features) and the 
parameters used to interpolate values, but do not store the full result of the 
interpolation.  When a GA layer is drawn in ArcMap, a coarse grid is 
placed over the whole extent of the layer and values are interpolated on-the-fly for each cell in the grid.  
These interpolated values are used to create the filled isolines displayed by 
the layer.  These isolines are only produced for 10 classes that fall between 
the min and max values of the source data. The resolution of the grid is optimized so as to speed up the drawing of the 
layer; using a finer grid would cripple drawing speed.  (Note: when deemed 
necessary, the drawing algorithm uses a finer resolution grid to interpolate 
values in complex areas.)&lt;/p&gt;


&lt;p&gt;The fact that a GA layer interpolates values on-the-fly is sometimes a 
source of confusion. For example, when a GA layer is exported to a grid using 
the &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1843&amp;amp;pid=1839&amp;amp;topicname=GA_Layer_to_Grid_%28Geostatistical_Analyst%29" target="_blank"&gt;GA Layer to Grid&lt;/a&gt; tool, interpolation is performed for each cell of the output grid.  If your output 
grid has 1000 rows and 1000 columns, one million calculations are performed.  
(In contrast, the grid used to draw a GA layer may be 100 rows and 100 columns).  
Fine resolution output grids may require several billion calculations.  
Obviously, the performance of the GA Layer to Grid tool depends on the 
resolution of the output grid.&lt;/p&gt;

&lt;p&gt;There is another effect of exporting the layer to a grid — the output cell values, and therefore the min and max values of the output grid, can be affected by the grid's cell size.
 The min and max values 
of the grid are almost always different from the min and max values of the input 
data.  For example, the illustration below shows a GA layer with its min and max 
values and the exported grid with its min and max values.  Note both the visual 
and statistical difference between the min and max values of the two displays.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2707.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2707/384x377.aspx" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Exact interpolators, such as Inverse Distance Weighting, can produce an output 
grid that has a max value that is less than the input data's max value, 
as illustrated above.  This happens when the input point containing the max 
value does not fall in the exact center of an output grid cell.  In such cases, 
the max value is weighted according to the distance from the cell center as well 
as nearby points.   &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Suggested readings&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Understanding_geostatistical_analysis"&gt;Understanding Geostatistical Analysis &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=what_is_a_geostatistical_layer?"&gt;What is a Geostatistical Layer? &lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;a href="http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.gateway&amp;amp;p=43&amp;amp;pf=553"&gt;Knowledge Base Articles&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;a href="http://forums.esri.com/forums.asp?c=93&amp;amp;s=997#997"&gt;Geostatistical Analyst Forum&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2708" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Spatial+Analysis/default.aspx">Spatial Analysis</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/Geostatistical+Analyst/default.aspx">Geostatistical Analyst</category></item><item><title>Watch ESRI TV</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/09/09/Watch-ESRI-TV.aspx</link><pubDate>Tue, 09 Sep 2008 17:17:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2627</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2627.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2627</wfw:commentRss><description>Check out &lt;a href="http://www.youtube.com/esritv" target="_blank"&gt;http://www.youtube.com/esritv&lt;/a&gt;.&amp;nbsp; It contains over 50 videos on a variety of ArcGIS subjects.&amp;nbsp; Content is updated periodically.&amp;nbsp; You can also access the videos on Viddler:&lt;a href="http://www.viddler.com/explore/esri" target="_blank"&gt; http://www.viddler.com/explore/esri&lt;/a&gt;&lt;br&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2627" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/New+at+9.3/default.aspx">New at 9.3</category></item><item><title>New at 9.3 - Top Ten</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/07/29/New-at-9.3-_2D00_-Top-Ten.aspx</link><pubDate>Tue, 29 Jul 2008 16:44:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2426</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2426.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2426</wfw:commentRss><description>
&lt;p&gt;
We asked the team to give us their &lt;b&gt;Top 10 New Geoprocessing Features in ArcGIS 9.3&lt;/b&gt;. 
The list quickly turned into the top 20, then the top 30, and then we had to stop.  
It's by no means exhaustive, but we think it includes 
the major improvements we made that will make your geoprocessing work a whole lot faster and easier.  
&lt;/p&gt;

&lt;p&gt;In no particular order, here's the first top 10 list.&lt;/p&gt;

&lt;h3&gt;Join Field tool&lt;/h3&gt;
&lt;p&gt;At last year's UC a common question was how to permanently add fields from one table to another.  
The solution at the time involved a combination of the Add Join, Add Field, and Calculate Field tools.  
With version 9.3, the new Join Field tool does all of this in one step, using a fraction of the time.  
As with Add Join, Join Field accepts two tables, each with a common attribute field.  
The tool joins the two tables based on this field and you have the option of selecting which 
additional fields you want to have included in the final output.  The Join Field output is a 
permanent update of the input table or feature class.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2422.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2422/original.aspx" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;See the &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1669&amp;amp;pid=1667&amp;amp;topicname=Join_Field_%28Data_Management%29"&gt;Join Field&amp;nbsp; tool reference page&lt;/a&gt; for more information.&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;Error messages&lt;/h3&gt;
&lt;p&gt;We standardized warning and error messages and gave each one a unique number. So now, when a 
warning or error comes up on a tool dialog, progress dialog, or command line window,
you can click the number 
to open a detailed description.  This description lists probable causes of the error or warning,
suggestions to remedy the situation, and links to relevant help topics. &lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2419.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2419/640x303.aspx" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Understanding_geoprocessing_tool_errors_and_warnings"&gt;Understanding geoprocessing tool errors and warnings&lt;/a&gt; for more information&amp;nbsp;&lt;/p&gt;



&lt;h3&gt;Near with lines and polygons&lt;/h3&gt;

&lt;p&gt;Have you ever been required to find the nearest distances between a mixture of point, line, and polygon 
features?&amp;nbsp; This would seem to be a very easy operation. However, until ArcGIS 9.3, 
it required building a script or program. With ArcGIS 9.3, the &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1273&amp;amp;pid=1268&amp;amp;topicname=Near_%28Analysis%29"&gt;Near tool&lt;/a&gt; is improved to support 
all feature types.&amp;nbsp; In addition, multiple near feature 
classes can be supplied. &lt;/p&gt;

&lt;h3&gt;Generate Near Table tool&lt;/h3&gt;
&lt;p&gt;The Near tool modifies the attributes of the input feature class. This often caused problems 
when the input dataset was read only. With ArcGIS 9.3, there is a new &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1271&amp;amp;pid=1268&amp;amp;topicname=Generate_Near_Table_%28Analysis%29"&gt;Generate Near Table tool&lt;/a&gt;.  
Instead of modifying the input feature class as Near does, Generate Near Table creates a new table containing the 
proximity information. This tool also contains an option to find the distances to &lt;i&gt;all&lt;/i&gt; features, 
not just the nearest.&lt;/p&gt;

&lt;h3&gt;Performance improvement using ArcSDE data with GpTools&lt;/h3&gt;
&lt;p&gt;We've made three major improvements when using ArcSDE data with geoprocessing tools:&lt;/p&gt;
 

&lt;ul&gt;
&lt;p&gt;By far the most dramatic improvement is the result of better management of ArcSDE connections.
Instead of creating multiple connections to ArcSDE for one execution of a tool,
we now create only one connection. (This issue is also resolved in version 9.2 
service pack 5).&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;The performance of the Append tool has improved because the spatial index of the
output dataset is created only once instead of many times.&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;We made many improvements to our internal topology analysis engine used by overlay tools. 
The performance of tools in the Analysis toolbox has greatly improved when using 
large ArcSDE datasets.&lt;/p&gt;
&lt;/ul&gt;

&lt;h3&gt;Python scripts run in process&lt;/h3&gt;
&lt;p&gt;In 9.2 all Python [.py] script tools created a separate process and executed outside the 
application process. The way you noticed this is that it took as much as 5 to 10 seconds 
for a script tool to start up. In 9.3, we're taking advantage of the application already 
running. This greatly improves script tool performance in two major areas: Initial start-up of a 
script tool and the use of cursors within the script tool. It also greatly improves the start-up 
performance of scripts tools using smaller datasets as inputs.&lt;/p&gt;

&lt;p&gt;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=861&amp;amp;pid=854&amp;amp;topicname=Running_a_script_in_process"&gt;Running a script in process&lt;/a&gt; for more information.&amp;nbsp;&lt;/p&gt;

&lt;h3&gt;Geodesic buffers&lt;/h3&gt;

&lt;p&gt;In 9.2, the Buffer tool created buffer polygons assuming that all coordinates
represented a flat Euclidean space instead of a spherical space, like the Earth.&lt;/p&gt;

&lt;p&gt;In 9.3, the Buffer tool will create geodesic buffers if:&lt;/p&gt;

&lt;ul&gt;
&lt;p&gt;The features to be buffered are points or multipoints.&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;The input feature are in geographic coordinates (i.e., longitude/latitude).&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;The buffer distance is in Euclidean linear units (i.e, feet, meters).&lt;/p&gt;
&lt;/ul&gt;

&lt;p&gt;The output buffer polygons will take into account that longitudinal distance varies
varies with latitude, as illustrated below.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2421.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2421/original.aspx" border="0"&gt;&lt;/a&gt;&lt;br&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=how_buffer_%28analysis%29_works"&gt;How Buffer works&lt;/a&gt; for more information on geodesic buffers.&lt;br&gt;&lt;/p&gt;

&lt;h3&gt;Script tool validation&lt;/h3&gt;
&lt;p&gt;You can now have your script tools behave like system tools (those that come
with ArcGIS).  You can enable (gray-out) parameters based on values in other
parameters, provide keyword lists that dynamically change, put parameters into
different categories, calculate default values on-the-fly, and update the 
description of output data for use in ModelBuilder.  These capabilities are all
found on the new Validation tab you see on a script tool's property page.&lt;/p&gt;

&lt;p&gt;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Customizing_script_tool_behavior"&gt;Customizing script tool behavior&lt;/a&gt; for more information&amp;nbsp;&lt;/p&gt;

&lt;h3&gt;Spatial Statistics: Ordinary Least Square Regression and&lt;/h3&gt;
&lt;h3&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Geographically Weighted Regression Tools&lt;/h3&gt;
&lt;p&gt;The Spatial Statistics toolbox has powerful pattern analysis tools to help 
answer "Where?" questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;p&gt;Where are people persistently dying young in the United States?&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;Where are our kids consistently turning in high test scores? &lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;Where do we seen an unexpectedly high number of traffic accidents?&lt;/p&gt;
&lt;/ul&gt;

&lt;p&gt;With ArcGIS 9.3, new regression analysis tools are added that allow you
to answer the next logical set of questions relating to "Why?" like:&lt;/p&gt;

&lt;ul&gt;
&lt;p&gt;Why are people persistently dying young in particular places across the United States?&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;What are the factors contributing to consistently high test scores?&lt;/p&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;p&gt;Why are there so many traffic accidents in particular hot spot locations?&lt;/p&gt;
&lt;/ul&gt;

&lt;p&gt;Ordinary Least Squares Regression (OLS) is a commonly used &lt;i&gt;global&lt;/i&gt; linear 
regression method used to generate predictions, or to model a dependent 
variable or process, in terms of its relationships to a set of explanatory 
variables.  It creates a single equation to represent those relationships.  
OLS is the starting point for all regression analysis (including all spatial 
regression analysis).  It often breaks down when used with spatial data, 
however, in the case where the relationships being modeled change across the 
study area.  An education variable, for example, might be a good predictor 
of crime rates in one part of the study area, but may not be significant 
in another part of the study area.  Geographically Weighted Regression (GWR), 
on the other hand, allows data relationships to vary.  GWR is one of 
several spatial regression techniques increasingly used in geography and 
other disciplines.  It provides a local model of the variable or process 
you are trying to understand/predict by fitting a regression equation to 
every feature in the dataset.  GWR constructs these separate equations by 
incorporating the dependent and explanatory variables of features failing 
with a particular user-specified bandwidth of each target feature.  
ArcGIS 9.3 includes "Regression Analysis Basics" and "Result Interpretation" 
documentation with strategies and graphics aimed at helping the user apply 
these methods effectively.&lt;/p&gt;

&lt;p&gt;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_the_Modeling_Spatial_Relationships_toolset"&gt;An overview of the Modeling Spatial Relationships toolset&lt;/a&gt; for more information.&amp;nbsp;&lt;/p&gt;

&lt;h3&gt;Batch Grid: deferred validation&lt;/h3&gt;
&lt;p&gt;If you use a tool in batch mode, you may have noticed that filling in the
batch grid became slow if more than 10 rows or so were entered.  This
was due to the fact that every value in every row was validated whenever you 
clicked the mouse in a cell. &lt;/p&gt;

&lt;p&gt;In 9.3, you control when validation occurs by click the Check Values button in 
the lower right of the batch grid, as illustrated below.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.esri.com/Dev/photos/geoprocessing/picture2420.aspx" target="_blank"&gt;&lt;img src="http://blogs.esri.com/Dev/photos/geoprocessing/images/2420/original.aspx" border="0"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Validation always occurs when you click the OK button.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;See &lt;a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Using_the_batch_grid_control"&gt;Using the batch grid control&lt;/a&gt; for more information. You can find the discussion of the Check Values button at the bottom of the topic. &amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2426" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/New+at+9.3/default.aspx">New at 9.3</category></item><item><title>Guidelines for submitting tools to the Model and Script Tool Gallery</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/07/29/Guidelines-for-submitting-tools-to-the-Model-and-Script-Tool-Gallery.aspx</link><pubDate>Tue, 29 Jul 2008 16:42:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2424</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2424.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2424</wfw:commentRss><description>
&lt;p&gt;
The link below is to a PDF document containing guidelines for making a submittal to the Model and Script Tool Gallery. This document discusses:&lt;/p&gt;

&lt;ul style="list-style-type:none;"&gt;
&lt;li&gt;The contents of the ZIP file you upload when making a submission.&lt;/li&gt;
&lt;/ul&gt;

&lt;ul style="list-style-type:none;"&gt;
&lt;li&gt;How to ensure that your submission is 
&lt;b&gt;portable&lt;/b&gt;. That is, when someone downloads your submission, all your tools work without
 modification.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul style="list-style-type:none;"&gt;
&lt;li&gt;Advice on creating a submission that gets good user ratings because it's well documented and robust.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href="http://resources.esri.com/help/9.3/geoprocessing/pdf/Submission_guidelines.pdf" title="Guidelines for submitting Model and Script Tools" target="_blank"&gt;Guidelines for submitting Model and Script Tools [PDF]&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2424" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category></item><item><title>Welcome to the geoprocessing resource center</title><link>http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2008/07/29/Welcome-to-the-geoprocessing-resource-center.aspx</link><pubDate>Tue, 29 Jul 2008 16:41:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:2423</guid><dc:creator>dmhoneycutt</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.esri.com/Dev/blogs/geoprocessing/comments/2423.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/geoprocessing/commentrss.aspx?PostID=2423</wfw:commentRss><description>&lt;p&gt;
We're all excited about the launch of this new geoprocessing blog.
&lt;/p&gt;

&lt;p&gt;
The
scope of this blog will range from introductory information regarding
general geoprocessing functionality to some more advanced topics and
developer related material. We’ll be blogging on things like best
practices, tips and tricks, new and existing functionality, and example
workflows. &lt;/p&gt;


&lt;p&gt;Be sure to visit the Model and Script tool gallery where you can download model and script tools developed by the geoprocessing community and submit your own tools.&lt;/p&gt;

&lt;p&gt;
This blog is written by the Geoprocessing Development Team and we’re hoping
that it grows into a valuable resource for you. Stay
tuned…&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=2423" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/beginner/default.aspx">beginner</category><category domain="http://blogs.esri.com/Dev/blogs/geoprocessing/archive/tags/advanced/default.aspx">advanced</category></item></channel></rss>