Tag Archives: Explorer Desktop
Over the past few years, an increasing number of geo-services and location-based services have become available to the online community. For example, 3D viewing and street-level imagery from Bing, spatial data layers and services from ArcGIS Online, and georeferencing through GeoNames. Additionally, new types of location-based and crowd-sourced data services provide traffic data (Yahoo!), information on earthquakes (USGS), photography trends (Flickr), local reviews (Yelp), WiFi-based automatic georeferencing (Skyhook), just to name but a few.
As GIS developers, we can leverage these services (and data) in different ways to build new and exciting applications.
Integrating geo-services into ArcGIS Explorer
ArcGIS Explorer provides developers with a framework to integrate with virtually any type of online service. Application extensions can be written by developing custom “add-in” extensions with .NET.
In the ArcGIS Explorer Labs, you can find a number of sample add-ins that highlight integrating with different services. For example, there’s one that displays Bing’s bird’s-eye imagery, one that displays Yahoo! traffic information, and another that allows you to execute a Yellow Pages search from within the application itself.
The Twitter geolocation API
One of the newest services to provide support for geolocation is Twitter. Twitter is a social networking and micro-blogging service that gives users the ability to send or receive short (140 character) status messages (tweets). This can be accomplished from a wide variety of applications and devices.
With the recent addition of geolocation support, users now have the ability to send geolocation information (Latitude/Longitude) with each status message. This is known as “geotagging your tweet” or “geotweeting” for short. Since this functionality is only available through the new Twitter API, only applications that consume the API and that are location aware can support geotweeting.
It is important to note that applications can only geotag tweets if users have explicitly set their accounts to support geotagging. Learn more about geotagging tweets and geo-enabling your account here.
The ArcGIS Explorer Twitter add-in
The Twitter add-in for ArcGIS Explorer gives you the ability to geotag your tweets and perform a number geospatial operations against the Twitter API.
Here’s a quick break-down of what you can do:
- Map Tweets: Login to visualize all of your tweets on a map (2D and 3D).
- GeoTweet: Send a geotweet about what’s happening at a certain location and provide some information that others might find helpful.
I noticed a traffic incident on the I10 near the Alabama exit. You may want to avoid this area for the next little while. #Traffic #Redlands
<34.0666, -117.20872> (Geotag)
- Search: Perform distance or keyword searches and display these on the map.
- Explore: Interact with the map and show popups to see what people are saying, and where.
- Create Notes: Convert tweets to Notes and use them with other ArcGIS Explorer tools (find, measure, directions, route etc.).
- Share: Save the map, upload it to ArcGIS Online and share it with others.
- Integrate: Further integrate with other ArcGIS Explorer add-ins or ArcGIS services to perform more advanced geospatial and geoprocessing operations.
Here are a few snapshots of what you can do.
This is just one example of how geo-services can be integrated with GIS applications such as ArcGIS Explorer. With a steady stream new web development frameworks and geolocation services, there are many other interesting and powerful applications that can be developed.
So if you are interested in exploring what’s happening in the Twitter world, or if you are just looking for ideas of how to build future geo-service based applications, feel free to download this extension and try it out.
Steps to download and install the plug-in
1. Download and Install ArcGIS Explorer.
2. Download the Twitter add-in.
3. Turn on geotagging for your twitter account (instructions here).
4. Send geotweets or search for tweets!
Please feel free to leave your feedback.
11/05/09–Add-ins are used to extend ArcGIS Explorer’s capabilities and can be created using Visual Studio and the ArcGIS Explorer SDK. The ArcGIS Explorer team has published a variety of ready-to-use add-ins that you can download from the ArcGIS Explorer Labs group.
See the ArcGIS Explorer blog for a closer look at how you can use add-ins from the ArcGIS Explorer Labs group.
11/03/09–ArcGIS Online maps, tasks, and APIs received some good press coverage in October. Here are excerpts from a few of the articles:
From the ESRI press release, ESRI Brings GIS to the Public with Mapping for Everyone Web Site
ESRI has launched a Web site that allows users to create maps for free with simple geographic information system (GIS) tools. Called Mapping for Everyone, the Web site includes tools that cover a range of mapping needs, such as embedding an interactive demographic map into a Web site, creating custom applications using Web Mapping APIs, and using a 2D/3D globe viewer on the desktop. Read the full article
The Make a Map application on the Mapping For
Everyone Web site uses map layers from ArcGIS Online.
It was built with the ArcGIS API for Flex.
From the ESRI press release, ESRI ArcGIS Powers New Recovery.gov Map
The United States Recovery Accountability and Transparency Board recently launched the redesigned Recovery.gov Web site with a new interactive Web map based on ESRI geographic information system (GIS) software. The dynamic map shows where American Recovery and Reinvestment Act funds have been awarded as well as recipient information. Read the full article
for the new map on the Recovery.gov Web site.
From the ESRI press release, DOI Demonstrates Climate Change with ArcGIS Explorer
Secretary of the Interior Ken Salazar recently signed an order to establish a coordinated strategy within the United States Department of the Interior (DOI) to improve response to climate change. During the press conference announcing the order, DOI staff used ESRI geographic information system (GIS) technology to demonstrate the current and future impacts of global climate change. Read the full article
Explorer with imagery from ArcGIS Online to
demonstrate climate change
From the ArcWatch article, Create and Deploy Rich Interactive GIS Web Applications
Using ArcGIS Web Mapping APIs, you can offer users rich maps and GIS capabilities similar to those in desktop mapping applications but with Web benefits. For example, you can design applications that offer compelling graphics and an intuitive interface with a consistent user experience across multiple browsers and platforms. Applications built from Web Mapping APIs often perform better and display better maps than traditional server-side applications. In particular, applications that avoid round trips to the server by processing locally on client machines can also improve server performance. Read the full article
applications with the ArcGIS Web Mapping APIs
9/24/09–In a previous post, we offered some tips on how to create groups. We gave a few examples of great groups that users have already created in ArcGIS Online, including two from the ArcGIS Explorer team—the ArcGIS Explorer group and the ArcGIS Explorer Labs group. To learn about how these groups are used, see Using the ArcGIS Explorer group on AGOL in the ArcGIS Explorer Blog.
ArcGIS Online provides an easy way for GIS users to find and share useful content and resources, including maps, layers, and tools. These include a wide variety of specific file types unique to ESRI products, and you can view a complete list of supported content in the ArcGIS Online Help.
There’s lots of content from ESRI and other users that you’ll find on ArcGIS Online, but not all can be used directly in ArcGIS Explorer. For example, an ArcMap map document (MXD) can only be opened in ArcMap, and can’t be used in ArcGIS Explorer. GIS users will know and understand these differences, but for beginning ArcGIS Explorer users it may be a challenge to explore (no pun intended) all of what can be found on ArcGIS Online.
To make things simple we’ve established two ArcGIS Explorer groups that offer an organized subset of what’s shared by ESRI on ArcGIS Online and that represent a core set of useful maps, layers, and tools for ArcGIS Explorer users. Here’s how you can find those groups.
First, go to the ArcGIS Online home site.
You’ll see Search featured on the page, and you can enter keywords to find shared content that matches them. But we want to find the ArcGIS Explorer groups. So click the pulldown to the left of the input box and choose Search for Groups and enter AGX or ArcGIS Explorer:
The results returned will include the two ArcGIS Explorer groups established by the Explorer team; the ArcGIS Explorer group and the ArcGIS Explorer Labs group.
The ArcGIS Explorer group includes a collection of ready-to-use maps and layers. Most of these are ArcGIS Explorer map content files (NMC files) and can be opened directly in ArcGIS Explorer.
Click the Contents tab to see what’s available.
The ArcGIS Explorer Labs group is a place where you can find a wide variety of add-ins (EAZ files) that extend Explorer’s capabilities. These are created by members of the ArcGIS Explorer team, and may represent capabilities that find their way into the core product. Then again, maybe not.
Though unsupported, these add-ins are fun, interesting, and useful, so check them out. Click the Contents tab to view them.
We’ll cover how you can use what you find on these groups in upcoming blog posts.
ArcGIS Explorer Labs is a place you can find and access add-ins and other resources that the ArcGIS Explorer team publishes. Many of these add-ins are prototypes of what may eventually be added to the core product, some may not be, and all are unsupported. Nevertheless they do work, and we think you’ll find them useful and interesting and that’s why we’ve made them available.
We’ve made some changes to a number of those add-ins, and those changes will require you to download the updated versions if you want to continue using them. The updated add-ins are:
- Bing Search
- Find Nearby
- Find Nearest Address
- Find Weather Station
- Find GeoNames
- Street Viewer
The older versions of these will no longer work due to changes in the underlying service connections, so just grab the latest versions of these from ArcGIS Explorer Labs.
In your ArcGIS Server application you might have reason to work with adjacent map and image services. This is most often occurs when you want to display your authoritative data for a small area while using a public service (ArcGIS Online, Bing Maps, or Google Maps) for the surrounding area. This is very common when viewing your services in ArcGIS Explorer. For example, you may have recent aerial photography for your area, and you want to blend it with the basemap imagery available in ArcGIS Explorer. This can present a challenge because your service may include a white collar around the map. The discussion below focuses on how to remove this white collar for different service configurations.
Dynamic map services
The example below is a dynamic map service containing aerial photography for Jefferson County, Kentucky shown in ArcGIS Explorer.
With this dynamic map service, ArcGIS Explorer is requesting a JPEG image because the service contains so many colors. Since JPEG does not support transparency, you get a white collar around the image. To clip the white area out of a map service for your desktop clients (ArcMap, ArcGIS Explorer, etc.), simply create a feature class that represents the boundary of your data. Then you can use the Data Frame Clipping capability as described below.
- In the ArcMap table of contents, right-click the data frame and click Properties.
- Click the Data Frame tab and then check Enable under Clip to Shape.
- Choose Outline of Features and choose your boundary layer.
- Click OK to all the dialogs.
After updating your map document you need to restart your map service for the changes to take effect. Then the map service will display in ArcMap or ArcGIS Explorer nicely without a collar as in the example below.
When dealing with image services you could run into the same white collar around your image. In this case the boundary feature and footprint features need to be clipped to the exact boundary of your imagery. Again, a feature class containing the exact boundary of your imagery would be very useful. You could replace the default boundary feature with your boundary feature and then clip all the footprints to the new boundary. Simply start an edit session, delete the existing boundary and copy and paste your existing boundary into the boundary feature class. After you save your edits and stop editing, right-click on the Footprint layer and click Recompute Footprint > By Clipping to Boundary. You can read about the many other ways to adjust image service footprints in the online help.
NoData and Web APIs/ADFs
In the aerial photography example above, the Web application should request a JPEG image to preserve appropriate quality. Since JPEG does not support transparency, this image could not be used with another basemap service. In cases where a PNG image would work, the white collar will not display, but PNG should only be used with services that contain fewer colors than an aerial photo.
Since your basemaps should be cached anyway for Web applications, the discussion below dealing with cached map services is more appropriate for Web application basemaps.
Cached map services that use JPG tiles
Cached map services can produce an even larger white collar, as the example below illustrates.
This is a cached map service using JPEG image format. As has been discussed in another post, JPEG is by far the best image format for cached map services that contain aerial photography to be used in a Web application. You can see in this example that the cached map service doesn’t work all that well in ArcGIS Explorer. The larger white boundary is from the empty cache tiles around the map. Since the JPEG image format does not allow for transparency, you get a white collar. There is nothing you can do to get rid of this white collar in ArcGIS Explorer, ArcMap, or any of the Web ADFs or APIs. To mitigate this problem with JPEG services in ArcGIS Desktop or ArcGIS Explorer you have three options:
- Use layer files to control the visibility of the map service
- Include the surrounding data in your map cache
- Provide a second dynamic map service for desktop clients
Using layer files to control the visibility of the map service
Using a layer file, you can use scale dependent rendering to make sure the layer only turns on when zoomed way in. To do this follow these steps.
- Add the cached map service to ArcMap
- Zoom in on the data until you can start to see reasonable amounts of detail (that wouldn’t otherwise be in ArcGIS Online or Bing maps).
- Right-click on the layer and click Zoom to Nearest Cache Resolution. This ensures your layer visibility corresponds to your cache tile level.
- Open the properties for the layer and set the minimum scale to your current scale.
- Right-click the layer and click Save As Layer Package.
Now you can share the layer file with all of your desktop users. The white collar will still be visible, but only when zoomed way in. At this larger scale, your users will likely be more interested in your map service than the surrounding data.
Including the surrounding data in your map cache
The second option of adding surrounding data to your map cache can also improve the usability of the service by your desktop clients. This can be done for the smaller scales of your map cache with little overall impact to the total size of your cache tiles. For more on map caching see the online help. This does mitigate the problem but essentially you have pushed the problem further away from your study area.
Providing a second dynamic map service for desktop clients
The third option is to use two services: a cached map service for your Web applications, and a dynamic map service for your ArcMap and ArcGIS Explorer users. If you are working with imagery like that in this example, an image service would be preferred to the dynamic map service. Since ArcMap and ArcGIS Explorer have local caching capabilities after the first time an area is drawn, a dynamic image service would likely perform very well. To make this easily consumable by your desktop clients you could simply share a layer file pointing to the image service for those users. You should also set the minimum scale in the layer as described above to control the number of dynamic requests and only show your basemap when appropriate.
Cached map services that use PNG tiles
Cached map services that use PNG do not display a collar because PNG supports transparency. This is a good solution for StreetMap-type basemaps, which can use PNG 8 or 32 (you should never use PNG 24 due to IE 6 limitations). Below is a cached streets basemap service that uses PNG32.
PNG is an acceptable choice in this example because it maintains crisp lines and text while still keeping the file size low. If this map contained a lot of gradient fills and other shading affects, JPEG with compression quality 90 would be a better choice. Using JPEG would mean the service would not be very useful with other basemaps but it would give you the best performance and quality in a Web application.
Warning! Be very careful when using PNG 32 for your basemap services. As the number of colors increase, so does the file size. Using PNG 32 for aerial photography, for example, can result in tiles being approximately ten times larger than the same service cached using JPEG. If the tiles are ten times larger, then the map will be ten times slower. Using an image format like JPEG 90 would give more consistently sized tiles for all scales, whereas PNG 32 would have much larger tiles at the small scales but smaller tiles at the large scales. The best approach is to build a test cache and validate that all scales have acceptable tile sizes.
With dynamic map service and image services you can easily clip the imagery to the extent of your data allowing you to blend multiple adjacent basemaps in your desktop applications like ArcMap or ArcGIS Explorer. You will still have the challenge of getting the base maps to look similar in a single application but the published map templates should help in this area. With cached map services that use JPEG tiles you should consider maintaining two services: the JPEG cache and a dynamic map or image service. The JPEG cache would be used in web applications and the dynamic service would be used in desktop applications like ArcMap or ArcGIS Explorer. Cached map service that use PNG work very nicely for integrating multiple adjacent services but should not be used as an “ultimate” solution as JPEG caches can be much more efficient for map services with high color variation.
Contributed by Tom Brenneman of the ESRI Technical Sales team.
A growing selection of add-ins can be found at the ArcGIS Explorer Labs – a group found on ArcGIS Online. ArcGIS Online contains a variety of shared content from ESRI and other users, and you can form your own groups to facilitate sharing and organize what you share.
The ArcGIS Explorer team has established two groups; ArcGIS Explorer and ArcGIS Explorer Labs. The Labs group contains add-ins that extend ArcGIS Explorer’s capabilities, and though they are not supported you’ll find many useful and interesting examples you can use.
There’s a couple of ways you can find the groups. The most straightforward way is to go the ArcGIS Explorer Resource Center and click the Data tab; then click on the thumbnail of the group you want to go to.
Or you can go directly to ArcGIS Online, set your search for groups, and search for ArcGIS Explorer Labs.
Either way, you’ll find the Labs group which contains a selection of add-ins that you can try out and use.
Click on the name of the add-in to get more information, such as a more detailed description, usage notes, and more.
Add-ins are delivered using a special file with a .eaz extension. Just choose the add-in you want, and click Open in ArcGIS.
You can choose Save or Open when prompted. If you choose Open, ArcGIS Explorer will restart and you’ll see the new add-in appear in the Add-Ins tab.
Another option we prefer is using the Save button to save the .eaz file locally, and then adding the ones we want to ArcGIS Explorer later (we can also use Application Configurations to manage and organize them, but we’ll cover that in a later post).
After you’ve saved the .eaz file, add them to ArcGIS Explorer by clicking the ArcGIS Explorer button in the upper left, then choosing ArcGIS Explorer Options.
In the Resources category you’ll find where you can add them under Manage Add-Ins.
Just add the ones you want to use. When finished, you’ll be prompted to restart ArcGIS Explorer. After you restart you’ll see a new Add-Ins tab which contains the new add-ins you’ve just chosen.
These add-ins are created using the ArcGIS Explorer SDK. We’ll be covering the SDK and how you use it to create add-ins in future posts.
We’re sure you’ll find lots of interesting add-ins to use on the ArcGIS Explorer Labs group.