Create Web Map Application with ArcGis Server

0 downloads 0 Views 820KB Size Report
For other people, the details about GIS servers and GIS resources will be ... Web application--for instance, finding locations suitable for redevelopment--before they ... ArcGIS Server is a Web GIS that helps you take your .... that reference globe services running on the GIS server. .... References. 1- M ost of topic come from.
Create Web Map Application with ArcGis Server Manager Haytham Ahmed, S amni A.Talab 1,2

Computer S cience, Alneelain University, Faculty of High S tudies Khartoum, Khartoum 11111 , S udan [email protected], [email protected]

Abstract The aims of this paper is to tell how we can create a web application with ArcGis Server M anager to browse map and its content such as toolbox , URl ,map content . in this manner we use ArcGIS Server for the M icrosoft .NET Framework of ArcGis Desktop 9.3 version &M ap of Central Untied State as a template & Google Chrome as a browser also we can able to share a map with someone through a server, but it would be even better if that person could also interact with the map . Index Terms— ArcGis, ArcGis Server, SOM, SOCs and GIS.

1. Introduction Working for an organization that manages geographic information, you're faced with the challenge of sharing your collection of geographic information with people inside your organization and those outside as well. ArcGIS Server provides the platform for sharing your GIS resources, such as maps, with your user community, whether they're sitting in the same office using ArcGIS Desktop or sitting across the country accessing and viewing maps through the Internet. ArcGIS Server allows you to share your GIS resources across an enterprise and across the Web. GIS resources are the maps, globes, address locators, geodatabases, and tools that you want to share with others. You share these resources by hosting them on your ArcGIS Server system, or GIS server, and allowing client applications to use and interact with the resources. The main advantages of sharing your GIS resources on a GIS server are the same as sharing any data through any kind of server technology: the data is centrally managed, supports multiple users, and provides clients with the most up-to-date information. In addition to providing access to particular GIS resources, the GIS server also provides access to the GIS functionality that the resource contains. For example, you might be able to share a map with someone through a server, but it would be even better if that person could also interact with the map, like find the closest hospital, restaurant, or bank and get directions to it from their location. Thus, the GIS server not only allows you to share resources, like maps, but also to access the GIS functionality embedded in them. How people use the GIS resources on the server depends on who they are. Some people will be fully aware of GIS servers and also of the particular resources on a given server because they need to use them directly. For example, a GIS analyst might author a map that contains a layer that references a

map resource on a GIS server. Or a developer might build a Web application that uses a map and an address locator to schedule and route delivery trucks. For other people, the details about GIS servers and GIS resources will be completely hidden. For example, the members of a city council might explore a map through a Web application--for instance, finding locations suitable for redevelopment--before they make a decision that affects the community they live in. For them, the Web application simply provides the tools and information to help them make their decision. The fact that the Web application they're using to explore the map is accessing a particular map resource hosted on a GIS server is of no concern to them.[1] 1-

What is ArcGis S erver ArcGIS S erver is a Web GIS that helps you take your geographic information and make it available to others. Perhaps you've already had some experience using GIS software to create GIS resources, which are the maps, geodatabases, and other tools that you need for storing and using your geographic information. ArcGIS S erver gives you the power to take the GIS resources on your computer and make them available to a wider group of users throughout a network of computers. In ArcGIS S erver, the way you publish a GIS resource to others is through a service.[4]

2-1 What is a service A service is a representation of a GIS resource that a server is making available to other computers on a network. This network can be a local one, such as your company's computer system; or it can be a broader network, such as the Internet. The computers on the network that access your service are called clients. When you use ArcGIS Server to publish a service, you are giving clients access to a GIS resource. In many cases, clients can do the same things with the service that they could if a copy of the resource were on their own computer.[5]

and efficient Internet business models, including B2B, B2C and B2B2C have gained a strong foothold [2].

2-2 What can ido with ArcGis S erver [9] 

M apping



Geoprocessing



Network Analysis



