Welcome to ESRI Blogs

Ask the Development Team

In our first year anniversary post, many of you liked the idea of having an "Ask the development team" thread, in which you could post questions about ArcGIS Server and we would post answers. This week we’re giving it a try.

How it works

  • Post your question as a comment to this post.
  • The blog moderators will select relevant questions and send them to the appropriate members of the development team.
  • Development team members will post comments in reply. We’ll try to answer all questions that are appropriate.
  • The thread will be open for questions through Friday, February 22. We’ll continue posting responses after that date.

    Question

Please note

The development team cannot address questions about pricing or licensing. Please contact your ESRI representative if you have a question about that.

Also, we may direct you to ESRI Support if your question is related to a bug or unexpected behavior. They are better equipped to help you troubleshoot the problem.

Update: This post is now closed to new questions but we will attempt to answer all of the questions we received while the thread was open.
 

Published Tuesday, February 19, 2008 6:39 AM by sterlingdq
Filed under:

Comments

# re: Ask the Development Team

I´m rather new to Server development, and I'd like a jump start on how to include an "Add layers" button on an otherwise standard web application generated by Manager. We´re migrating from IMS 9.1 where we have a series of map services generated by Designer using the Java Standard option, which by default includes an "Add layers" button... now missing on the Manager application interface (tsk tsk tsk, ESRI...!) BTW, using .NET - TKS! Guillermo Munoz Datamanagement Team - ECP
Tuesday, February 19, 2008 6:57 AM by Guillermo Munoz

# re: Ask the Development Team

When I click on the URL of my mapping application, it takes a good half a minute (or more) from "Website found, waiting for reply" until the load of frames and the map.  How can we speed up that initial "log in" time?  Thank you.

Tuesday, February 19, 2008 7:12 AM by tesladaman

# re: Ask the Development Team

How about with 9.3, try not to forget about all the non .net developers out there?  Lots of Ruby, PHP, Coldfusion, etc folks out there want to use AGS, but cant without a huge effort.  I realize the new REST and JS api will address these shortcomings, but we'd like to see some language-specific samples as well.

Tuesday, February 19, 2008 9:55 AM by 127597

# re: Ask the Development Team

What will the system requirements be for ArcGIS Server 9.3?
Tuesday, February 19, 2008 12:31 PM by Developer Joe

# re: Ask the Development Team

Can you post a document of library changes that will affect 9.2 applications when migrating to 9.3. Sort of like how programmers had to find out about the ESRI.ArcGIS.ADF.Web.Geometry.Point.ToMapPoint(x, y, m_map.GetTransformationParams(TransformationDirection.ToMap)); change from one of the service packs?
Tuesday, February 19, 2008 12:33 PM by Steve

# re: Ask the Development Team

How come there is no Hyperlink tool out of the box like there was in ArcIMS... I'm porting an old ArcIMS app to AGS, and I feel it is much more difficult to start developing now than it was for IMS.
Tuesday, February 19, 2008 12:43 PM by Guillaume

# re: Ask the Development Team

@127597 who asked about examples for Coldfusion, etc:

The REST and JavaScript SDKs are still being actively worked on.  We plan to have examples with Ruby, PHP, or Coldfusion in the near future. Your feedback is helpful as we plan what content and samples to include. Thanks for your comment.

Tuesday, February 19, 2008 1:11 PM by sterlingdq

# re: Ask the Development Team

Woot for my idea of "Ask the Dev Team" 1. Is there any plans to add an "onResize" event for floating panels? This would be especially helpful if you can access it via javascript. That way you can right some javascript to resize stuff inside or outside of the panel as the panel is being resized. 2. What are some general code tips to speed up drawing and loading times (other than change the symbology)?
Tuesday, February 19, 2008 1:38 PM by Kevin Dunlop

# re: Ask the Development Team

@sterlingdq

That is really great to hear.  I am very excited about 9.3 and its possibilities.

I remember learning how to use ArcIMS based on the sample viewer that was written in Coldfusion.  It was immensely helpful to me.  So, along those lines, ideally I'd like to see a very simple stand alone app built with JS/REST and CF(hopefully with all the new ajax integration of CF 8 - hint hint Jeremy).  I would imagine that would get everyone started.  Soon after that, I would expect the Coldfusion community to collectivley produce a CFC of some sort to extend the functionality.

Tuesday, February 19, 2008 3:12 PM by 127597

# re: Ask the Development Team

I am quite interested in mobile applications that push data back to the geodatabase. Do you have any working prototypes and tutorials to help me build my own using the mobile SDK?
Tuesday, February 19, 2008 3:48 PM by peter 2000

