{"id":413,"date":"2015-11-25T14:36:25","date_gmt":"2015-11-25T21:36:25","guid":{"rendered":"https:\/\/blogs.ubc.ca\/advancedgis\/?page_id=413"},"modified":"2020-09-07T14:09:58","modified_gmt":"2020-09-07T21:09:58","slug":"arcmap-etiquette","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/advancedgis\/lab-material-resources\/arcmap-etiquette\/","title":{"rendered":"ArcGIS Pro Etiquette"},"content":{"rendered":"<p>Whenever you start an ArcGIS Pro project you should always ensure that you have established a proper working environment. Most of the parameters that you should check out are found within Options, which is accessed by <strong>clicking on Project, and then on Options<\/strong>.\u00a0 Three of the elements that you should pay attention to are the <strong>Current Settings<\/strong> tab (Figure 1), the <strong>Geoprocessing<\/strong> tab (Figure 2), and the <strong>Share and Download<\/strong> tab (Figure 3). You should confirm the paths and Directories, and the options, in each tab in order to know where your files will be stored.<\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3570\" src=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options-300x214.png\" alt=\"\" width=\"647\" height=\"462\" srcset=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options-300x214.png 300w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options-768x547.png 768w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options.png 796w\" sizes=\"auto, (max-width: 647px) 100vw, 647px\" \/><\/a><\/p>\n<p><strong>Figure 1: Options: Current Settings<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3572\" src=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing-300x215.png\" alt=\"\" width=\"625\" height=\"448\" srcset=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing-300x215.png 300w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing-768x550.png 768w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing-624x447.png 624w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Geoprocessing.png 792w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><strong>Figure 2: Options: Geoprocessing<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3573\" src=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share-300x213.png\" alt=\"\" width=\"624\" height=\"443\" srcset=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share-300x213.png 300w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share-768x545.png 768w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share-624x443.png 624w, https:\/\/blogs.ubc.ca\/advancedgis\/files\/2020\/09\/Pro_Options_Share.png 793w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p><strong>Figure 3: Options: Share and Download<\/strong><\/p>\n<h4>Directory naming conventions<\/h4>\n<p>It is also a <strong>highly<\/strong> recommended practice to <strong>not<\/strong> store \/ create ArcMap data or documents in a directory name that contains <strong>spaces<\/strong> (that is, it is recommended that you do not store any files in, for example, C:\\Documents and Settings\\&#8230;\\My Documents\\ even though that is where ESRI indicates that that is where it wants to store the default geodatabase!). You should also not create files with names that begin with <strong>numbers<\/strong> (e.g., 123layer.shp). While it is possible to do so, and in most cases it will not create a problem, there are some known issues that arise with some components of ArcGIS Pro (and with add-on programs such as FragStats) if the directory name contains spaces \/ the filename begins with a number.<\/p>\n<h4>Show file extensions by default<\/h4>\n<p>It is a good practice to modify <strong>Windows Explorer <\/strong>so that, by default, it shows all known file extensions. To do this, click on File or Organize (depends on which Windows version you are using), then on <strong>Folder and search options<\/strong>. Then, in the View tab, <strong>uncheck Hide extensions for known file types<\/strong>. Doing this will make it much easier to find files.<\/p>\n<h4>Work locally<\/h4>\n<p>You should always work from the local (C or D) drive. We do not recommend working from or saving to the Server (H) drive. You are responsible for storing your lab data and work. Every connection to the Server &#8216;adds up&#8217; and eventually the system can become very sluggish and, at the extreme, some users may find that they cannot successfully log onto the system. <a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/hdrivelockedfiles.txt\" target=\"_blank\" rel=\"noopener noreferrer\">An example of the connections that are established by a single user<\/a> shows how many connections are required when working across the network. Having too many Folder Connections can also become problematic since ArcGIS Pro will attempt to connect to the folders (even if they don&#8217;t exist), which can slow down things.<\/p>\n<h4>Bookmarks<\/h4>\n<p>Bookmarks are an efficient means of keeping your layouts consistently &#8216;laid out&#8217;. <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/help\/mapping\/navigation\/bookmarks.htm\" target=\"_blank\" rel=\"noopener noreferrer\">The ArcGIS Pro help file explains how to create and manage bookmarks<\/a>.<\/p>\n<h2>ArcMap-related Comments<\/h2>\n<p>Most of the material below relates to ArcMap, not to ArcGIS Pro.\u00a0 However, since some people may still be using ArcMap, I will keep them up for the next year.<\/p>\n<h4>Absolute and relative paths<\/h4>\n<p>When you create an ArcMap document, you should specify that paths be stored as relative paths. To set this option, look under the File menu and click Map Document Properties. Here, you can specify whether to store absolute or relative paths.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-414\" src=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/ArcMap-Etiquette-Screenshot.png\" alt=\"ArcMap Etiquette Screenshot\" width=\"405\" height=\"168\" \/><\/p>\n<p>When you save the document with relative paths, the application converts paths into paths relative to the location where you stored the document (e.g., the current directory [D:\\G37x\\], where x would be 0 for 370, 3 for 373, etc.).<\/p>\n<p>This is especially important if you use an external storage device (e.g., a USB drive).<\/p>\n<h4>Setting the location for the default geodatabase<\/h4>\n<p>ArcMap, by default, will store any newly created files in a default geodatabase (C:\\Documents and Settings\\&#8230;\\My Documents\\ ArcGIS\\Default.gdb). Since storing data in the default geodatabase location is problematic (e.g., doing so will increase the length of time it takes you to log onto the system), you should always identify an appropriate location for the geodatabase.<\/p>\n<p>Given the practice in most geoscience labs in the Department of Geography, <strong>the appropriate location for storing your data \/ creating a geodatabase is D:\\G37x\\<\/strong>. Thus, your first step whenever starting a project \/ lab is to set the default database to reside in D:\\G37x\\Labz (where z\u00a0would be the lab # and x is the course #). So, if you will be working with a geodatabase, follow the instructions listed below:<\/p>\n<h4><strong>Ensure the default geodatabase is explicitly set<\/strong>:<\/h4>\n<ol>\n<li>Click on Catalog<\/li>\n<li>Select Folder Connections<\/li>\n<li>Confirm that D:\\G37x\\Labz is listed as a Folder Connection<\/li>\n<li>Right-mouse click on the appropriate .gdb<\/li>\n<li>Click on the entry \u2018Make Default Geodatabase\u2019<\/li>\n<\/ol>\n<p>It is a good idea to keep the number of connections in ArcCatalog to a minimum&#8211;every time you start ArcMap it checks the connections, and if some of them don&#8217;t exist (e.g., files on a network drive that isn&#8217;t currently connected) it can take some time for ArcMap to &#8216;drop&#8217; the connection.<\/p>\n<div class=\"note\"><strong>Note<\/strong>: If you don&#8217;t explicitly set your default geodatabase to reside in (for example) your Labx folder, ArcMap will use the standard default geodatabase (stored in your documents folder) to store the output from any processing. In order to confirm where ArcMap is storing your output, <strong>you should make it a habit not to simply type in the name of your output file, but rather to click on the folder icon and confirm that ArcMap is storing the output in the appropriate folder \/ geodatabase.<\/strong><\/div>\n<h4>Establishing meaningful geoprocessing parameters<\/h4>\n<p>In order to ensure that subsequent steps produce the correct output, and to ensure that various outputs get placed in the correct location, we should generally explicitly set some of the geoprocessing environment options.\u00a0 To do this, click on <strong>Geoprocessing<\/strong> \/ <strong>Environments\u2026<\/strong><\/p>\n<ul>\n<li>Select <strong>Workspace <\/strong>and ensure that the <strong>Current and Scratch Workspaces <\/strong>are set to the<strong> appropriate directory \/ geodatabase.<\/strong><\/li>\n<li>Select <strong>Processing Extent<\/strong> and set the <strong>Extent<\/strong> to an existing layer, or explicitly set the extent to something appropriate (<span style=\"color: #ff00ff;\">if<\/span> you have data already in the Table of Contents).<\/li>\n<li>Under <strong>Raster Analysis<\/strong> set the <strong>Cell Size<\/strong> and <strong>Mask<\/strong> to <strong>an existing raster layer (<span style=\"color: #ff00ff;\">if<\/span> <\/strong>you have an appropriate layer in the ToC).\u00a0 Click on <strong>OK<\/strong>.\u00a0 Now, whenever a feature is converted to a raster, or a raster layer is created, its resolution (and extent) will match the existing raster file.<\/li>\n<\/ul>\n<p>By default ArcMap does NOT allow you to overwrite the previous outputs of a geoprocessing operation (that is, if you have to redo a geoprocessing operation you must give the output a different name).\u00a0 You can, however, override that default by clicking on <strong>Geoprocessing Options<\/strong> (under <strong>Geoprocessing<\/strong>) and then selecting \u25d9 Overwrite the outputs of geoprocessing operations.<\/p>\n<p><strong>Note:<\/strong> You should confirm the environmental settings \/ geoprocessing parameters every time you start your work.<\/p>\n<p>I have observed that sometime a process, such as projecting a layer, doesn&#8217;t work if <strong>Background Processing<\/strong> has been enabled. You can disable background processing by deselecting it under Geoprocessing &gt; Geoprocessing Options.<\/p>\n<h4>Directory naming conventions<\/h4>\n<p>It is also a <strong>highly<\/strong> recommended practice to <strong>not<\/strong> store \/ create ArcMap data or documents in a directory name that contains <strong>spaces<\/strong> (that is, it is recommended that you do not store any files in, for example, C:\\Documents and Settings\\&#8230;\\My Documents\\ even though that is where ArcMap indicates that that is where it wants to store the default geodatabase!). You should also not create files with names that begin with <strong>numbers<\/strong> (e.g., 123layer.shp). While it is possible to do so, and in most cases it will not create a problem, there are some known issues that arise with some components of ArcMap (and with add-on programs such as FragStats) if the directory name contains spaces \/ the filename begins with a number.<\/p>\n<h4>Show file extensions by default<\/h4>\n<p>It is a good practice to modify <strong>Windows Explorer <\/strong>so that, by default, it shows all known file extensions. To do this, click on File or Organize (depends on which Windows version you are using), then on <strong>Folder and search options<\/strong>. Then, in the View tab, <strong>uncheck Hide extensions for known file types<\/strong>. Doing this will make it much easier to find files.<\/p>\n<h4>Some general observations:<\/h4>\n<p>It is better to open ArcMap and then select the appropriate MXD file, rather than to double-click on the MXD file to start up ArcMap. Although in most circumstances the results will be the same, in some cases issues can arise that will subsequently result in ArcMap bombing out.<\/p>\n<p>You should always work from the local (C or D) drive. We do not recommend working from or saving to the Server (H) drive. You are responsible for storing your lab data and work. Every connection to the Server &#8216;adds up&#8217; and eventually the system can become very sluggish and, at the extreme, some users may find that they cannot successfully log onto the system. <a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/hdrivelockedfiles.txt\" target=\"_blank\" rel=\"noopener noreferrer\">An example of the connections that are established by a single user<\/a> shows how many connections are required by ArcMap (when working across the network). Having too many Folder Connections can also become problematic since ArcMap will attempt to connect to the folders (even if they don&#8217;t exist) which can slow down things.<\/p>\n<p>Bookmarks are an efficient means of keeping your layouts consistently &#8216;laid out&#8217;. <a href=\"http:\/\/desktop.arcgis.com\/en\/arcmap\/latest\/map\/working-with-arcmap\/using-spatial-bookmarks.htm\" target=\"_blank\" rel=\"noopener noreferrer\">The ArcMap help file explains how to create and manage bookmarks<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whenever you start an ArcGIS Pro project you should always ensure that you have established a proper working environment. Most of the parameters that you should check out are found within Options, which is accessed by clicking on Project, and then on Options.\u00a0 Three of the elements that you should pay attention to are the [&hellip;]<\/p>\n","protected":false},"author":18620,"featured_media":0,"parent":406,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-413","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/users\/18620"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/comments?post=413"}],"version-history":[{"count":16,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/413\/revisions"}],"predecessor-version":[{"id":3576,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/413\/revisions\/3576"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/406"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/media?parent=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}