Web Coverage Service (WCS) publishing



Web Feature Service (WFS) publishing



Web M ap Service (WM S) publishing



M obile data publishing



KM L publishing



Geodatabase data extraction and replication

as clients, and they are also the tools you'll use to create the resources that you host on your GIS server. For instance, you'll author maps in ArcM ap and globes in ArcGlobe, then use ArcCatalog to publish them on your GIS server.[4] Here's a brief overview of how you can use the desktop applications with the GIS server.



In ArcCatalog, connecting to a GIS server is similar to connecting to a local folder on your computer or to a database server. Once connected, you have access to all the resources available on the GIS server. You can use these resources just as you would use any resource, for example, adding a map service as a layer in an ArcM ap map. If you also have administrative access to the GIS server, you'll see additional tools that let you manage the server. You'll be able to configure the server, add and remove resources, and monitor it to make sure it's working properly.



You'll use ArcMap to author the map resources you host on your GIS server. ArcM ap can also function as a client application that simply consumes the resources running on the GIS server. For example, you can add layers to your map based on map services; find addresses based on geocoding services; and perform data management tasks, such as geodatabase synchronization using geodata services.

3-The GIS S erver and Web application users



Today it is commonplace to see maps or other geographic information integrated seamlessly into Web sites. ArcGIS Server helps you put your geographic information on the Web, whether you need an application that simply displays a map or a more sophisticated one that incorporates specialized GIS tools. Access to the GIS server is embedded inside the Web application and typically hidden from the user of the application.

You'll use ArcGlobe to author globe documents that you host on your GIS server. You can also use ArcGlobe as a client application and add layers to your globe document that reference globe services running on the GIS server.



Using ArcToolbox and ModelBuilder, you can create GIS models to share with others through geoprocessing services. These models can help automate GIS analysis and data management workflows. You can also connect to others' published models and add them to your own ArcToolbox.

When you create Web applications with ArcGIS Server, you can integrate content from your own server with content from other GIS servers. For example, suppose you're a retailer with data about how products are selling across your store locations. You might overlay your data with demographic data from a different source to see how sales at each store location compare to the population around them. This way, you can tailor the products at the stores to the community they serve.[2]

ArcToolbox further supports the GIS server by providing the tools you need to create cached map services. A cached map service serves a collection of tiled map images created in advance at fixed scales and stored on the server. Client applications that access a cached map service draw maps very fast because the GIS server simply returns a precreated image to the client.[4]

4-The GIS server and ArcGIS Desktop users ArcGIS Server is a comprehensive platform for delivering enterprise GIS applications and GIS resources that are centrally managed and support multiple users. ArcGIS Server, like the entire ArcGIS system, is built and extended using ArcObjects software components—the same ArcObjects that are at the core of all the ArcGIS products.[9] The ArcGIS Desktop suite of applications (ArcCatalog, ArcM ap, and ArcGlobe) provides access to the GIS resources on the GIS server. ArcGIS Desktop users can be divided into two groups: those that simply use the GIS resources hosted on the GIS server and those that are actively involved with creating and managing the GIS resources. Thus, ArcGIS Desktop applications can serve

4- Components of an ArcGis S erver system The ArcGIS family of products--ArcGIS Desktop, ArcGIS Engine, and ArcGIS Server--are all built from ArcObjects. Casual users of ArcGIS Desktop are probably not aware of, nor do they care about, ArcObjects. They simply run Arc M ap, for example, and edit their map. It's not until they want to start customizing ArcGIS Desktop or building their own applications that with in the desktop environment. For example, if you want to display your GIS data, you do so through maps and globes. If you want to find locations by their address, you use an address