# re: Ask the Development Team

Is there a way to serve anti-aliased maps from a map service ? Like adding the anti-alias property to a layer tag is ArcIMS.
Wednesday, February 20, 2008 8:12 AM by Tim

# Event Table

Would it be possible to show an example of how to create an event theme from data stored in a SQL database. I would like to be able to pass a query to SQL table that contains data with an x and y column and then be able to dynamically display this data.
Wednesday, February 20, 2008 8:14 AM by Troy

# re: Ask the Development Team

@Guillermo Munoz who asked about an "Add data" button:

We’ve been preparing some information to post on this blog about adding data to a map in a web application. Please look for this coming very soon and we will post a follow-up comment at that time. Thanks for your interest.

Wednesday, February 20, 2008 9:38 AM by sterlingdq

# re: Ask the Development Team

@Kevin who asked about an onResize event for floating panels and web application performance:

Thanks for your question and for the suggestion to do this post. We have seen some great questions already and intend on answering them throughout this week.

To answer your first question, the onResize event for floating panels is an interesting idea that we’ve been considering for 9.3.

As for web application performance, even better than changing your symbology is to create a map cache. The Web ADF map control will attempt to work with the cache in the most efficient way. If you’re not working with a map control, you can request a cache tile programmatically as we explained in a post last month on this blog.

You should cache your maps whenever it’s feasible. See the Map Caches book in the Web Help (http://webhelp.esri.com/arcgisserver/9.2/dotNet/index.htm#manager/publishing/static_map_svcs.htm) and many posts on this blog for help with caching.

Other guidelines for creating efficient Web applications are contained in "Guidelines for creating your own Web applications" (http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/guidelines.htm) and "Performance tips for Web applications" (http://webhelp.esri.com/arcgisserver/9.2/dotNet/manager/applications/web_app_performance.htm).

Wednesday, February 20, 2008 9:39 AM by sterlingdq

# re: Ask the Development Team

@sterlingdq Thanks for your input. Unfortunately, caching is not an option due to the nature of the data. But the bottom to links were useful although I knew most of what was in there.
Wednesday, February 20, 2008 10:56 AM by Kevin Dunlop

# re: Ask the Development Team

@Steve who asked about a document of library changes:

There will be a migration section in the Server SDK for Web ADF applications. It will contain a few topics including a What’s New page which will highlight a few key differences\enhancements when moving from 9.2 to 9.3.

We're researching a few options for including a comprehensive developer level doc on the changes between 9.2 and 9.3 assemblies. If available, it will be included with 9.3 final.

Wednesday, February 20, 2008 12:05 PM by Rex Hansen

# re: Ask the Development Team

@Guillaume who asked about hyperlinking- In general, there are two ways to manage hyperlink functionality when working with feature classes in a Web ADF application: 1) store complete hyperlink content (html tag, attributes and text) in a feature class or related field or 2) construct the hyperlink in the application by wrapping the feature class or related field content in hyperlink markup. The following sample illustrates option 2: http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/samples/Web_Applications/Common_AddCustomTool/855D7EEA-EE74-43C1-BEEC-407538D3F63F.htm
Wednesday, February 20, 2008 12:07 PM by Rex Hansen

# re: Ask the Development Team

I'm always needing to place mapping controls (Map, Toolbar, MapResourceManger, etc) within a user control or within some other control (i.e., Infragistics tab control). I have not yet been successful in accomplishing this. I have read the posts about changing the javascript files to handle the changed names of the map controls, but that isn't really an option. Any suggestions?
Wednesday, February 20, 2008 12:26 PM by tbcrain

# re: Ask the Development Team

@peter 2000 who was interested in building mobile apps that push data to the geodatabase:

First of all, for anyone who’s interested in developing mobile applications, we recommend that you visit EDN Mobile Central web site (http://edn.esri.com/index.cfm?fa=mobile.gateway) which has a blog by the mobile team and news about the newest samples.

Peter, for your scenario we especially recommend these Help topics:

Developing Mobile Applications (http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/Mobile/dev_mobile_apps.htm)

Editing Framework: (http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/Mobile/wk_editing.htm)

You may also be interested in this recent sample that was posted on EDN Mobile Central:

ESRI Construction Sample: (http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/samples/Mobile_Applications/PPC05/ESRIConstruction_PPC05/A7A5F4E1-B7FD-4207-B072-7565194F1467.htm)

Wednesday, February 20, 2008 3:29 PM by sterlingdq

# re: Ask the Development Team

@tesladaman who asked about initial startup time for web applications and also @Kevin who asked about web application performance:

The Web Mapping Application does come with some overhead on startup because of graphics, javascript, map images, etc. that need to be transferred to the client machine. The startup time can vary based on connection speed and also how your map, services, and application are configured:

-The table of contents may take some time to load all of the swatches, especially if you have many layers and sublayers in your map. If you think this is part of the problem you can configure the TOC to not show swatches, remove the TOC, or remove layers from your map.

-The map control itself takes some time to load the map images. The more services you are viewing in the map control, the longer it will take. If you have many services, consider checking some of them off on startup and allowing your users to add them as needed. Caching your services will help them load much faster. Also, browser tier blending is usually recommended as opposed to web tier blending.

-Make sure that service instances are readily available for your application to use. Avoid setting the Minimum Number of Instances for your map services at 0. This might cause the server to have to create an instance when you load the application.

-Finally, if you don’t need all of the functionality in the Web Mapping Application template you might get better performance by creating your own scaled-down version. You could do this by creating an application from the template and manually removing items, or by creating an application from scratch using the ArcGIS Web Controls in the Visual Studio Toolbox. If you do the latter you will avoid some of the overhead of the “dynamic resize” of the map control to fit the screen that occurs in the Web Mapping Application.

See also the topics “Guidelines for creating your own Web applications” (http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/guidelines.htm) and “Performance tips for Web applications” (http://webhelp.esri.com/arcgisserver/9.2/dotNet/manager/applications/web_app_performance.htm).

Thanks to Bob Flores and Derek Weatherbe who contributed to this answer.

Wednesday, February 20, 2008 3:31 PM by sterlingdq

# re: Ask the Development Team

My question regards security and the passage of user credentials through ArcGIS Server to the map service. Is there any intention to overcome the reliance on ArcGISSoC and ArcGISSOM privileges to generate map services and allow the operating system (such as Active DS) and rdbms (OPS$) to decide what the user is allowed to see in the map service?
Wednesday, February 20, 2008 3:57 PM by JimS

# re: Ask the Development Team

@Tim who asked about serving anti-aliased maps:

ArcGIS Server map services are based off of ArcMap documents. There isn't a way to apply anti-aliasing to layers in ArcMap. However you can apply anti-aliasing to your map service if you create a map cache for it. The Generate Map Server Cache tool has a checkbox for anti-aliasing. If you check this box, it will take longer for the cache tiles to get created, but the tiles will look nicer.

If your intent is to use anti-aliasing so that the map looks better when printed, you may be able to achieve better map quality by requesting a high DPI for your map image before you print it. This is what’s Bryan Baker’s Print Task Sample does to generate a high-quality map for printing. (http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2007/05/16/Print-Task-Sample.aspx) When you choose a high DPI in this Print task, a larger image is returned that is then fit to the original dimensions you requested.

Wednesday, February 20, 2008 4:04 PM by sterlingdq

# re: Ask the Development Team

@JimS who asked about security for map services:

Security for local connections to ArcGIS Server services is based on membership in the agsadmin and agsusers groups on the operating system. Users in agsusers can connect to and use services; those in agsadmin can additionally administer services. Currently members of agsusers and agsadmin may access any service on the ArcGIS Server system. There is no provision for restricting access to certain folders or services.

ESRI is looking at enabling finer-grained access to local connections in future versions. We would like to hear more from users on their requirements regarding security for local connections.

Meanwhile, remember that at 9.3 we are adding better management of security for Internet (Web service) connections to services. You can restrict access to individual services and to service folders based on membership in roles. These roles can be defined in the operating system, in a database or in other locations. This is a good option for many sites that need to restrict access to services.

Wednesday, February 20, 2008 4:59 PM by Bryan Baker

# re: Ask the Development Team

Hi all, Here are some questions I have been wondering about. Hopefully, you can find the time to respond to them 1) Will the ArcGIS Server cache support TMS (Tile Mapping specification http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification)? 2) Will the javascript library have an Object Oriented design with accompanying model diagram and documentation? More extensive javascript events for better customization? 3) Will a client-side vector layer (SVG) be available? 4) I hear that 9.3 is built on the Dojo framework. Would frameworks like ExtJS be supported in the future or will the framework be designed so that Dojo can be replaced with other frameworks like ExtJS or JQuery etc painlessly? Thank You, Vish http://viswaug.wordpress.com
Wednesday, February 20, 2008 9:31 PM by Vish Uma

# re: Ask the Development Team

Currently in the AGS 9.2 Web ADF a lot of methods in controls are not overridable which makes creating customizations very difficult. I often hit a wall when trying to write extra functionalities on top of the standard controls because of this. Are there any plans in the future to make the Web ADF more open? Making more methods/members protected instead of private would also help a lot.
Thursday, February 21, 2008 2:47 AM by Heiko

