Creating Multiple Geodatabases Within a Single Oracle Instance

You can create multiple ArcSDE geodatabases within a single Oracle instance. First you create a geodatabase in the SDE user’s schema. This is referred to as the master sde geodatabase. The master sde geodatabase contains the ST_Geometry type, its subtypes and functions, and the system tables the ST_Geometry type uses, such as ST_SPATIAL_REFERENCES.

After the master geodatabase is created, any user who has the proper permissions to do so can create a geodatabase in his or her own schema. A table in the master geodatabase, called INSTANCES, keeps track of all the geodatabases that exist in the schemas of other users. Continue reading

Posted in Geodata | Tagged , , , | 1 Comment

Raster Types – Part Two

As you now know about raster types in mosaic datasets, let me now go a little deeper into
the different types of raster types and they how can they be modified for your
specifications. There are 22 predefined
raster types. Each has their respective templates to choose from while adding

Dataset Type
: – The Raster
Dataset raster type refers to any raster format supported by ArcGIS which
include Tiffs, Jpeg, JP200, MrSID, IMG, etc. This type can also be used to add
another (existing) Mosaic Dataset or a Raster catalog to the newly created
Mosaic Dataset.

:- There are many sensor products to choose
from such Quick Bird, Landsat, Geo Eye, World View, Geo Eye, Ikonos, SPOT and
each has properties that can be refined to modify the functions and band
combination applied to the imagery when it’s added

Image Service
: – The image service
definition raster type allows you to add image service definitions (*.ISDef)
files created with ArcGIS Image Server. You can add these files by pointing to
either a particular file or a workspace or folder location containing many
.ISDef files.

Image Service
:-The image service
reference raster type allows you to add image service reference (*.ISRef) files
created from image services (typically served from ArcGIS Image Server). You
can add these files by pointing to either a particular file or a workspace or
folder location containing many .ISRef

process Definition
: – The raster
process definition raster type allows you to add raster process definition
(*.RPDef) files. You can add these files by pointing to either a particular
file or a workspace or folder location containing many .RPDef files.

Web services: – You can add several types of Web services as
source data to a mosaic dataset. These include cached map services and image
services from ArcGIS Server; WMS services; and other cached Web services, such
as Bing Maps and services from ArcGIS Online.

camera/Aerial triangulation
: -
Imagery related to remote sensing aerial triangulation using aerial
triangulation and digital and analog frame cameras such as ISAT, MatchAT,
Applanix are also supported.

Tables: – Using the tables raster type, you can add raster
catalog, Mosaic datasets, dbf file, ISDef , tables with path to your mosaic

Military Data: – Military data such as CADRG , CIB, DTED, ECRG are
supported . features of this data include Metadata such as Production dates ,
Latitude longitude information ,Match/Merge versions and well as Security

For each raster type there are properties that you can modify before adding your
raster data to a mosaic dataset. These include choosing a product type,
specifying a particular band combination and a stretch, identifying the DEM for
orthorectification, and modifying the parameters for pan sharpening. The
properties that are available depend on what is supported by a particular
raster type. Raster types are stored with .art extensions. Any time you make an
edit to the raster type, you can save it to a new .art file so you can load
additional data at another time using the same modifications.


Contributed by: Sangeet Aloysius Mathew

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

Transparent polygon fill

Question: How do I make the polygon fill transparent?

Answer: To make a polygon fill transparent, right click on the feature class in the Table of Contents and then click on Properties.

On the Display tab, you can set the percent transparency.

Formerly a Mapping Center Ask a Cartographer  Q & A.

Posted in Mapping | Leave a comment

Creating custom apps using ArcGIS Online maps

A nice (and growing) selection of JavaScript template applications were recently released that make it easy to create custom apps using ArcGIS Online maps. Here’s how to use them.

First we’ll point out that a saved map has a unique and permanent identifier. Here we’ve opened a map showing US Land Cover that has been published in the National Maps for USA group. This group contains shared content from US federal government sources, like the National Map, USGS, EPA, NOAA, and others.