locator. If you want to do some analysis, you use the geoprocessing tools in the toolbox. Each of these items encapsulates some level of GIS functionality. Fundamentally, the GIS functionality is exposed through a specific set of ArcObjects components that implement the functionality. [4] The main purpose of a GIS server is to host services and distribute them to client applications that need to use them. Additionally, the GIS server provides a set of tools that allow you to manage the services; for example, you can use the ArcGIS Server M anager application to add and remove services. It's useful to understand how a GIS server system is put together so that you can build applications that effectively utilize ArcObjects running in a server environment. This section serves as an introduction to the components that compose a GIS server.[8] The following image shows the ArcGIS Server system architecture.[6]



Clients-- Clients are Web, mobile, and desktop applications that connect to ArcGIS Server Internet services or ArcGIS Server local services.



Data server-- The data server contains the GIS resources that have been published as services on the GIS server. These resources can be map documents, address locators, globe documents, geodatabases, and toolboxes.

Manager and ArcCatalog administrators- ArcGIS Server administrators can use either M anager or ArcCatalog to publish their GIS resources as services. M anager is a Web application that supports publishing services, administering the GIS server, creating Web applications, and publishing ArcGIS Explorer maps on the server. ArcCatalog includes a GIS Servers node, which can be used to add connections to GIS servers for either general server usage or administration of a server's properties and services.



ArcGIS Desktop content authors- To author the GIS resources, such as maps, geoprocessing tools, and globes that will be published to your server, you will need to use ArcGIS Desktop applications such as ArcM ap, ArcCatalog, and ArcGlobe. Additionally, if you're creating a cached map service, you'll need to use ArcCatalog to create the cache.

You can use ArcGIS Server M anager and ArcIM S Web M anager to create and deploy a fully functional Web mapping application. M anager steps you through the process of selecting which services to display, configuring tasks, and choosing the look and feel of your Web application. Once you've created the application, you can return and edit it in M anager. If you want to make advanced customizations, you can open the application in an integrated development environment (IDE) such as M icrosoft Visual Studio.[7] 5- Create web Map application (Central Untied S tate map)using ArcGis server manager An ArcGIS Server system is made up of some of the following components:[8] GIS server-- The GIS server hosts your GIS resources, such as maps, globes, and address locators, and exposes them as services to client applications. The GIS server itself is composed of two distinct parts: the server object manager (SOM ) and server object containers (SOCs). As the name implies, the SOM manages the services running on the server. When a client application requests the use of a particular service, it's the SOM that actually provides one for the client to use. The SOM connects to one or more SOCs. The SOC machines host the services that the SOM manages. Depending on your configuration, you can run the SOM and SOC on different machines and also have multiple SOC machines. The figure above shows a SOM machine connected to two SOC machines.



The steps below will help you use M anager to create a simple Web application that displays one map service. Before you start, you need to have a map service running. You can find instructions for that in "M ap services".[1] To create a Web application in M anager, follow these steps:

. 1-Choose from start menu >AllPrograms>ArcGis > ArcGIS Server for the M icrosoft .NET Framework> ArcGIS Server M anager.(see Picture 1).

Picture 1 Web server-- The Web server hosts Web applications and services that use the resources running on the GIS server.

log in to M anager, click the Home tab. it must be an administrator on the machine in order to create the Web application and see the welcome page[9] . (see Picture 2-3)

Picture 5 Picture 2

1.

Now you will choose the map service that your application will display. First, you need to establish a connection with a GIS server. Click Add Layer. Then click Add GIS Server and choose ArcGIS Server Internet as the connection type. (see Picture 6)

Picture 3

Picture 6 1. 1.

Click Create a web application. (see Picture 4)

Type the URL of the ArcGIS Server you want to connect to. The URL will take the following form http://borey-pc/arcgis/services.[9] (see Picture 7)

Picture 7 Picture 4 1. In the Name text box, type a name for your application(Central Untied S tate map ). This is the name by which you will see your application listed in M anager. Optionally, type a description(view Khartoum revers- street – cities ). Then click Next. (see Picture 5)

When you have entered all the connection information, click Add. You'll see a list of map services from the server you just added. (see Picture 8)

Picture 8

1.

Select a map service and click Add to move it into the Current Layers list. Click Close to return to the list of layers. Then click Next. (see Picture 9)