# re: Ask the Development Team

The development of mobile application bases on mobile adf is my interesting. The mobile adf is a very great develop kit, thanks so much for you to delivery it. However, I can't find APIs that help me to displaying data from shape files. Are you going to add more APIs for it? Thanks.
Thursday, February 21, 2008 6:21 AM by Yvonne

# re: Ask the Development Team

Has anyone documented the performance increase in using IE 7.0 or Firefox vs IE 6.0 We see a significant increase in speed when we use Firefox or IE 7.0 and would like to document why the increase in speed so we can use it as justification for our organization to upgrade.
Thursday, February 21, 2008 8:15 AM by Steven

# re: Ask the Development Team

Hi,

I need help on beginning ArcGIS Server programming.

Is it possible to get a full sample web adf app AGS 9.2 that demonstrates how to create a graphic polygon in the web app and use it to select all point features in a feature class that are within the bounds of the graphic?

Thanks.

Thursday, February 21, 2008 8:48 AM by josh5000

# Anand

Hi!

I have been trying to use wkbvariant using

" object wkb = pGFact.CreateWkbVariantFromGeometry(pGeo); "

All I do is go to arsde and get a feature from a featureclass and pass the geometry to pGFact creating using :

  ESRI.ArcGIS.Geometry.IGeometryEnvironment4 pGeoEnv = (IGeometryEnvironment4)pServerContext.CreateObject("esriGeometry.GeometryEnvironment");

           ESRI.ArcGIS.Geometry.IGeometryFactory3 pGFact = (IGeometryFactory3)pGeoEnv;

However, it throws this error everytime:

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

Can you please look into this?

Thanks!

Thursday, February 21, 2008 10:08 AM by aat0995

# re: Ask the Development Team

@tbcrain who asked about Web ADF controls within user controls and other controls:

In general, 9.2 Web ADF controls are supported for use within User controls and custom composite Web controls.

There’s a difference between adding the user or composite control at design-time or run-time.  If you add one user or composite control to a page at design-time, everything should function without an issue. If added at run-time, you need to create a composite control because a couple of Web ADF characteristics need to be managed explicitly.  Two issues are listed below:

1) In a custom composite control, Web ADF controls are added dynamically.  During a request to a page, the page and its controls (including the composite control) iterate through their lifecycle.  This becomes important when dealing with resources added to a resource manager.   Once added, they are maintained in state and retrieved when the resource manager is recreated during the control lifecycle.   So as not to keep re-adding resources every time the resource manager is created during the composite control lifecycle, you need to check session state for the presence of the resource items.  If present, do not re-add the resources.  

2) A set of HTML hidden input elements (fields) are injected in the page at runtime if a Web ADF control is present.   These fields store information such as the current tool, map mode, and screen coordinates associated with tool interaction in the map.   One field, ESRIWebADFHiddenFields, stores a list of all the other field names.  This list is used to include the other field values in a callback request.  If the Web ADF controls are added after the initial request to the page (such as adding a composite control during a full postback to the page), the ESRIWebADFHiddenFields value is empty.  As a result, tool interaction with the map is not functional.   To workaround this issue, you need to manually set the value of the ESRIWebADFHiddenFields element.   Note, this will only affect composite controls added after initial page load.  If a composite control is added during initial page load (e.g. design-time), these fields will be set correctly.   Adding more than one composite control with a Web ADF Map and Toolbar at runtime will likely cause conflicts and render some tool interaction with the map non-functional.   There is no easy way to overcome this at the moment.  As a result, it is best to add only one composite control with a Map-Toolbar per page at runtime.

If you use two or more user or composite controls that contain Web ADF controls, then you also need to be aware of an issue relating to using the ID of a control as a buddy control. If you add the same user control multiple times to the same page, the ID of the buddy-control is not unique anymore. The workaround is to programmatically change the ID of the controls that rely on being buddied during the OnInit of the UserControl’s code-behind, by prefixing the ID’s with the ID of the UserControl (which should be unique).

Example for Map, MapResourceManager and Toolbar:

public partial class MyWebUserControl : System.Web.UI.UserControl

{

   protected override void OnInit(EventArgs e)

   {

       Map1.ID = this.ID + "Map";

       MapResourceManager1.ID = this.ID + "MapResourceManager";

       Toolbar1.ID = this.ID + "Toolbar";

       Toolbar1.Group = this.ID + "Group";

       Map1.MapResourceManager = MapResourceManager1.ID;

       Toolbar1.BuddyControls[0].Name = Map1.ID;

       base.OnInit(e);

   }

}

