{"id":121221,"date":"2007-12-19T19:25:00","date_gmt":"2007-12-19T19:25:00","guid":{"rendered":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/using-masks-to-create-hollow-cased-road-symbols\/"},"modified":"2007-12-19T19:25:00","modified_gmt":"2007-12-19T19:25:00","slug":"using-masks-to-create-hollow-cased-road-symbols","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols","title":{"rendered":"Using masks to create hollow cased road &quot;symbols&quot;"},"author":4331,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[22941],"tags":[38211,38451,31301],"industry":[],"product":[],"class_list":["post-121221","blog","type-blog","status-publish","format-standard","hentry","category-mapping","tag-arcgis-methods","tag-cartographic-representations","tag-symbology"],"acf":{"short_description":"By Aileen Buckley, Mapping Center Lead\n\n\n\nThe map excerpt shown at right (click on it to see the details) shows an example of hollow case...","flexible_content":[{"acf_fc_layout":"content","content":"<p><strong>By Aileen Buckley, Mapping Center Lead<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/downloads.esri.com\/MappingCenter2007\/blog\/Dec07Images\/HollowCasedRoad_Thumb.jpg\" border=\"0\" alt=\"\" hspace=\"5\" align=\"left\" \/><\/p>\n<p><a href=\"http:\/\/downloads2.esri.com\/blogs\/images\/support_443.jpg\" target=\"_blank\"><\/a>The map excerpt shown at right (click on it to see the details) shows an example of hollow cased roads.\u00a0 The map is from a mosaic of USGS DRG image files.\u00a0 The map specification requires that the cased road symbol contains a transparent gap.\u00a0 The examples shown below were created with ArcMap 9.2 and used cartographic representations to re-create the effect on the USGS DRG map.<\/p>\n<p>A simple two-layer cased line symbol won&#8217;t work, as there&#8217;s no way to define the center portion of the line as &#8216;no color&#8217;. A white center would not look right as it would block out any information below the roads in the map&#8217;s drawing order<!--more--><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/downloads.esri.com\/MappingCenter2007\/blog\/Dec07Images\/HollowCasedRoad_Fig1.bmp\" border=\"0\" alt=\"Hollow Cased Road - Figure 1\" vspace=\"5\" align=\"middle\" \/><\/p>\n<p>You might try to use a two offset thin line symbols, but there&#8217;s not an easy way to cleanly merge and join features such that the lines don&#8217;t look cluttered and disjointed. Also, note the dangles in this example (on the right); it&#8217;s difficult to control the side to which side the lines will offset. Worse still, offsetting line symbols has a high cost for your CPU, it seems the better we get at figuring out how to draw offset symbols the slower they draw.<\/p>\n<p>The solution is to create a masking layer. The geoprocessing tool used to achieve this effect &#8211; <a href=\"http:\/\/webhelp.esri.com\/arcgisdesktop\/9.2\/index.cfm?id=1233&amp;pid=1231&amp;topicname=Feature_Outline_Masks_%28Cartography%29\">Feature Outline Masks<\/a> &#8211; has been available since version 9.0, and requires an ArcInfo licence.<\/p>\n<p>The tool&#8217;s Reference Scale property should be set to the scale your map will be printed or used at. The tool&#8217;s Margin property should be set to 0 (zero) for this particular effect. You would set the margin if you wanted to create a mask that acted as a &#8216;buffer&#8217;, i.e. outside the road symbol. The idea here is to first create some temporary symbology for your roads. Choose a cased line symbol and remove the bottom layer (the casing) from the symbol. Next, create masks for your roads layer using this temporary symbol. Then for your layer&#8217;s symbology, just use the casing layer of the symbol. In the example shown below, the red layer is the polygon output from the Feature Outline Masks tool.<\/p>\n<p><strong>Example using red cased line (remove the casings prior to creating the masks)<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/downloads.esri.com\/MappingCenter2007\/blog\/Dec07Images\/HollowCasedRoad_Fig2.bmp\" border=\"0\" alt=\"Hollow Cased Road - Figure 2\" vspace=\"5\" align=\"middle\" \/><\/p>\n<p>Resulting masks are now used on just the casings<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/downloads.esri.com\/MappingCenter2007\/blog\/Dec07Images\/HollowCasedRoad_Fig3.bmp\" border=\"0\" alt=\"Hollow Cased Road - Figure 3\" vspace=\"5\" align=\"middle\" \/><\/p>\n<p><strong>Creating masks for cartographic representations<\/strong><\/p>\n<p>You can use the Feature Outline Masks tool on cartographic representations too. The key difference between using the tool on standard symbols and cartographic representations is that with representations more of the symbol is masked, specifically, dash patterns and markers in marker lines. Note the image below: a dashed line was masked to create the &#8216;unpaved&#8217; road symbol.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/downloads.esri.com\/MappingCenter2007\/blog\/Dec07Images\/HollowCasedRoad_Fig4.bmp\" border=\"0\" alt=\"Hollow Cased Road - Figure 4\" vspace=\"5\" align=\"middle\" \/><\/p>\n"}],"authors":[{"ID":4331,"user_firstname":"Aileen","user_lastname":"Buckley","nickname":"Aileen Buckley","user_nicename":"abuckley","display_name":"Aileen Buckley","user_email":"abuckley@esri.com","user_url":"","user_registered":"2018-03-02 00:15:57","user_description":"Dr. Aileen Buckley is a cartographer researcher and Senior Principal GIS Engineer at Esri. I'm on the ArcGIS Living Atlas of the World Team, making, writing, and talking about maps. I'm also involved in a number of cartographic societies and association, and I'm the chair of the ICA Ethics in Cartography Commission.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/Aileen.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using masks to create hollow cased road &quot;symbols&quot;<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using masks to create hollow cased road &quot;symbols&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\"},\"author\":{\"name\":\"Aileen Buckley\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/874953792dea98fe178fbb6a5e8255b0\"},\"headline\":\"Using masks to create hollow cased road &quot;symbols&quot;\",\"datePublished\":\"2007-12-19T19:25:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\"},\"wordCount\":10,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS Methods\",\"cartographic representations\",\"symbols and symbology\"],\"articleSection\":[\"Mapping\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\",\"name\":\"Using masks to create hollow cased road &quot;symbols&quot;\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2007-12-19T19:25:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using masks to create hollow cased road &quot;symbols&quot;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/874953792dea98fe178fbb6a5e8255b0\",\"name\":\"Aileen Buckley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/Aileen.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/Aileen.jpg\",\"caption\":\"Aileen Buckley\"},\"description\":\"Dr. Aileen Buckley is a cartographer researcher and Senior Principal GIS Engineer at Esri. I'm on the ArcGIS Living Atlas of the World Team, making, writing, and talking about maps. I'm also involved in a number of cartographic societies and association, and I'm the chair of the ICA Ethics in Cartography Commission.\",\"sameAs\":[\"https:\/\/www.instagram.com\/buckley.aileen\/\",\"linkedin.com\/in\/aileenbuckley\"],\"honorificPrefix\":\"Dr.\",\"honorificSuffix\":\"PhD\",\"gender\":\"female\",\"award\":[\"Chair of the ICA Commission on Ethics in Cartography\"],\"knowsAbout\":[\"Cartography\",\"GIS\"],\"knowsLanguage\":[\"English\"],\"jobTitle\":\"Research Cartographer\",\"worksFor\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/abuckley\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Using masks to create hollow cased road &quot;symbols&quot;","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols","og_locale":"en_US","og_type":"article","og_title":"Using masks to create hollow cased road &quot;symbols&quot;","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols"},"author":{"name":"Aileen Buckley","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/874953792dea98fe178fbb6a5e8255b0"},"headline":"Using masks to create hollow cased road &quot;symbols&quot;","datePublished":"2007-12-19T19:25:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols"},"wordCount":10,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS Methods","cartographic representations","symbols and symbology"],"articleSection":["Mapping"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols","name":"Using masks to create hollow cased road &quot;symbols&quot;","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2007-12-19T19:25:00+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/product\/mapping\/using-masks-to-create-hollow-cased-road-symbols#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Using masks to create hollow cased road &quot;symbols&quot;"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/874953792dea98fe178fbb6a5e8255b0","name":"Aileen Buckley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/Aileen.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/Aileen.jpg","caption":"Aileen Buckley"},"description":"Dr. Aileen Buckley is a cartographer researcher and Senior Principal GIS Engineer at Esri. I'm on the ArcGIS Living Atlas of the World Team, making, writing, and talking about maps. I'm also involved in a number of cartographic societies and association, and I'm the chair of the ICA Ethics in Cartography Commission.","sameAs":["https:\/\/www.instagram.com\/buckley.aileen\/","linkedin.com\/in\/aileenbuckley"],"honorificPrefix":"Dr.","honorificSuffix":"PhD","gender":"female","award":["Chair of the ICA Commission on Ethics in Cartography"],"knowsAbout":["Cartography","GIS"],"knowsLanguage":["English"],"jobTitle":"Research Cartographer","worksFor":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/abuckley"}]}},"text_date":"December 19, 2007","author_name":"Aileen Buckley","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/abuckley","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":false,"tag_data":[{"term_id":38211,"name":"ArcGIS Methods","slug":"arcgis-methods","term_group":0,"term_taxonomy_id":38211,"taxonomy":"post_tag","description":"","parent":0,"count":48,"filter":"raw"},{"term_id":38451,"name":"cartographic representations","slug":"cartographic-representations","term_group":0,"term_taxonomy_id":38451,"taxonomy":"post_tag","description":"","parent":0,"count":9,"filter":"raw"},{"term_id":31301,"name":"symbols and symbology","slug":"symbology","term_group":0,"term_taxonomy_id":31301,"taxonomy":"post_tag","description":"","parent":0,"count":194,"filter":"raw"}],"category_data":[{"term_id":22941,"name":"Mapping","slug":"mapping","term_group":0,"term_taxonomy_id":22941,"taxonomy":"category","description":"","parent":0,"count":2696,"filter":"raw"}],"product_data":[],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/121221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/4331"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=121221"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/121221\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=121221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=121221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=121221"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=121221"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=121221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}