If you look at the URL at the top of your browser after you open the map you’ll see that the map’s unique item ID can be found – passed as a parameter to the Viewer. It’s highlighted in yellow below:

The templates use these same IDs, so can be easily changed to include your own (or any) ArcGIS Online map.

We can find the templates in the JavaScript samples in the Web API help. Click the samples tab, then scroll down along the list of folders until you find the samples.

We’ve chosen the template called Map with overview map from the list of samples.

Click View live sample to open the application template with a sample map, in this case a map of the area near Toronto, Canada. Looking at the top we’ll see the ID of the map passed as a URL parameter.


To view our U.S. Land Cover map in this template all we need to do is copy and paste our unique ID, replacing the Canada map ID.

And here’s the U.S. Land Cover map displayed in the new template.

To publish your own maps using this template just copy and paste the source code found at the bottom of the sample documention into an HTML file and save it, or better – download the Zip file containing the source (and separate CSS and JavaScript files) to your own server where you can modify them as you wish.

Using these templates makes it very easy to build custom Web apps from any ArcGIS Online map with only a little bit of simple HTML editing needed. More templates will be posted soon, so keep an eye out for updates to the samples.

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

Version 2.0 released, 2.1 is coming soon!

Version 2.0 of the ArcGIS API for Microsoft Silverlight/WPF was released on July 9, shortly before the Esri International User Conference. The new features and functionality in 2.0 that leverage ArcGIS Server 10 have been well received and discussions at the User Conference highlighted many of these benefits.  A few questions were raised regarding the migration of Silverlight and WPF applications from version 1.x to 2.0. From the tooling perspective, 2.0 requires an upgrade to Microsoft SDKs and platforms that support Silverlight 4 and .NET 4.0, thus Visual Studio 2010 and Expression Blend 4 are necessary.  Links to these requirements are provided in the Installation and System Requirements documents on the ArcGIS resource center.  Some minor changes to the API (listed as breaking changes in What’s New document) may require you to update your application code.  However, in a vast majority of cases you can simply migrate your application using Visual Studio 2010, target Silverlight 4 or .NET 4, and reference version 2.0 of ArcGIS API Silverlight or WPF assemblies.

Now on to what is coming with version 2.1.  First, in mid-August we will host a public beta of ArcGIS for Windows Phone. The product will include an API and an application.  Since the development platform for Windows Phone applications is based on Silverlight, the ArcGIS API will match core (ESRI.ArcGIS.Client.dll) and Bing (ESRI.ArcGIS.Client.Bing.dll) library support present in the Silverlight/WPF API.  The ArcGIS application for Windows Phone will be available for download from Windows Marketplace in the near future.  The ArcGIS for Windows Phone resource center will provide the information you will need to get started.  

For the Silverlight/WPF API as a whole, we are targeting the following enhancements in version 2.1:

  • Support for disconnected scenarios where the API will generate, manage, and use a local cache of image tiles and features.
  • Integrate touch and gestures functionality for a consistent interactive surface experience across multiple devices.
  • Support for legend metadata provided by ArcGIS 10 sp1 map services.  A legend or TOC control may be added to the toolkit.
  • Use web map documents to configure a Silverlight Map or application.

Version 2.1 of the Silverlight/WPF API and ArcGIS for Windows Phone will be released in mid-November 2010.

Update:  Beta versions of ArcGIS Silverlight/WPF and Windows Phone APIs were released October 5, 2010.
ArcGIS API for Silverlight/WPF 2.1 Beta is available here: 
ArcGIS API for Windows Phone 2.1 Beta 2 is available here:


The ArcGIS Silverlight/WPF Development Team


Posted in Web | Tagged , , , | 13 Comments

Migrating to Web Service enabled Java Web ADF: Part 1

The Java Web ADF internally manages how applications connect to the Server Object Manager and communicate to ArcGIS Server services.  Local connections are established using ArcObjects and Internet connections are established using native Java Objects through web service endpoints via the ArcGIS Java Web Service (AgsJWS) API.  This feature of the framework becomes increasingly important with the growing technology trend of using web services and is simple to migrate existing applications from local connections to internet connections. 