This fix does have potential problems (changing the ID’s can cause other problems as well), and you might consider using CustomControls instead, where you create the controls programmatically and prefix the ID’s during page creation. In 9.3 you’ll be able to use the UniqueID of the control as Buddy ID as well. This will simplify this fix so you don’t have to rename the IDs.

Thursday, February 21, 2008 3:24 PM by Rex Hansen and Morten Nielsen

# re: Ask the Development Team

@Troy who asked about creating an event theme from data in a SQL database:

Here are some options for displaying data from a database table that has x/y point locations as fields in the table:

1) Use ArcMap to add the table as a layer in your map. This way, the layer acts much like any other point layer in the map. When the map is published to ArcGIS Server, the layer will appear along with any others in the map service. For details, see the topic “Adding x,y coordinate data as a layer” in the ArcGIS Desktop Help (available online at http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Adding_x,y_coordinate_data_as_a_layer).

2) You can also add the layer dynamically to a graphics layer in the Web ADF. This way, the data would be drawn separately from the map, which might be useful if the data changed frequently, such as from a GPS data feed. It would also be possible to add more complex graphics as lines or polygons stored in the table. To use this approach, you would follow two steps. First, in the server-side code for your application, query the database to retrieve the desired records. Refer to books or websites on querying databases for your platform for more information. Second, add the data records as points (or lines/polygons) to the graphics layer on the map. For an example of adding graphics to the map using the Web ADF for the Microsoft .NET Framework, see the sample “Common Add Graphics”, available in the ArcGIS Server installation or online at http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/samples/Web_Applications/Common_AddGraphics/04A6FBB4-AAD0-4F0E-98E7-032C2DA47200.htm. This sample adds graphics from user interaction with the map, but the same approach can be used to add data from a database on the server. For a similar sample for the Web ADF for the Java Platform, see http://edndoc.esri.com/arcobjects/9.2/Java/server_samples/graphic-renderer/example.html.

A third, more advanced option would be to create a custom data source that would allow the database to be read as a map resource, similar to other data sources in the Web ADF (ArcGIS Server, ArcIMS, etc.). This might be an option for business partners who want to make it easier for users to plug other data sources into Web ADF applications. For details, see http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/creating_custom_data_source.htm (for .NET) or http://edndoc.esri.com/arcobjects/9.2/Java/java/server/web_adf/adding_custom_functionality.html (for Java).

Thursday, February 21, 2008 3:26 PM by Bryan Baker

# re: Ask the Development Team

@josh5000 who asked about selecting point features based on a polygon drawn on the map:

One workflow for this is:

1. Create a custom tool whose client action is Polygon

2. Create a class for the server action (See this link if you need help: http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/custom_tools_commands.htm)

3. In this class, capture the polygon that the user draws as an ADF polygon (ESRI.ArcGIS.ADF.Web.Geometry.Polygon)

4. Create a spatial filter based on the polygon (ESRI.ArcGIS.ADF.Web.Geometry.SpatialFilter)

