WebGIS development practices manual 2.5 management components of ArcIMS

Source: Internet
Author: User

After learning about the principles of the server layer, connector, and Web ADF of ArcIMS, we need to learn how to use the ArcIMS server. ArcIMS provides various management functions.ProgramAllows you to create maps, generate services, develop Web client applications, and adjust and monitor the operation of WebGIS sites.

2.5.1. Author: configure the map

In ArcIMS, there are two ways to create a map. One is to use ArcMap to generate an mxd file, but it must install the ArcMap image extension component; the other is to use the author tool to generate an Axl map configuration file in ArcXML format.

Figure 2 routing 8 author Tool

Author allows you to select geographic data to generate the map you want to publish. The data can be shapefiles, image data, or layers from ArcSDE. After adding a data layer, you can also adjust the display sequence and Rendering Method of the layer. For example, you can change the name of a surface layer and fill it with a blue multilateral line, a dark blue outer frame line, and an orange, and Arial font.

In addition, you can use author to change the display of polygon, points, lines, and text labels based on your requirements and set the display scale range, so that some elements are only displayed within a certain scale. In addition, we can also set table data query parameters or precise coordinate points based on street addresses during Geographic Encoding.

In the first exercise of ArcIMS quick start tutorial in ArcIMS, you can obtain the complete author usage method.

2.5.2. ArcIMS administrator: publish a service

After the map file is generated, we can use the GIS server ArcIMS to publish the map as a service.

ArcIMS Administrator is the tool responsible for map publishing. Its main role is to create and start the map service. ArcIMS Administrator also has other functions, such as maintaining the web site folder, file output path, and temporary data clearing interval of ArcIMS server; you can also use it to increase or configure the ArcIMS space server, balance the request and response pressure to improve its operation efficiency, and view website statistics.

Of course, the main function of ArcIMS is to create a map service, as shown in area 2:

Figure 2 ‑ creating a map service in ArcIMS Administrator

When creating a map service, you must set the service name, map file used by the Service, and select the necessary virtual server. In addition, you can also set map output parameters, to implement the functions you need.

When logging on to the ArcIMS administrator program for the first time, you must set the user name and password. If the user forgets the password, perform the following steps to reset it:

Ø stop the Tasker, monitor, and application server services in turn;

Open the appserver folder in the installation directory of ArcIMS and delete the aimsadmpw file;

Restart the application server, monitor, and Tasker services in turn.

When you log on again, a dialog box is displayed asking you to set the username and password of ArcIMS administrator.

TIPS: solution to Application Server failure

If the "the URL http: // <serverurl> is invalid or ArcIMS is not running" message appears in the status bar when application server is started, the user name and password dialog box is not displayed for administrator login.

The cause of this error is either that the application server cannot connect to the ArcIMS servlet connector or that the servlet connector cannot connect to the ArcIMS application server. Follow these steps to find the problem:

Check whether the ArcIMS application server process has been started in the "service" list;

Check whether the Web server is started. You only need to enter http: // <serverurl> to check whether the Example page is displayed. In most cases, we will find that this is the crux of the problem. This may be because we have accidentally installed other programs with Web servers. For example, Oracle databases will automatically carry Apache servers. Disable Apache and restart IIS.

Check whether the ArcIMS servlet ctor configuration is correct on the ArcIMS diagnostics page;

If the first test on the ArcIMS diagnostics page is successful but the second test fails, check whether the appservermachine variable in the esrimap_prop file is the server name or domain name deployed by the ArcIMS application server component.

In addition, readers should also get used to reading the log files of ArcIMS to understand the operation status and Fault Causes of ArcIMS. With this technique, readers can access the ESRI Support Center website [1].

2.5.3. ArcIMS Web Manager: generate a site

Before arcims9.2, ArcIMS included a program named designer to quickly generate HTML or Java client programs. In this version, we can also install an additional component web manager to quickly generate websites. 2, 10:

Figure 2 Overview 10 Web Manager

Web Manager has. NET and Java versions. Different Versions of Web Manager will produce different web applications. After installing Web Manager, we can use it to create a web map application.

In the ArcIMS menu, click "ArcIMS web manager for micorsoft. net Framework, you can start a web application named ArcIMS Web Manager (we can see its folder in the web server, such as the ArcIMS folder in the wwwroot folder of IIS ). Log on to the program and click the "Create web application" link.

After clicking this link, the page will gradually ask the user to set the following content:

Web Application name;

The map service accessed by the web application (the map service can be accessed by ArcGIS Server, ArcIMS, arcweb, and WMS );

Ø display Coordinate System of the map service;

Ø transparency of map image images;

Jobs that need to appear on Web applications (editing tools, Find address tools, find place tools, geoprocessing tools, query attributes tools, and search attributes tools );

Title Text of the Web application;

Ø website subject type;

Links on the page;

Whether a layer table (TOC), a bird's-eye view map, tool bar, a compass, and a scale are displayed on the web page;

After clicking settings all the way, we can easily get an ASP. net Type web application, the program files are still stored in the web server data folder, such as IIS wwwroot. Finally, the customized WebGIS application 2 was shown in:

Figure 2 quickly generated Web applications on November 11

2.5.4. Designer: another option for Quick Generation

Although ArcIMS web manager can quickly generate. net or Java Web applications, but this is not the only site rapid design tool of ArcIMS, ArcIMS still retains the designer program, it is used to quickly create HTML, Java Applet, and standard Java Web applications.

The designer tool does not appear on the ArcIMS administrator interface. You can find its startup icon in the ArcIMS menu.

Similar to web manager, you also need to set a series of attributes and parameters in the designer tool to quickly generate different types of Web application sites.

[1] http://support.esri.com/index.cfm? Fa = KnowledgeBase. techarticles. articleshow & D = 20844

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.