Tag: Explorer Desktop

Using custom logos in ArcGIS Explorer

Mark Bockenhauer of the ArcGIS Explorer team contributed the following post on how to display a custom logo in ArcGIS Explorer.

 

 

It is common with paper maps to display a logo perhaps a company logo or government seal.  The same can be done on digital ArcGIS Explorer maps by leveraging the Home Server.

The Home Server is a user defined server that ArcGIS Explorer connects to when it starts up.  Typically ArcGIS Explorer checks the home server to see if its version is up to date and to get the default map to display.  It does this by referencing information in the ‘explorer’ folder on the server. This folder is part of the ArcGIS Server install.

Download the explorer.zip folder before continuing with this example.  This folder contains example resources for all of the ArcGIS Server Home Server settings that can be applied to ArcGIS Explorer.

Once you have downloaded the file unzip it and place it in the appropriate location on your server.

Default Locations:
.NET  C:InetpubwwwrootArcGISExplorer
JAVA   C:Program FilesArcGISjavaweb_outputExplorer

To display your own custom logo on ArcGIS Explorer applications that specify your server as their home server you will need to modify the following files:

explorerconfige2config.xml
explorerskinsexample_skin_file.xml

In the e2config.xml file the <skins> section is commented out (highlighted in bold below).  Un-comment this section by removing “<!- -“ prior to the section and “- ->” following the section.  You will also want type in the appropriate URL for the <skinurl> tag. 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<E2Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <Permissions>

    <AddData>true</AddData>

    <OpenDocument>true</OpenDocument>

    <SaveDocument>true</SaveDocument>

    <ManageLayers>true</ManageLayers>

    <ManageTasks>true</ManageTasks>

    <DisplayOptions>true</DisplayOptions>

    <PerformVersionCheck>true</PerformVersionCheck>

    <TaskDownloadInternet>true</TaskDownloadInternet>

    <TaskDownloadLocalIntranet>true</TaskDownloadLocalIntranet>

    <TaskDownloadTrustedSites>true</TaskDownloadTrustedSites>

  </Permissions>

  <!– To use a server skin file, uncomment the 'skins' tags below by removing the exclamation point and hyphens.

     Type your server name into the skin url. The server install contains an example skin file and resources –>

   <!–<skins>

        <skinfile>example_skin_file.xml</skinfile>

        <skinurl>http://TYPE_IN_YOUR_SERVER_NAME_HERE/arcgis/explorer/skins/</skinurl>

    </skins>–>

</E2Config>

 

Next we will modify the skin file referenced in the <skins> tags to display the desired logo. In the explorerskinsexample_skin_file you will see that all of the lines are commented out.  You will also notice that there are two sections to the file.  The tags in the upper section all control the ArcGIS Explorer color scheme.  The tags in the lower section pertain to ArcGIS Explorer graphic elements.  Un-comment this section.
 
<!–

    <HUDFont type="Font">Verdana</HUDFont>

    <ApplicationTitle type="Application">ExampleApplicationTitle</ApplicationTitle>

    <DocumentPrefix type="Application">ExampleDocumentPrefix</DocumentPrefix>

    <SplashScreenBitmap type="Application">example_splash_screen.png</SplashScreenBitmap>

    <SplashMessageCoords type="Application">15,200</SplashMessageCoords>

    <DisplayCustomLogo type="Application">example_custom_logo.png</DisplayCustomLogo>

    <DisplayCustomLogoMaskColor type="Application">RGB(255, 0, 255)</DisplayCustomLogoMaskColor>

    <DisplayCustomLogoTransparency type="Application">75</DisplayCustomLogoTransparency>

    <NorthArrowBitmap type="Application">example_north_arrow.png</NorthArrowBitmap>

     –>

At this point if you start ArcGIS Explorer and specify your server as the Home Server, you will see the Example Custom Logo.

Setting the Home Server to your server.
1.    In Explorer, click File > Set Home Server
2.    Click “Connect to the Home Server located at”, then enter the URL to your server in the format http://<server name>/<instance name> (Example: http://myServer/ArcGIS)
3.    Click the Test button to test the connection, or click OK to return to Explorer.
ArcGIS Explorer will restart and apply the Home Server Settings.

To use your own logo you will want to change the .PNG referenced in the <DisplayCustomLogo> tag.  Your .PNG file should be located in the skins folder with the skin file.

Notice that the example logo makes use of the <DisplayCustomLogoMaskColor> to display a rectangular logo.

Actual .PNG on the left, what is displayed on the Right.

  

For more information on making your server the ArcGIS Explorer Home Server see "Making your system an ArcGIS Explorer Home Server" under "Administering the Server" at:  http://webhelp.esri.com/arcgisserver/9.2/dotNet/  
 

Posted in Services | Tagged | Leave a comment

Embedding globe services within other globes

James posted a comment regarding publishing Globe services with other embedded Globe services.  This can be done, but it is not the recommended workflow.  Sterling from the Server Dev team wrote up this response.

 