These instructions assume you have set up your Eclipse Web ADF project with the JSF 1.2 Facet.  For details on setting this up please refer to the following ArcGIS Java Technology blog post

  1. Open faces-config.xml in Eclipse Faces Config Visual Editor and Select the Managed Bean tab.
  2. Under Managed Bean Elements, select ags1.
  3. This populates the Managed Bean section, under Managed Bean Class press the Browse button.
  4. Type AgsMapResource in the Select Entries text box and click OK
  5. Under Initialization delete the following managed-property settings using the Remove button:
    1. user
    2. serverObjectName
    3. hosts
  6. Replace with the following managed-property settings using the Add button filling in the appropriate values in brackets for your service :
    1. endPointURL – http://[SERVERURL][PORT]/arcgis/services/[FOLDER]/[SERVICE-NAME]/MapServer

  7. Your managed bean properties should resemble the following settings with values for your connection.
  8. Now you can run your application and all Web ADF objects will use the AgsJWS API instead of ArcObjects.  

Finally, you can remove the arcobjects jar file from your application as you are know longer making use of it and doing so will significantly reduce your application footprint.   For more information about Java Web ADF library dependencies read our previous post


This process will work on any Java Web ADF Application which does not use the Editing Task or have any custom features using ArcObjects.  If you are making use of custom ArcObjects in your Java Web ADF application you will need to migrate your custom features as a Server Object Extension (SOE) and expose it through SOAP, then replace your custom code with connection to your SOE making use of the client web service stubs provided by your SOE.  Part 2 of this post will go into deeper detail of this pattern. 

Posted in Developer | Tagged , , , , , , , , , | 3 Comments

Why don't some of the links work in my ArcGIS Services Directory?

“I’ve exposed my ArcGIS Server to the world and it works well for the most part. However, certain links in the Services Directory still point to internal URLs.”

We have seen many users face this issue and this blog post is an attempt to address it. There are a couple of updates you need to make to configure the Services Directory for external use:

  1. Update the REST configuration files with an external SOAP URL and REST API reference
  2. Update your server directories to use external URLs for their virtual directories

Update the REST configuration files with an external SOAP URL and REST API reference

In order to set up the Services Directory for access to external users, you need to modify the SOAP URL specified in REST configuration file to be an external URL. The SOAP URL is used to generate various links in the Services Directory, most notably “View in ArcMap”, “View in ArcGIS Explorer”, and some of the Supported Interfaces links.

Additionally, the URLs for the Services Directory Help and REST API reference need to be updated to be accessible by external users.

Platform-specific instructions are included below to help you.

Updating the REST configuration file (.NET)

If you’re using ArcGIS Server for the Microsoft .NET Framework, do this:

  1. Open the rest.config file in a text editor. This file is commonly located at c:inetpubwwwrootArcGISRestrest.config, but the location will vary depending on your ArcGIS Server instance name and the root directory for your Web server.
  2. Find the <SoapUrl> element and change the enclosed URL to use an externally accessible address. Example: <SoapUrl></SoapUrl>
  3. Find the <SoapSslUrl> element and change the enclosed URL to use an externally accessible address. Example: <SoapSslUrl></SoapSslUrl>
  4. Find the ApiHelp tag and change the baseUrl property to reference an externally accessible address. Example: <ApiHelp baseUrl=””>
  5. Find the <ServicesDirectoryHelp> element and change the enclosed URL to use an externally accessible address: <ServicesDirectoryHelpUrl></ServicesDirectoryHelpUrl>
  6. Save and close the file.
  7. Restart IIS.

Note: Prior to 10.0, for ArcGIS Server for the Microsoft .NET Framework, running the Web Applications post install would overwrite the user edited settings in rest.config for SOAP and REST API reference URLs. At 10.0, the user settings are persisted when the post installs are re-run.

Updating the REST configuration files (Java)

If you’re using ArcGIS Server for the Java Platform, we recommend exporting the REST handler using ArcGIS Server Manager. One of the required inputs when exporting the REST handler is the SOAP URL. Specify an externally accessible SOAP URL for this input, and deploy the WAR file generated to a servlet engine of your choice.