5. Use IQueryFunctionality.Query to query your layer based on the spatial filter. You’ll get back a DataTable of items. (See this link for help: http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ADF/resource_map.htm#queryfunc)

6. Optionally, add the data table as a graphics layer to the TaskResults, which will then display the features on the map (as long as the map is buddied to the TaskResults).

If you want to see some example code for spatial queries in the Web ADF, we recommend that you download and examine Bryan Baker’s “SelectToolTask” on ArcScripts (http://arcscripts.esri.com/details.asp?dbid=15133)

Thursday, February 21, 2008 3:29 PM by sterlingdq

# re: Ask the Development Team

@Guillaume as a follow-up to the hyperlinking question: You might also want to check out this sample by Tom Brenneman on ArcScripts: "Hyperlink tool for the ArcGIS Server Web ADF" (http://arcscripts.esri.com/details.asp?dbid=15059)

Thursday, February 21, 2008 3:35 PM by sterlingdq

# re: Ask the Development Team

@Yvonne who asked about shapefiles in mobile apps:

There are 2 ways that you can leverage data from a Shapefile with the Mobile ADF:

1. You can add the shapefile as a layer in the map document that you publish as a map service with mobile data access capabilities. Then when you request data from the service, the shapefile data will be cached on the mobile client device and drawn on your map. In addition, once you publish the map service, you can create a cache up front that can be deployed to the mobile device.

2. With the client APIs you can create a custom layer that consumes data directly from a shapefile or any other data source and then add that layer onto the map.

Today we do not have a specific API or published sample that reads from a shapefile. We have no plans today to include a specific API for reading a shapefile. We could create a sample to accomplish this if needed.

Thursday, February 21, 2008 3:46 PM by Jeff Shaner

# re: Ask the Development Team

Are you planning on making web adf objects serializable for transportation through SOAP?

And what does this mean for 9.3 that the javascript api's will be hosted by esri?  Does this remove the option for developers to customize?

Thursday, February 21, 2008 4:00 PM by sgourley

# re: Ask the Development Team

What are the top ten things you can do to improve the performance of a Web-application that serves up an address locater service along with a many-layered MXD with a dozen or so Mr. Sid image layers?

Thursday, February 21, 2008 4:34 PM by blekros

# re: Ask the Development Team

@Steven who asked about performance in Internet Explorer 6 vs. Internet Explorer 7 and Firefox:

Good to hear this positive experience you are having with the latest browsers. Our Support site documents a known issue regarding slow performance with Internet Explorer 6 when displaying cached services in PNG24 format. The problem is caused by an Internet Explorer 6 limitation displaying transparency for PNG24 images. http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=34055

Other than this, we don't have any specifics documented. Performance is always a key concern for web applications, we have also noted that these latest browsers are doing more to address these concerns.

Thursday, February 21, 2008 4:35 PM by Anne Reuland

# re: Ask the Development Team

Hi,I'm currently building a web map application for my customer using ArcGIS Server 9.2. One of the requirement is to achieve transparency settings for each layer, and 9.2 can do this by providing Transparencies for each layer in MapResource Manager. While the transparency can only take effect when the ImageBlendingMode property for Map WebControl is set to WebTier. Would it possible to achieve the same effect when ImageBlendingMode is set to Brower. PS: I have dozens layers in my application so I choose Browser mode to dispaly the map for a more acceptable performance. TIA for your reply.
Thursday, February 21, 2008 10:29 PM by LiangWei

# re: Ask the Development Team

I wonder the performance comparison of ArcGIS Server (SDE) on MSSQL vs Oracle on Windows 2003 Servers? Which one do you suggest for Windows Platform? Is there any big difference in performance? Thanks.
Friday, February 22, 2008 3:10 AM by Alper

# re: Ask the Development Team

We have a rather fast server that is running Arc GIS Server, ArcIMS, and ArcSDE. In the past we were told to keep ArcIMS and ArcSDE on separate boxes. Starting with 9.1 or 9.2, we were told that we should place ArcIMS and ArcSDE on the same box. We are starting to have issues with ArcSDE now getting overloaded with connections - probably from ArcGIS Server. It this configuration advisable? If not, which components should be on its own server?
Friday, February 22, 2008 10:33 AM by Zach M

# re: Ask the Development Team

Are you planning on moving to JSON formatted callback strings in 9.3 or is it going to stay as normal strings.

Friday, February 22, 2008 11:52 AM by sgourley

# re: Ask the Development Team

@Alper who asked about performance of MSSQL vs. Oracle with ArcSDE:

ESRI is prohibited by the DBMS vendors from providing performance information that involves their products. However, all of the DBMS vendors provide benchmark comparisons on their own web sites. We believe that either SQL Server or Oracle will offer very good performance with our products on a Windows server.

Other factors to consider in selecting a DBMS are do you have a DBA that's trained with one databases being considered, are there differences in what is required to administer one DBMS over another, do you have requirements for high availability, are there differences in licensing for virtual server environments, and so on.

Friday, February 22, 2008 12:51 PM by John Baleja

# re: Ask the Development Team

@sgourley who asked about JSON-formatted callback strings: Yes, 9.3 is all JSON for AJAX work.
Friday, February 22, 2008 12:52 PM by Art Haddad

# re: Ask the Development Team

@Rex and sterlingdq: thanks for your answers. I have not been able to have Tom's script work properly. I'll give a shot to the EDN example soon.
Friday, February 22, 2008 1:03 PM by Guillaume

# re: Ask the Development Team

@aat0995 who kept getting (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)):

A number of folks here looked into why you would be getting this exception with your code. We discovered that it is a bug and are logging it for possible fix in a future service pack or release. Thanks for reporting it.

Friday, February 22, 2008 2:35 PM by sterlingdq

# re: Ask the Development Team

Hello all,

First time reply to your posting while I have been enjoying your Blog all the time... Many thanks!

One question that I have is about the limitations that ArcGIS Server 9.2 might have. Has anybody done any testing on the number of map service instances that one server can have? I am experiencing failures on map service instance creation when the total number of instances reaches somewhere around 85 to 100. I have thought that I should be able to create enough number of map service instance for my whole county users (Harris County) when I have a good server (quad-core, hyper-threaded) and enough memory (12 gigs). But it turns out to be that adding more hardware support is almost useless as it stops creating service instance at a certain point... I have tested this on two different machines and am getting similar results. I have Advanced Enterprise license by the way. Any thoughts?

Your sharing of experiences and ideas would be greatly appreciated.

Thanks,

Wanjoo (wanjoo.choi@idea.com)

Friday, February 22, 2008 3:44 PM by wanjoo123

# re: Ask the Development Team

Thank you everyone for your questions this week! We’re closing the thread to new questions at this point, but we’ll attempt to answer all of the ones that have already been submitted. If your question has not received an answer yet, keep checking back next week.

We’re looking forward to seeing you at the ESRI Developer Summit on March 17-20 where we’ll be available to take questions at the Meet the Teams event and the ESRI Showcase. We also plan on keeping this blog active and may do similar posts in the future. Thanks for your participation!

Friday, February 22, 2008 4:06 PM by sterlingdq

# re: Ask the Development Team

@LiangWei who asked about transparency: At 92 it is a known limitation that a cached resource cannot be displayed with a transparency percentage when using ImageBlendMode = Browser. As you are aware, using WebTier mode is the work around to have the transparency applied correctly.

If you are not using cached services, please elaborate on your scenario by describing the services you are blending and the type of browser you are viewing the application in. Since this thread is now closed for comments, you can e-mail us through the blog's e-mail feature.

Monday, February 25, 2008 9:46 AM by Derek Weatherbe

# re: Ask the Development Team

@Zach M. who asked about a system configuration with ArcGIS Server, ArcSDE, and ArcIMS Our base configuration for ArcGIS Server is the Workgroup Edition which uses ArcSDE direct connections and has the DBMS (SQL Server Express), the SOM, SOC, Web ADF, and Manager all running on a single server. In most circumstances the component configuration will depend on application design, user load on the server, response time requirements, high availability requirements, organizational IT restrictions, and other factors.

If you are experiencing load problems, then moving one of more of the ArcGIS Server components to another server would be an option for improving performance

Also, be sure you are architected for Direct Connect and not simply running the ArcSDE app server on the same machine as ArcIMS. Your comment "We are starting to have issues with ArcSDE now getting overloaded with connections" seems to indicate the latter. As a note, your ArcIMS and ArcGIS Server connections should NOT include a port number.

Monday, February 25, 2008 9:47 AM by John Baleja and Dave Wrazien

# re: Ask the Development Team

@Vish Uma who had these four questions:

Q: Will the ArcGIS Server cache support TMS (Tile Mapping specification http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification)?

A: No, ArcGIS map caching doesn't support the Tile Mapping specification.

 

Q: Will the javascript library have an Object Oriented design with accompanying model diagram and documentation? More extensive javascript events for better customization?

A: Yes, plan to check out the 9.3 SDK for more details.

 

Q: Will a client-side vector layer (SVG) be available?

A: Yes. The ArcGIS JavaScript API does support client-side vector (graphics) layers. It is implemented as SVG for Firefox and VML in Internet Explorer.

 

Q: I hear that 9.3 is built on the Dojo framework. Would frameworks like ExtJS be supported in the future or will the framework be designed so that Dojo can be replaced with other frameworks like ExtJS or JQuery etc painlessly?

A: The new ArcGIS JavaScript API is built on the Dojo toolkit. The API was built with recommended JavaScript practices in mind such that there is no conflict with other frameworks such as ExtJS, jQuery, YUI, etc.

Monday, February 25, 2008 10:13 AM by Anne Reuland

# re: Ask the Development Team

@blekros who asked about optimizing the performance of a Web application with an address locator and MrSID images:

We recommend the following things:

-If your application and data allow for it, cache your map as a fused cache or as a series of fused caches

-If your application functionality allows for it, use pooled services

-If you are doing batch geocoding, try using a file-based locator (as opposed to a locator inside a geodatabase).

-Upgrade to ArcGIS Server 9.2 Service Pack 5 when it becomes available, since it has an important performance fix

That's only four things, but I'm sure you can find six more if you read our comments to Kevin and tesladaman on this thread:

http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/02/19/Ask-the-Development-Team.aspx#1028

http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/02/19/Ask-the-Development-Team.aspx#1037

Tuesday, February 26, 2008 3:24 PM by sterlingdq

# re: Ask the Development Team

@Guillermo Munoz who asked about an "Add layers" button: You can look at Morten’s blog post on how to add a resource to a map (http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2008/02/22/Creating-a-utility-library-_2800_Part-II_29003A00_-Creating-and-adding-resources.aspx) when you know which service you are planning to add.

The next task is to create a dialog that captures the input parameters that go into the resource definition string. For example, for ArcGIS Server Internet, you would need to create a dialog that captures the following information. The easiest way to create a dialog is by creating a user control.

1)The name of the server. This would be a text box

2)Identity if your application requires it. Username and password text boxes