Picture 11 1. Picture 9 1.

This screen allows you to add tasks to your application. Configuring tasks is beyond the scope of this project,. Tasks are optional, so for now, click Next to move to the next screen. (see Picture 10)

Choose which map elements will be enabled in your application. Available elements are Table of Contents, Overview M ap, Toolbar, Navigation, Scale Bar, Zoom Level, and M ap Copyright Text. Each element has a Properties window where you can adjust how the element will look and behave in your Web application. For example, you can choose an icon or image that will be used for the Navigation control. (see Picture 12,13)

Picture 12 Picture 10 1.

Set the Title text, Theme, and Web page links.



The Title text will appear across the top banner of your application and in the title bar of the browser window.



The Theme specifies the top banner graphic and the color scheme of your application's menus.



The Web page links will appear in the top corner of your application. You can remove or edit the default links or add your own.

Picture 13 2.

When you finish setting these properties, click Next. (see Picture 11)

When you finish configuring the map elements, click Next to review some information about the application that will be created. Take note of the URL so that you can access it later. You'll also be able to see this URL on the Applications tab of M anager When you finish configuring the map elements, click Next to review some information about the application that will be created. Take note of the URL so that you can access it later. You'll also be able to see this URL on the Applications tab of M anager.. (see Picture 14)

Conclusion

Picture 14 1.

Click Finish to create the Web application. By default, it will open in a new browser window. If you want to change any of the settings you selected, you can now access the application from the Applications tab in M anager. (see Picture 15)

Using ArcGIS Server users can create, manage, and distribute GIS services over the Web to support desktop, mobile and web mapping applications. Use geometry services for simple operations such as buffering and spatial selections and geoprocessing services for more sophisticated operations. „ The most important factor when deciding which SDK to use for ArcGIS Serverdevelopment is skills: users should select the SDK based on how comfortable theyare with one programming environment as opposed to another. Alternatively, if they have no programming skills, they can configure the out-of-the-box Web mapping application. In this paper we try to make an overview about how we can create web application using ArcGis server M anger & all of tool that can be view in the web .

References 12-

3-

456Picture 15 2.

Available elements are Table of Contents, Overview M ap, Toolbar, Navigation, Scale Bar, Zoom Level, and M ap Copyright Text.(see Picture 16)

M ost of topic come from ArcGISM anagerHelp/Index.htm http://webhelp.esri.com/arcgisserver/9.2/dotnet/manage r/administration/how_gis_svr_works.htm. http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_ server_dotnet_help/index.html#//009300000005000000 . http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?T opicName=Connecting_to_GIS_servers http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?T opicName=About_GIS_servers_and_services. http://web.pdx.edu/~jduh/courses/geog475f09/Students /W10_chan_architecture.pdf

7-

8-

9-

ESRI. ArcGIS Server Administrator and Developer Gu ide. ESRI. ArcGIS Server 9.3 Webhelp. Components of an ArcGIS Server System. http://webhelp.esri.com/arcgisserver/9.3/Java/compone nts_of_server.htm# http://myServer/arcgis/services.

,

Mr.HAYTHAM MERGANI AHMED MSc(2009) in information Tecnology at Faculty of Computer Science and Information Technology – AL Neelain University - Khartoum – Sudan,lecture at – AL Neelain University – Khartoum- El Baha University – Saudia Arabia , under BHD holder .

Picture 16

Pr. ElSAMANI ABD ELMUTALIB AHMED, Professor(2013) in the Computer Science at Faculty of Computer Science and Information Technology – AL Neelain University - Khartoum – Sudan, academic affairs secretariat, AL-Neelain University, Khartoum State, Sudan. Member of Computer Studies Committee, Ministry of Higher Education & Scientific Research, 2000- to Now , Sudan, Member of the committee for the admission to the MSc program in Computer Science, University of Al-Neelain, 2002 to Now, Sudan. Member of Al-Neelain University Senate (19972005).