Tag Archives: Package

ArcPad Packages

Hi everyone,
We have created a new ArcPad Package type for organisations within ArcGIS Online. You can load two different types of package: Templates and Projects.
Upload your current ArcPad Templates and use ArcGIS Online as your content management system for distribution to field workers.

Once downloaded and opened, a template creates a new project. The template is reused and each created project can be uploaded to ArcGIS Online for collation within ArcGIS for Desktop e.g. a Council has different contractors working in the field and everyday the contractor must show the work they have done. Using the official Council ArcPad Template Package, they collect data each day and post the project folder back to ArcGIS Online. The GIS administrator can then download the data and compile the results.

Check out the QuickProject Template Tool – http://www.arcgis.com/home/item.html?id=c05ecfb600d4466a81d46efc82cde94a to help you create your templates ready to upload.
Posted in ArcGIS Online, Defense, Electric & Gas, Local Government, Mobile, National Government, Oceans & Maritime, Petroleum, Public Safety, State Government, Telecommunications, Transportation, Water Utilities | Tagged , , , | Leave a comment

New ArcGIS Online Basemaps

A couple of nice additions to the ArcGIS for Desktop 10  basemap gallery were made last week:

1. We added an entry for the new Light Gray Canvas basemap which provides a neutral basemap that makes your thematic data really stand out. There are some useful blog posts about this new basemap on the Mapping Center blog

2. We renamed the  ‘Physical’ basemap to ‘Physical and Ocean’ and added the Ocean basemap
into this as a layer. When you add the Physical and Ocean basemap into
your map, you can turn the Ocean basemap on in the entry for this
basemap in the Table Of Contents if you want to see rich detail for the
world’s oceans.

To add  these basemaps into ArcGIS for Desktop 10, choose File > Add
Data > Add Basemap in ArcMap or ArcGlobe. To add them into 9.3 or
9.3.1, choose File > Add Data From ArcGIS Online.
Alternatively, here are the layer packages for the Light Gray Canvas basemap and the Physical and Ocean basemap that you can add directly into your map or globe.

To add these basemaps into your map or globe via the Catalog, make a connection to this ArcGIS server: http://services.arcgisonline.com/arcgis/services
and then add the World_Light_Gray_Base and World_Light_Gray_Reference
services from the Canvas folder, or the Ocean_Basemap service.

Posted in ArcGIS Online | Tagged , , , , , , , , , , , , | Leave a comment

Map Packages

Map packages (.mpk) make it easy to share complete map documents with others. A map package contains a map document (.mxd) and the data referenced by the layers it contains, packaged into one convenient, portable file. Map packages can be used for easy sharing of maps between colleagues in a work group, across departments in an organization, or with any other ArcGIS users via ArcGIS online. Map packages have other uses, too, such as the ability to create an archive of a particular map that contains a snapshot of the current state of the data used in the map.

If you have ArcGIS 10 give packaging a try and here’s a tip:

Before packaging a map, be sure to enter descriptive information about it in the Map Document Properties dialog box. This information is built into the package and is accessible to others when you upload your map package into ArcGIS online. You can access this dialog box by clicking File > Map Document Properties on the main menu. 

Posted in Uncategorized | Tagged , , , , , | 2 Comments

Sharing Your Data by Creating Packages

Packages make it easy to share your data with other geographic information system (GIS) professionals because the work of pulling together the selected data and zipping it into a single, convenient file is done for you automatically. People using ArcGIS® Desktop or the free ArcGIS Explorer desktop client can add your packaged data to their maps or globes easily with a couple of clicks. There’s no manual downloading, file management, or unzipping for them to perform. Symbolization, labeling, and other layer properties are preserved, so your intended users don’t have to do any additional steps to display and use your data.

For more on information on new ways to share your data with the ArcGIS community see this PDF

Posted in Uncategorized | Tagged , , , , | Leave a comment

Programmatically Working with Packages and Web Maps, new at 10 SP1

Starting at ArcGIS 10, Service Pack 1, developers now have more options when working with Packages and Web Maps.  With SP 1, you can programmatically open Layer and Map Packages from both local data sources and ArcGIS Online.  You’re not just limited to packages though; you can open Web Maps too.  This blog has more of an ArcGIS Engine focus, but since ultimately you are getting back a layer or map, ArcGIS Desktop developers can leverage this functionality too in their custom components and add-ins.