3)A dropdown list for selecting the map service. To do this:

a. Create an ESRI.ArcGIS.ADF.ArcGISServer.Catalog object with the information in (1) and (2).

b. Call Catalog.GetServiceDescriptions() to get a list of the services on the server.

c. Add services of type “MapServer” to the dropdown list

4)A dropdown list for selecting the dataframe. This is optional. You can use (default) to get the default data frame

a. Once the user selects the map service, call ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.GISDataSourceInternet.GetResourceUrl to get the url to the map service

b. Using this url, call call ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceInternet.GetDataFrames to get a list of data frames to add to the dropdown list.

5)An OK button that will use the captured information to add the resource to the map as explained in Morten’s blog post. Next you can add a button to your application that will bring up your ‘Add Layers’ user control and off you go.

Tuesday, February 26, 2008 3:29 PM by Sentha Sivabalan

# re: Ask the Development Team

@Joe who asked about system requirements changes at 9.3

-Regarding ArcGIS Server for the Microsoft .NET Framework, we’ve added support for Windows Vista, .Net Framework 3.5, Visual Studio 2008, and Windows 2008 Server.

-Regarding ArcGIS Server for the Java Platform, we will stop providing IDE tools for Creator and start providing IDE tools for NetBeans 6. We will continue to provide tools for Eclipse.