Alternately if you prefer to edit the configuration files of an already deployed REST service, do this:

  1. In a text editor, open the file, which is stored in the REST war file in the path
  2. Update the property with an externally accessible address. Example:
  3. Update the property with an externally accessible address. Example:
  4. Save and close the file.
  5. In a text editor, open the file, which is stored in the REST war file in the path WEB-INFclassesresources
  6. Update the base.url property with an externally accessible address. Example: base.url=
  7. Save and close the file.
  8. Restart the application server.

Update your server directories to use external URLs for their virtual directories

The virtual directories associated with the ArcGIS Server output, jobs, and cache directories must use a URL that is accessible externally. You can either edit the virtual directory of an existing server directory or create new server directories with an external URL for the virtual directory. Once the virtual directories are set up, ensure that all your services are configured to use them.

About server directories

Contributed by Ravi Narayanan of the ArcGIS Server development team

Posted in Services | Tagged , , , | 3 Comments

Dicing Godzillas (features with too many vertices)

Vertices are the x,y coordinate pairs that define the shape of a feature, and the size of an individual feature (polygon, polyline, or multipoint) is defined its number of vertices. When a single feature has a million or so vertices, it can cause out-of-memory errors and, in some cases, a system crash – never a good thing. We call such gargantuan features ‘Godzillas’ because they wreak havoc on your computer’s resources. Godzillas are usually long and crenulated coastlines or street casings digitized at a high degree of accuracy. Continue reading

Posted in Analysis & Geoprocessing | Tagged , , , , , , , , , | 4 Comments

ArcGIS 10: New code validator to avoid ArcObjects errors

The ArcGIS Plug-in for Eclipse IDE has been improved in this release and includes a new ArcObjectsCodeValidator feature.  As an ArcObjects developer, you may have encountered a few classes and interfaces that do not support Java style casts and type-checks as described in Casting and Runtime Type Checking topic. However, consulting this topic during development has been very inconvenient, especially for new developers who are often caught off-guard by the runtime exceptions. The new validator feature will help you identify unsafe casts and type-checks in your code and rectify them in a few mouse clicks.

How to use AOCodeValidator?

Since, the Validator is bundled along with ArcGIS Plug-in, you must install ArcGIS plug-in to take advantage of it.  After installing the plug-in, you can enable or disable the Validator for any project in your current workspace. You must right-click on the project and select ‘ArcGIS Add/Remove ArcObjects Code Validator’ from the context menu to enable the Validator.  You will notice an ArcGIS globe icon on the project when the Validator is enabled.

Once you have enabled the Validator, the workflow for validating and fixing errors is simple and similar to syntax checking. The Validator will mark all the unsafe casting and type-checking errors with Eclipse error icons (red dot with a white X) in the left margin. You can double-click on the error icon and chose appropriate replacement code to fix these errors as shown below.


At this release, the following ArcObjects errors are identified by the ArcObjectsCodeValidator.

  • Unsafe casting of classes

  • Unsafe casting of interfaces

  • Unsafe type-checking of classes

  •  Unsafe type-checking of interfaces

We hope, the new AOCodeValidator feature will help you avoid a few runtime exceptions and logical errors and save you some valuable time. Please let us know your remarks and suggestions for this feature; we are eager to read your comments.

Content contributed by Sankar Sinha, Product Engineer, ArcGIS Java Team

Posted in Developer | 1 Comment

ArcGIS 10 – Tips and Tricks using Visual Studio 2008/2010 and the ArcObjects SDK

Here’s a short tutorial that illustrates how to use some of the new Visual Studio 2008 and 2010 integration features that are available with ArcGIS 10.  This includes project templates, snippets, references, tool tips, help documentation and samples.

If you are new to developing with ArcGIS using Visual Studio (VB.NET or C#) or if you are a VBA developer looking for pointers on how to use the Visual Studio environment, you might find this video helpful.

Posted in Developer | Leave a comment