ArcGIS Tips / Tricks & Tools - Esri CIS

Download ArcGIS Tips / Tricks & Tools - Esri CIS

Post on 14-Feb-2017

213 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>1</p><p>ArcGIS Tips / Tricks &amp; Tools</p><p>An assortment of everyday usable stuff that may increase your productivity or just make others say WOW!</p><p>we believe in making use of what others will let us borrow - we don't </p><p>have programmer resources available often, or for gis projects, so much of what we </p><p>do is 'borrowed' or out of the box or modified from existing code. there are lots of </p><p>things you can do with existing resources, things to make doing the gis activities </p><p>you need to do easier for repetitive tasks, and that with a little know-how and </p><p>resourcefulness there is a whole lot more potential to GIS that you can offer your </p><p>employer.</p><p>Everyone has things they take pride in, maybe they made something themselves </p><p>or got a group of people using. Often they improve productivity while using existing </p><p>resources.</p></li><li><p>2</p><p>Presenters?</p><p> Bryan Townsend</p><p> GIS Administrator, York County, SC</p><p> Brad Barnell</p><p> GIS Manager, Greenwood County, SC</p><p> Shane Sprouse</p><p> GIS Analyst, Greenwood County, SC</p><p> Sandra Ellenberg</p><p> GIS Analyst, Greenwood County, SC</p></li><li><p>3</p><p>Blogs? (lots of info nuggets here)</p><p> http://gismatters.blogspot.com/ (david maguire)</p><p> http://www.spatiallyadjusted.com/links/ (Brian Goldin)</p><p> Getting Started with GeoChat Richie Carmichaelhttp://spaces.msn.com/members/MrRichie/</p><p> http://slashgeo.org</p><p> (like the slashdot.org website news for nerds, stuff that matters, but with geospatial twist)</p><p>Why read blogs? Latest in GIS happenings; news, product reviews/issues, ways to use gis</p><p>There are numerous ESRI Staff blogs. David Maguire (esri Director of products)</p><p>SpatiallyAdjusted links to other blogs -</p><p>More GIS/ESRI Staff Blogs.</p></li><li><p>4</p><p>Places to start when you need help</p><p> Arcscripts.esri.com extensions, scripts</p><p> Support.esri.com forums, downloads</p><p> Edn.esri.com -- ESRI Developer Network</p><p> Google.com</p><p>Try searching support.esri.com when you have an issue. Someone has likely had </p><p>your same problem and posted how they fixed it. If you run into an issue where </p><p>nobody has posted, pay it forward when you resolve it by posting how you solved </p><p>your issue.</p></li><li><p>5</p><p>Other Resources (tips)</p><p> KesslerGIS.com Tips and Tricks</p><p> Connecting to an Excel Table for use in </p><p>ArcCatalog and ArcMap (*out-of-box @ 9.2)</p><p> Recover your identify results window or any other </p><p>window that has accidentally gotten moved off </p><p>your screen</p><p>When researching tips and tricks for this session I knew we would present what we </p><p>knew well and were already using. There are a few others who have put together </p><p>materials similar to this and the next few slides provides a summary of these </p><p>tips/tricks that were discovered.</p></li><li><p>6</p><p>Other Resources (tips)</p><p> Vermont Center for Geographic Information</p><p> ArcGIS and Tech tips</p><p> Lots of ArcScript suggestions, some tips and tricks </p><p>(location of normal.mxt, calculating field tips), a </p><p>listing of free tools &amp; other tools</p><p>http://www.vcgi.org/techres/?page=./white_papers/techtips/ArcGISTips.cfm</p></li><li><p>7</p><p>Other Resources (tips)</p><p> ESRI Wisconsin User Group (EWUG)</p><p> 2004 presentation ArcGIS Tips and Tools Geoprocessing wizard toolbox, recognizing ArcInfo interchange </p><p>files, working with tables, generating a report, common calculation formulas using vbScript, Shortcuts, thumbnails</p><p> cartography (transparency, clipping data frames, templates, printing/exporting maps)</p><p> work performance tips (grouping layers, data frame focus, new layer visibility, cancel drawing, pausing the drawing in ArcMap,removing buttons, create graphic circle with specific radius, calculate area of graphic in ArcMap, count features within graphic area), </p><p>http://www.ewug.org/images/2004/ArcGISTipsAndTools.pdf</p></li><li><p>8</p><p>Other Resources (tips)</p><p> Utah AGRC Tips and Tricks (technical document section)</p><p> About Fields in the ArcGIS 9.0 Geodatabase</p><p> Field definition, field name, field types, issues with </p><p>loading and exporting data (using the simple data </p><p>loader, exporting from pGDB to shapefile)</p><p> http://agrc.its.state.ut.us/agrc_gistraining/tipstricks/tipsdata/ArcGIS9_Fields.pdf</p></li><li><p>9</p><p>Where did we find it?</p><p>Key for Tips and Tricks</p><p> (O) - Out-Of-The-Box</p><p> (A) - ArcScripts</p><p> (H) - Home Grown</p><p> (S) - Support.esri.com / edn.esri.com</p><p> (C) ESRI Class</p><p> Level of Difficulty or User Experience Needed</p></li><li><p>10</p><p>Overview</p><p>1. (Brad) AXL File Hacks (Creating &amp; Labeling a Major Roads Layer)</p><p>2. (Brad) Shareware JavaScript optimizer to reduce the size of an ArcIMS website</p><p>3. (Sandra) Parcel editing tools (line editing toolbar, zipper task, map book)</p><p>4. (Shane) TerraserverGP download tool</p><p>5. (Shane) Multiversion Spatial view in RDBMS to display edits in the adds table</p><p>6. (O) Change Data Source of ArcMap Doc. / Find &amp; Replace Pathnames</p><p>7. (O) Why DownloadShare using ArcIMS!</p><p>8. (S) ArcIMS Performance: Analyze Log Files</p><p>9. (A) Log Concurrent License Use</p><p>10. (C) Export all Layer Files from ArcMap using simple VBA</p><p>11. (H) Organize Data by Layers</p><p>12. (S) Archive Data Model: All deleted features archived in a history FeatureClass</p><p>13. (H) Set up a Spatial View in your RDBMS: Take advantage of hyperlinking</p><p>14. (O) Custom ArcPad data collection using Out-of-the-Box Geodatabase Design</p><p>15. (A) Geodatabase Diagrammer</p><p>16. (A) NPS Metadata tools </p><p>17. (O) System Monitoring with Big Brother/Hobbit</p><p>Lots of tips / tricks and tools here. Way more than advertised in the title of the session. This ppt will </p><p>be posted on the ineternet.</p><p>A few more not included </p><p> (A) - download and use xTools Pro, it has many free tools you dont have to pay for. Delete </p><p>fields, calculate acres.</p><p> (O) Package data with ArcPad or Disconnected editing toolbars. ArcPad toolbar extracts </p><p>images to MrSID files, both clip to extent and produce a map document retaining layer properties </p><p>including view extents and symbology.</p><p> (H) NPS Metadata Tools Extension, custom toolbar from nature.nps.gov that wraps up the </p><p>USGS mp.exe FGDC metadata parser and validator, allows you to spellcheck your metadata </p><p>with MS Office, lets you export to 5 different formats, and best of all is FREE.</p><p> (S) Geocoding development kit </p><p> (A) TerraServerGP Download DRG, DOQ or Urban Area imagery from MS TerraServer. Uses </p><p>extent of features in layer (county boundaries, makes individual images for each county </p><p>boundary). It is added as a tool in the Toolbox.</p><p> (A) - GeoDatabase Reporter</p><p> (C) - GeoDatabase Toolset</p><p> (A)(0) Build image catalog from a directory of images within ArcCatalog, use vb Replace() </p><p>function to remove the path and leave the file name in another field using ArcMap. replace( </p><p>[IMAGE] ,"G:\chester_orthos_sid_out\tiles_20\", "")</p></li><li><p>11</p><p>Creating a Major Road Layer</p><p>Brad</p></li><li><p>12</p><p>Labeling Based on Area</p><p>Brad</p></li><li><p>13</p><p>Labeling on a Predefined Scale Value</p><p>Brad</p></li><li><p>14</p><p>Compacting JavaScript Files</p><p>Brad</p></li><li><p>15</p><p>Compacting Options</p><p>Brad</p></li><li><p>16</p><p>Compacting Results</p><p>Brad</p></li><li><p>17</p><p>ARCGIS NON-GURU Tips </p><p> Some of you may think the the ArcScripts and Developers Samples are just for the Gurus.</p><p> Please explore the many options out there. You will be amazed at how easy these tools will be.</p><p> Dont be afraid to call ESRI support. </p><p> Read the User forums. </p><p> Other new Users have the same questions.</p><p> Bonus Tip For Attribute Transfer Added to this presentation. </p></li><li><p>18</p><p>Line Editing Toolbar:</p><p> This set of code contains a toolbar with six commands for the editing of lines and three additional commands for displaying characteristics of lines (vertices, dangles, and directions). The purpose of the toolbar is to provide some additional functionality for editing of line work. Some of the commands are similar to what can be done with ArcEdit. </p><p>I missed the features of ArcEditing coverages when we changed to ArcGIS editing. </p><p>So I was glad to find a great toolbar that offered the things I had come accustomed </p><p>to using. This way I can turn on the vertices for my lines and see the directions etc.</p><p>Go to ESRI support http://arcscripts.esri.com/details.asp?dbid=13729 to download </p><p>this script (filename Line_Edit_Toolbar.zip).</p></li><li><p>19</p><p>Functionality in this toolbar includes:</p><p> 1. Display vertices and end points. </p><p> 2. Display directional arrows. </p><p> 3. Display dangles. </p><p> 4. Split at midpoint. </p><p> 5. Divide lines. </p><p> 6. Proportion lines. </p><p> 7. Remove dangles. </p><p> 8. Create intersections.</p><p> 9. Flip Command. </p></li><li><p>20</p></li><li><p>21</p><p>Map Book</p><p> We had a need in Greenwood County for a Map </p><p>Grid Book. Our first version was created with </p><p>AMLs. This Map Book script has been very helpful </p><p>in creating grid books for Law Enforcement, EMS, </p><p>Dispatch and even Public works uses.</p><p> DS_Map_BookVisual_Basic creates a Map Series </p><p>that can be exported out to jpg or pdf.</p><p>We had a need in Greenwood County for a Map Grid Book. Our first version was </p><p>created with AMLs. This Map Book script has been very helpful in creating grid </p><p>books for Law Enforcement, EMS, Dispatch and even Public works uses.</p><p>This Map Book Developers Sample is found </p><p>ArcGIS\DeveloperKit\samples\Cartography\DS_Map_BookVisual_Basic.</p><p>Or there are a few new ones such as MapbookTool.zip online in ESRI ArcScripts.</p></li><li><p>22</p><p>Map </p><p>Book</p><p> Map books are </p><p>multi page </p><p>documents </p><p>based on a </p><p>dataset and an </p><p>index grid </p><p>representing the </p><p>pages. </p></li><li><p>23</p><p>Map </p><p>Book</p><p> The Index grid </p><p>for a map book </p><p>represents how </p><p>the dataset set </p><p>should be divided </p><p>up for plotting at a </p><p>more workable </p><p>scale.</p></li><li><p>24</p><p>Map Book Toolbar</p></li><li><p>25</p></li><li><p>26</p><p>Zipper Task</p><p> This sample allows features within a user specified tolerance to be snapped to the edit sketch.</p><p> Using the sketch tool a polyline sketch is created. When the sketch is finished, a dialog appears asking for a tolerance and the layers to be adjusted. </p><p>This great editing tool Developers Sample is found in </p><p>ArcGIS\DeveloperKit\samples\Editing\Zipper_TaskVisual_Basic. When you have </p><p>lines or polygons that have gaps that need to closed, this tool will save the day.</p></li><li><p>27</p><p>Zipper Task</p><p> Features from the specified layers that fall within the tolerance are then aligned to the geometry of the sketch. </p><p> The Trace tool is used to create a sketch of the geometry in the feature, and the Zipper Task will then use this geometry to align the other features</p></li><li><p>28</p></li><li><p>29</p><p>Attribute Transfer Tool</p><p> This sample puts selected features from a source to a destination layer.</p><p> This dialog also lets you map attributes between the source and destination features. </p></li><li><p>30</p><p>These are defined in the Spatial Adjustment Attribute Transfer Mapping dialog, found under the Spatial Adjustment menu on the Spatial Adjustment toolbar.</p><p>Attribute Transfer Tool</p></li><li><p>31</p><p>How to use:</p><p>1.Open the Attribute Transfer Mapping dialog, from the Spatial Adjustment menu on the Spatial Adjustment toolbar.</p><p>2. Set source/target layers and desired field mapping.</p></li><li><p>32</p><p>3. Select source features to be put into the target layer.</p><p>4. Click from source to target and it will transfer data.</p></li><li><p>33</p><p>ArcSDE Multiversioned Views</p><p> Allows you to create a DBMS view of a versioned table. </p><p> Use: sdetable o create_mv_view</p><p> Useful for customized applications that dont recognize geodatabase versioning. For example, a GIS website application that uses ArcIMS functionality to query the geometry from a feature class, but bypasses ArcIMS for the attribute query. The base table is queried directly in SQL Server using ADO.Net (We do this in Greenwood County to speed up searches on our website, which are slower using ArcIMS functionality)</p><p> In the scenario above SQL Server has no specific knowledge of the delta tables (A &amp; D) that are part of a versioned feature class. Any edits to the feature class attributes are stored in the delta tables and would not be returned by a query of the base table without compressing the geodatabase in ArcCatalog.</p><p> In a multiversioned view a Select statement is stored that queries all records from the base table and joins them with the records from the delta tables (edits) in the current version.</p><p>This is not really a trick per say, however most users are probably little aware of it.</p></li><li><p>34</p><p>ArcSDE Multiversioned Views</p><p> The multiversioned view allows all rows </p><p>from the base and delta tables that </p><p>represent a feature or features to be </p><p>returned transparently to the end user.</p><p> This trick has worked well for Greenwood</p><p>because it significantly speeds up</p><p>parcel searching on our website and</p><p>allows us to display live edits there.</p><p> See ESRI Technical Paper:</p><p>Working with the Geodatabase Using SQL</p></li><li><p>35</p><p>TerraServer </p><p>Geoprocessing Tool</p><p> Download from arcscripts.esri.com</p><p> Geoprocessing tool for downloading </p><p>DOQs and scanned USGS topo</p><p>quad maps from Microsofts </p><p>TerraServer website.</p><p> Download imagery in</p><p>various resolutions depending</p><p>on whats available in area of</p><p>interest.</p><p> Can store imagery as a file-based</p><p>raster dataset or in a geodatabase</p><p>raster catalog</p><p> Can use this tool in a script or model</p><p>Shane</p><p>TerraServer</p><p>DOQ Layer</p><p>Read-Me file is installed along with the tool which is very useful for configuring the </p><p>tool. It also lists known bugs.</p></li><li><p>36</p><p>TerraServer</p><p>Geoprocessing Tool</p><p> Newest version of the tool includes an option to download</p><p>true color, high resolution (1/4 meter) orthos where available.</p><p>(larger urban areas)</p><p> Input layer must have a spatial </p><p>reference. The tool will recognize</p><p>the spatial reference and the </p><p>imagery will be stored with that</p><p>reference</p><p> Downloads based on </p><p>geographical extent of</p><p>input feature class or of</p><p>selected feature(s) in feature</p><p>class.</p><p> Requires .NET Framework 1.1</p><p>and .NET ArcObjects support</p><p>Urban Area resolution available only in places like Atlanta, Seattle, etc.</p></li><li><p>37</p><p>TerraServer </p><p>Geoprocessing Tool</p><p> Most recent version works as a geoprocessing tool in</p><p>ArcToolBox.</p><p> Previous Version works only as a Toolbar inside </p><p>ArcMap. It allows downloads as a permanent Dataset </p><p>or as a temporary layer in ArcMap. Available in ArcGIS </p><p>8.x and 9.x (Download Tool)</p><p>The most recent version is the one that works as a geoprocessing tool, hence the </p><p>GP. It can be accessed inside ArcCatalog or ArcMap. </p><p>It can also be scripted like all other tools in ArcToolBox.</p><p>Older version allows downloading as a permanent dataset or as a temporary layer </p><p>but only works as toolbar inside ArcMap.</p><p>Performance seems to be better with newer version</p></li><li><p>38</p><p>TerraServer</p><p>Geoprocessing Tool DRG option USGS topo quad data</p><p>downloaded at highest resolution available</p></li><li><p>39</p><p>TerraServer</p><p>Geoprocessing Tool 1994 TerraServer DOQs displayed on York Countys ArcIMS website:</p><p>maps.yorkcountygov.com</p><p>York County example. They are displaying 1994 DOQs downloaded for York and </p><p>surrounding counties. Lower image shows property lines and streets overlaid on </p><p>the imagery</p></li><li><p>40</p><p>Change Data Source of ArcMap Doc.</p><p>Find &amp; Replace Pathnames (1 of 2)</p><p> ArcGIS 9 allows a user to replace pathnames in </p><p>batch, unlike in 8.x</p><p> Ever moved data from one folder to another and </p><p>seen all those red ! next to all your layers ?</p><p> Open ArcCatalog, Browse to the folder that </p><p>contains the .mxd you want to change pathnames </p><p>in, right click the .mxd, Select Set Data Source(s)</p></li><li><p>41</p><p> A list of pathnames for associated data layers appears. You can choose a new data source for a single layer or multiple layers. A new .mxdreferencing the changed pathnames is created.</p><p>Change Data Source of ArcMap Doc.</p><p>Find &amp; Replace Pathnames (2 of 2)</p><p>**Does not work with sde connections very well, from my testing at least</p><p>Dont forget to use relative path names in the map document (file &gt; map properties...</p></li></ul>

Recommended

View more >