In 9.2 we shipped a special DVD entitled “Java ADF for AIX and HP-UX”. We won’t be shipping those DVDs at 9.3. AIX and HP-UX will be supported as deployment platforms for Java applications but they won’t be supported as a development platform. AIX and HP-UX will continue to be supported as ArcIMS platforms. What does that mean for Java developers? Instead of developing your application on AIX or HP-UX you will develop your application on another operating system and then move the war file to your app server on AIX or HP-UX. The feedback from many users we have spoken with is that this is what they do already.

We are discontinuing support of SUSE Linux 9 and adding support to SUSE Linux 10.

We are discontinuing support of development with JRE 4 and adding support to JRE 5 update 13.

-For both platforms: Internet Explorer and Firefox will be the supported browsers at 9.3. We have removed support for Netscape and Mozilla.

-There may be additional changes to the system requirements between now and the ArcGIS Server 9.3 release. You should carefully check the final 9.3 system requirements on the ESRI Support Center website (http://support.esri.com) before you make system design decisions.

Tuesday, February 26, 2008 5:11 PM by Anne Reuland, David Cordes, and Valerie Alcantara

# re: Ask the Development Team

@wanjoo123 who asked about failures when using large numbers of service instances:

Thank you for your question. We recommend that you contact Technical Support or your ESRI Representative about this issue. They can get all of the details about your system and help troubleshoot your specific scenario.

Friday, February 29, 2008 7:57 AM by sterlingdq

# re: Ask the Development Team

@Heiko who asked if there are plans to make the Web ADF more open:

Yes, we are reviewing Web ADF components to provide a more flexible and extensible environment for developers in 9.3

Friday, March 07, 2008 5:09 PM by ArcGIS Server Development Team

# re: Ask the Development Team

@sgourley who asked: "Are you planning on making web adf objects serializable for transportation through SOAP? And what does this mean for 9.3 that the javascript api's will be hosted by esri?  Does this remove the option for developers to customize?"

Answer:

First, an answer to the question regarding are the Web ADF objects serializable. Yes, you can use SoapFormatter to serialize/deserialize Web ADF objects to/from SOAP. Let us know if you need more details (using the e-mail feature on this blog).

Second, you asked about the new client-side ArcGIS JavaScript APIs that will be hosted by ESRI. Our hosting the APIs does in a sense mean you developer can’t customize them. It’s possible to "override" anything in the JavaScript by declaring your own variable with the same name, but there is considerable work there as you'd have to reproduce the existing code and then modify it, rather than just extending it per se. We'll be talking more about the ArcGIS JavaScript APIs at the Developers Summit. If you are able to attend, be sure to check out the Building Mashups Using the ArcGIS JavaScript APIs session. We also have sessions on developing with the Web ADF: Building .NET Applications Using the ArcGIS Server Web ADF and ASP.NET AJAX and Building and Extending Tasks for ArcGIS Server .NET Web Applications.

Friday, March 07, 2008 5:11 PM by ArcGIS Server Development Team
New Comments to this post are disabled