As you create 3D views using ArcGIS Explorer and ArcGlobe, you may want to use a layer from someone else’s globe service in addition to your own. For example, you might want to get your base layers from an ArcGIS Online globe service, and your thematic layers from your own globe service.

Resist the temptation to create a new globe service that embeds one or more other globe services. Your client applications will perform better and you will avoid redundancy of caches on your server if you have the clients connect to the globe services directly. The workflow below explains how you can create an easily-distributable globe that will allow clients to connect directly to all of the globe services it contains. This example uses an ArcGIS Online service, but you could substitute any globe service that you might want to embed in your own globes:

  1. Create a new ArcGIS Explorer map (NMF) or ArcGlobe document (3DD) and add the ArcGIS Online service
  2. Add your local data to a separate ArcGlobe document and publish it as an ArcGIS Server globe service.
  3. Add your globe service to the ArcGIS Explorer map or ArcGlobe document that you created in Step 1.
  4. Distribute the ArcGIS Explorer map or ArcGlobe document. Optionally, you can publish the ArcGlobe document as a PMF file so that clients with ArcReader can view the globe. Both ArcGIS Explorer and ArcReader are available as free downloads from ESRI.


 

 

 

Posted in Services | Tagged , | Leave a comment

Publishing globe services to enhance your ArcGIS Explorer base map

Sterling Quinn of the ArcGIS Server team contributed the following post.  The ability to publish data as a globe service and to have that data be consumed in a rich client like ArcGIS Explorer is very powerful.
 

As you work on projects with ArcGIS Explorer, you’ll probably want to improve the default image and terrain resolution to create a suitable base map for your area of interest. Globe services are an efficient way to get high-resolution imagery and terrain data to your Explorer maps.

 

If you’ve worked with ArcIMS and ArcGIS Server before, you’re probably familiar with map services, which are two-dimensional. A globe service is three-dimensional, and represents an ArcGlobe document that is being made available to network and Internet clients through an ArcGIS Server system. In fact, the default satellite image you see when you open Explorer is from a globe service hosted by ESRI.  

 

To create a globe service, you need ArcGlobe, some data, and ArcGIS Server. After you create the globe service, you can improve its performance by creating a globe cache. 

 

This example uses two globe services created from publicly-available data:

  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     

  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolution color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     
  1. A globe service displaying 1-foot resolutio
    n color orthoimagery of Bountiful, Utah. This imagery was created by the United States Geological Survey (USGS) and is made available through the Utah Automated Geographic Reference Center (AGRC). In this example we’ve added four images to an unmanaged raster catalog so that ArcGlobe treats them as one layer.
  2. A service containing 1/3 arc second (about 10 meter) resolution elevation data obtained from USGS Seamless Data Distribution.
     

To create a globe service like the ones we’ve used in this example, you’ll need to do the following:

 

Add your data to an ArcGlobe document. Symbolize it just the way you want the clients of your globe service to see it. Save the globe document to a location that’s visible to all of the machines in your ArcGIS Server system. If you’re creating a globe service that will just provide elevation measurements, remove all other layers from your globe document.

 

Below are some views of the two globe documents that we'll publish as services to enhance our Explorer base map. The second view shows a wireframe because that service will contain elevation only.

 

 

 

 

 

Use ArcGIS Server to publish the globe document as a globe service. You can easily do this in ArcGIS Server Manage, or you can use ArcCatalog. If you need detailed instructions, consult the Globe Services topic in the ArcGIS Server Help: http://webhelp.esri.com/arcgisserver/9.2/dotNet/index.htm#manager/publishing/globe_service.htm

 

Create a globe cache for the service. A globe cache consists of pre-created globe tiles that exist on the server and can be distributed quickly to clients who request them.

 

When you display the globe service’s properties in ArcCatalog, there’s a Caching tab that contains the tools you need to create globe caches. It's not always practical to generate a full cache for all layers, but generating a cache for as many levels of detail as possible can improve performance for the first users that access the service. If you can’t create a full cache, the tiles that you do not create are created on demand as they are visited by clients. The map imagery cache in this example was cached from State (1:312500) to City Block (1:610) Note: Elevation globe services need the full cache built before you can use the service.

  

Once you’ve created the globe document, published the service, and created the cache, you can add the globe service to your Explorer maps. Below is what our image and elevation globe services look like in Explorer.

 

 

 

 

Of course, the power of Explorer lies in its ability to display your own data and perform GIS analysis on it. A high-resolution base map can enhance the effectiveness of your GIS work. Consider your impressions of the two screen captures below that overlay a geologic fault lines shapefile with the Explorer base map. The first image uses the original Explorer base map, while the second image uses the enhanced base map. Not only does our enhanced base map look more realistic, but specific buildings and streets crossed by the faults are more easily identifiable, providing for clearer analysis.

 

 

 

 

 

Try it out for yourself here:  http://serverx.esri.com/ArcGIS/explorer/maps/bountiful.nmf

 

What do you think?

 

 

Posted in Services | Tagged , | 1 Comment