Both the LayerFile and MapDocument class’s Open methods have been enhanced to allow developers to reference a path to a package.  For example the ILayerFile.Open method can be used to open Layer Packages in a MapControl like this:

VB.NET
Dim layerFile as ILayerFile = new LayerFileClass
layerFile.Open(“c:DataLayerPackagesUSCities.lpk”)
Dim layer as ILayer = layerFile.Layer
axMapControl1.AddLayer(layer)

C#
ILayerFile layerFile = new LayerFileClass();
layerFile.Open(@”c:DataLayerPackagesUSCities.lpk”);
ILayer layer = layerFile.Layer;
axMapControl1.AddLayer(layer);

And the IMapDocument.Open method can be used to open both Layer Packages and Map Packages like so:

VB.NET
Dim mapDocument as IMapDocument = new MapDocumentClass
mapDocument.Open(“c:DataLayerPackagesMyMapPackage.mpk”, “”)
axMapControl1.Map = mapDocument.get_Map(0)

C#
IMapDocument mapDocument = new MapDocumentClass();
mapDocument.Open(@”c:DataLayerPackagesMyMapPackage.mpk”, “”);
axMapControl1.Map = mapDocument.get_Map(0);

I said earlier that you could also access data from ArcGIS.com.  This can be done by replacing the path to the package with a properly formatted URL to the ArcGIS Online content.  What is this properly formatted URL?  Let’s use the Bing Maps Road Layer Package on ArcGIS Online as an example and load it into an ArcGIS Engine Application.

Here is the link to the package.
http://www.arcgis.com/home/item.html?id=b6969de2b84d441692f5bb8792e65d1f

To use it, we just need to feed the open method the correct URL which we can make by taking the unique identifier for the map, b6969de2b84d441692f5bb8792e65d1f (the long guid like number after the “id=”), and substituting it in the following URL.
http://www.arcgis.com/sharing/content/items/<unique identifier>/item.pkinfo

So we get:
http://www.arcgis.com/sharing/content/items/b6969de2b84d441692f5bb8792e65d1f/item.pkinfo

Since this is a Layer Package, we will use ILayerFile’s open method to open it.  Our code would look like:

VB.NET
Dim layerFile as ILayerFile = new LayerFileClass
layerFile.Open(“http://www.arcgis.com/sharing/content/items/b6969de2b84d441692f5bb8792e65d1f/item.pkinfo”)
Dim layer as ILayer = layerFile.Layer
axMapControl1.AddLayer(layer)

C#
ILayerFile layerFile = new LayerFileClass();
layerFile.Open((@”http://www.arcgis.com/sharing/content/items/b6969de2b84d441692f5bb8792e65d1f/item.pkinfo”);
ILayer layer = layerFile.Layer;
axMapControl1.AddLayer(layer);

The same URL structure can be used with Map Packages and Web Maps IMapDocument.  Just get the unique id and plug it into the URL.  Web maps are great ways to get base maps into an application.

Why would using packages and Web Maps be useful for a developer, in particular an Engine developer?  Often Engine applications are highly specialized and are supplied with application specific data when deployed.  Good GIS data is always changing and improving so occasionally you may need to supply your users with a data update.   Why not create a Map Package with all the necessary data and upload it to you own group on ArcGIS.com?  If your application references the ArcGIS Online map package instead of data on disk, it will automatically download the update.  If there are no data updates it will just reference the already unpacked data on disk.   

There are plenty of options to share your data out on ArcGIS.com.  If your data is not sensitive and you don’t mind other people accessing it, you can just upload it directly to ArcGIS Online share it with the rest of the user community.  Or, your organization can create its own private group, this could be for your whole product, or even a different group for each individual organization that you are deploying to.  Provide your users with their user name and password and the first time they open the package they will automatically be prompted for the password, which can be stored so they don’t get the dialog again.

For more information on working with packages see the following document and sample in the SDK.

 Content provided by Ralf

 

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

ArcGIS 9.3.1 Desktop Layer Packaging Patch

Now that everyone has downloaded and installed ArcGIS 10 and applied Service Pack 1, here is an important patch if you are sharing your layer packages with ArcGIS 9.3.1 users.

This patch addresses
an issue that prevented users from being able to unpack/open ArcGIS 10
SP1 layer packages (*.lpk files) in ArcGIS 9.3.1. This patch is required for 9.3.1 ArcGIS users who want to consume layer packages created in ArcGIS 10 SP1 Desktop.

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Creating and sharing map packages

By Caitlin Scopel, Esri Cartographic Product Engineer

Map Packages Thumb

In our last blog post, we talked about map packages and answered some of your questions about them. Now, you might be ready to use and share map packages. Here is a quick guide to help you get you started. Continue reading

Posted in Mapping | Tagged , , , , | 6 Comments

Map packages!

By Caitlin Scopel, Esri Cartographic Product Engineer

Map Packages Thumb

Map packages were a popular topic at the Esri User Conference this year, and we got quite a few questions about them. In this blog entry, I will cover some of those questions, as well as give a brief introduction to the new map package functionality that is available with ArcGIS 10. Continue reading

Posted in Mapping | Tagged , , , | 3 Comments

Converting KML to Layer Packages

ArcGIS Explorer desktop can view KML in both 2D and 3D. ArcGIS Desktop
(ArcMap) can export KML, but does not yet enable you to view it. So how do you
view your favorite KML in ArcMap? One way is to use a new capability of the
latest ArcGIS Explorer release and convert it to a layer package. For more information see this post from the Explorer blog.

 

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Using ArcMap to create layer packages with 3D point symbols!

OK, so the title is a bit misleading, but we have been hearing from a few of you in regards to getting layer packages to display with 3D points in ArcGIS Explorer, and there is a way to do this using ArcMap.  The quick answer is to use a Layer or Layer Package that already has the desired 3D layer properties. Simply, add a layer with 3D properties to ArcMap and reset the data source for the layer to your point feature data.  While you cannot set 3D properties for a layer in ArcMap, if the layer already has 3D properties, ArcMap does not remove them.

For those of you that know how to reset the data source on a layer in ArcMap, you are set… you just need a point layer that already has 3D properties.  I have made one that has the basic settings for 3D points that most people want and you can get it here. The 3D properties will work well for general visualization of points in 3D and 2D.  A full explanation of the details follows below…

The issue:  points from an ArcGIS Layer appear flat (draped) and are too big in ArcGIS Explorer 3D
For an example we will take a look at a default layer from ArcMap.  In this case I have added point features representing cities in the United States (orange points).  I also have a shaded relief basemap loaded in for reference.

 

If we create a layer package (see help for creating packages) out of this layer and open it in ArcGIS Explorer we will see the following:

 

In ArcGIS Explorer 2D, it looks pretty good.  The layer has 2D properties and ArcGIS Explorer displays it as it is seen in ArcMap.  If we switch to 3D in ArcGIS Explorer we see that the points are displayed in a larger size.

 If we zoom in on the map we also see that the points are too big and they are draped on the surface.

 

This occurs because the layer does not have good 3D properties for this ArcGIS Explorer use case.  Using the layer package referenced above this can be corrected. Open this layer from ArcGIS.com in ArcMap.


 
The layer package contains a single point, but that is not important – because we just want the 3D properties from the layer. You are using this layer as a template for your point data.

Right Click on the layer and open the layer’s properties…


 

 On the Source Tab click the ‘Set data source’ button and browse to your point data.

 

Click OK and see your data displayed with the template layers symbols.  Pictured here is the same cities point data used above.
 

If we create a layer package from this layer and open it in ArcGIS Explorer 3D, it looks like this:

 

The symbols have better sizing for this use case and they display in 3D.
In ArcMap we can adjust the layer properties further, changing the layer name, symbol, symbol renderer, turn on labels, set HTML popup etc…  While 3D marker symbols like those in the ArcGIS_Explorer style work well, you can also use ArcMap’s character marker symbols .  For example, I changed the layer name, chose the ‘Hospital’ symbol from the ESRI style and changed the size from 18 to 14.

In ArcMap it looks like this:

In ArcGIS Explorer 3D it looks like this:

 

If you have a 3D Analyst license you can use the layer as template in ArcGlobe.  Of course, you can also use ArcGlobe to adjust the layers 3D settings and do more advanced 3D display.

Content for this post provided by Mark B. (ArcGIS Explorer Team)

Posted in 3D GIS, Uncategorized | Tagged , , , , , , , , , , | Leave a comment