<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Info/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>ArcGIS Explorer Blog : ArcGIS Desktop</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Desktop/default.aspx</link><description>Tags: ArcGIS Desktop</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Creating layer packages part 2 - using group layers</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2009/06/16/creating-layer-packages-part-2-using-group-layers.aspx</link><pubDate>Tue, 16 Jun 2009 17:51:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:5043</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/5043.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=5043</wfw:commentRss><description>&lt;P&gt;We&amp;nbsp;covered some basics in an earlier &lt;A class="" title="A tutorial for creating good layer packages" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2009/06/11/A-tutorial-for-creating-good-layer-packages.aspx" target=_blank&gt;tutorial post&amp;nbsp;on creating layer packages&lt;/A&gt;. Here we'll build on that and take a look at how group layers can be used to create a multi-layer package.&lt;/P&gt;
&lt;P&gt;We visited the &lt;A class="" title="NPS Data Store" href="http://science.nature.nps.gov/nrdata/" target=_blank&gt;NPS&amp;nbsp;Data Store&lt;/A&gt;&amp;nbsp;and downloaded geologic data for the Old Faithful quadrangle in Yellowstone National Park. The data included multiple&amp;nbsp;layers&amp;nbsp;used to create a map of&amp;nbsp;surficial geology, and when we opened the provided ArcMap document here's what we saw:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5044/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Because we opened the ArcMap document (.mxd file) the layers were already symbolized as the author intended with scale dependencies applied. We tweaked some of the properties for each layer as described in our earlier tutorial, and made sure we enabled the HTML popup property for each. &lt;/P&gt;
&lt;P&gt;The map organized the content as separate&amp;nbsp;layers, and we could have created unique layer packages for each one of them. But the layers were cartographically designed to work together, with scale dependencies applied to show various geologic details.&amp;nbsp;To preserve the cartography the&amp;nbsp;approach we used was to create a group layer, collecting all the individual layers in the group and preserving all the intended cartography. We then&amp;nbsp;used the group layer to create the layer package containing all the&amp;nbsp;layers. Here's how we did it.&lt;/P&gt;
&lt;P&gt;First, using ArcMap&amp;nbsp;we&amp;nbsp;created a new group layer:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5045/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;We named the group layer, selected all the individual layers, then dragged them into the group layer:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5046/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Next we right-clicked the group layer and chose Create Layer Package... This put all the sublayers into a single, easily portable package.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5047/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Below is&amp;nbsp;the layer package shown&amp;nbsp;in ArcGIS Explorer 900. We've opened the group layer to show all the original sublayers. Cartography, including scale-dependencies, has been&amp;nbsp;preserved in the layer package. We can now view the data in ArcGIS Explorer the same way we&amp;nbsp;viewed it&amp;nbsp;using ArcGIS Desktop, including the popup window contents.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5048/original.aspx" border=0&gt;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=5043" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/900/default.aspx">900</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Layer+Packages/default.aspx">Layer Packages</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Desktop/default.aspx">ArcGIS Desktop</category></item><item><title>A tutorial for creating good layer packages</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2009/06/11/A-tutorial-for-creating-good-layer-packages.aspx</link><pubDate>Fri, 12 Jun 2009 00:01:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:5010</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/5010.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=5010</wfw:commentRss><description>&lt;P&gt;With the release of ArcGIS Desktop 9.3.1 the ability to create layer packages was introduced. Layer packages encapsulate the data, cartography, and other properties of the layer as it's authored in ArcMap (or ArcGlobe)&amp;nbsp;into&amp;nbsp;one easily shareable package. &lt;/P&gt;
&lt;P&gt;Layer packages can be shared with other ArcGIS Desktop users,&amp;nbsp;shared on ArcGIS Online (public beta soon), and are also supported in&amp;nbsp;ArcGIS Explorer 900 along with layer files.&amp;nbsp;What's significant for Explorer users is that now the cartographic capabilities of ArcGIS Desktop can be seen using Explorer. In the past only simple rendering options were available in Explorer for local data sources, now these are expanded to include ArcGIS Desktop cartography via layer files and layer packages.&lt;/P&gt;
&lt;P&gt;ArcGIS 9.3.1 was released not long ago, and ArcGIS Explorer 900 is currently in Beta. But since you may want to begin to create layer packages now&amp;nbsp;for use in Explorer 900 when it becomes available we thought we'd cover a few basic pointers on how to create good layer packages. &lt;/P&gt;
&lt;P&gt;We began by downloading some data and an&amp;nbsp;ArcMap document (.mxd file) from the USGS. The data we downloaded was from an open file report with data from the &lt;A class="" title="USGS Open File Report" href="http://pubs.usgs.gov/of/2004/1352/" target=_blank&gt;Engineering aspects of karst map&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;We downloaded the data, started ArcMap, opened the provided map document, and this is where we started. Our goal for this post was to take the karst_polys_polygon layer in the map and share it as a layer package with ArcGIS Explorer 900 users.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5015/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;You can see the data (from a personal geodatabase) is already symbolized so we have a good start.&amp;nbsp;But there's a few things we want to do during the process of authoring&amp;nbsp;the layer package that will ensure&amp;nbsp;those we share the layer package&amp;nbsp;with have&amp;nbsp;the best possible experience and that we present the data in the best possible way. We think &lt;EM&gt;authoring&lt;/EM&gt; is a good way to think about this process,&amp;nbsp;and we'll step you through the basics of what to consider.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt;&amp;nbsp;We opened&amp;nbsp;the layer properties and began with the General tab. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5016/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;The default name for a layer is the same as the layer source. In this case the layer was named &lt;EM&gt;karst_polys_polygon&lt;/EM&gt; which isn't particularly user friendly. So&amp;nbsp;we&amp;nbsp;changed the name and added a brief description and credits. We gave the layer the same name as the title of the map, and added the description from information we found on the USGS Web site.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; Symbology tab&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5017/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;In this tab we checked off the &lt;EM&gt;all other values&lt;/EM&gt; option since it's not needed and will appear in the final legend. We also changed the label for the heading of the field that was used for the unique value rendering. The original label was the same as the field name - K_TYPE - and doesn't provide a lot of meaning. So we changed that to Karst Type to make it more user friendly and understandable.&lt;/P&gt;
&lt;P&gt;We also noticed in the original map document that some polygons were outlined and some were not. So we changed the symbol properties so that all polygons were&amp;nbsp;represented in a similar way&amp;nbsp;(not outlined).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 3:&lt;/STRONG&gt; Fields tab&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5018/original.aspx" border=0&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All of the fields were checked on for display, the default for a layer. But most of these fields&amp;nbsp;offered little valuable information. We didn't want the recipient of our layer package to see irrelevant fields like OJBECTID, SHAPE, and others. So here we checked them off except for the two that provided the essential information.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5019/original.aspx" border=0&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also changed the not-so-friendly K_TYPE and DESCRIPT to the more user friendly Karst Type and Description by entering aliases for the field names.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 4:&lt;/STRONG&gt; HTML Popup tab&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5031/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;The HTML popup tool is new at ArcGIS 9.3.1, and this tab controls its properties. For Explorer users this is important because it also controls how the popup looks when the feature is clicked. By default the HTML popup tool is disabled, so first we check it on. We leave the default option on&amp;nbsp;for displaying a table of the visible fields. The Verify... button allows us to preview how the popup looks in ArcMap, and how it will look in Explorer.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5020/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Here you can see the two remaining fields we've left checked on (remember we turned off all the ones that didn't make sense in Step 3 and also created field aliases). This is a preview of what the popup will look like, and it has all the essential information we want. At this point we make sure we save all of our changes.&lt;/P&gt;
&lt;P&gt;Taking a look at this in ArcMap we see the new HTML Popup&amp;nbsp;tool on our toolbar, highlighted with the red arrow below. The green arrow points to the&amp;nbsp;Identify tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5021/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;And we can compare Identify and the HTML Popup tools below. First we use Identify:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5022/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;And below is what things look like using the HTML Popup tool:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5023/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Note the leader tail to the clicked location, the shadow effect around the popup, and the styled view of our attributes -&amp;nbsp;a much nicer way to view the information.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 5:&lt;/STRONG&gt; Create the layer package&lt;/P&gt;
&lt;P&gt;Now that we've finished making changes we can create the layer package.&amp;nbsp;This will encapsulate the data and capture our cartography and other changes we've made to our layer in one easily shareable package. To create the layer package we right-click the layer and choose Create Layer Package....&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5024/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;It takes just a few seconds, and when finished we see the following message. Note that the layer package has an extension of .lpk.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5025/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Now we'll open the layer package in Explorer 900. You can drag and drop the LPK file directly onto Explorer, or use the Add Content and choose ArcGIS Layers...&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5026/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Below we see the layer package added to ArcGIS Explorer 900. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5032/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Things to note are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the original data source was a personal geodatabase, which has been encapsulated&amp;nbsp;in the&amp;nbsp;LPK file and is now being used by Explorer 900&lt;/LI&gt;
&lt;LI&gt;the layer name is the same as we saved from ArcMap&lt;/LI&gt;
&lt;LI&gt;the data is displayed using the same cartography as authored in ArcMap&lt;/LI&gt;
&lt;LI&gt;the legend is exactly the same as in ArcMap&lt;/LI&gt;
&lt;LI&gt;the popup window is styled as we've defined in Step 4 and is the same style as we saw using ArcMap's HTML Popup tool&lt;/LI&gt;
&lt;LI&gt;the layer packages looks exactly the same in 2D mode and 3D mode&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If we shared this on ArcGIS Online (beta to be announced soon) the description we entered would automatically appear with our shared content. Here's a snapshot of&amp;nbsp;the current development site after we shared our layer package. We've searched using the keywords USGS and Karst and can see the description we entered in the layer properties in ArcMap that have been read directly from the layer package when we shared it on ArcGIS Online.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/5033/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;You&amp;nbsp;can now understand how&amp;nbsp;layer packages open up a whole new world for sharing data not only with other ArcGIS users, but also with a much broader audience using ArcGIS Explorer. Using these basic steps you can confidently create layer packages now for use in ArcGIS Explorer 900 soon... And we'll cover this in more detail as we get closer to Explorer 900's public release.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=5010" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/900/default.aspx">900</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Layer+Packages/default.aspx">Layer Packages</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Desktop/default.aspx">ArcGIS Desktop</category></item></channel></rss>