1 / 62

ArcIMS

ArcIMS. Advanced GIS Fall 2003 GEOG 4850/5850. Map Service/AXL. Fundamental component of ArcIMS To create a MapService, you first need to make a map using the ArcIMS Author application. There, you add data layers to a map and specify how those layers will be organized and symbolized.

tory
Download Presentation

ArcIMS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ArcIMS Advanced GIS Fall 2003 GEOG 4850/5850

  2. Map Service/AXL • Fundamental component of ArcIMS • To create a MapService, you first need to make a map using the ArcIMS Author application. There, you add data layers to a map and specify how those layers will be organized and symbolized. • After you have the map looking the way you want, you create a map configuration file (AXL extension). The map configuration file is a text file that stores information about your map design. (Map configuration files will be referred to as AXL files throughout this course.) Together, the AXL file and a MapService are what you need to publish maps on the Web.

  3. Two types of MapServices: Image and Feature • A Feature MapService streams data as vectors. An Image MapService sends a map image in JPEG, PNG, or GIF format.

  4. Image MapService • When you use an Image MapService, a map image is generated by the map server in JPEG, GIF, or PNG format and sent to the client computer that requested it. No special processing is required by the client computer. All the processing takes place on the map server, which generates a new map image each time it receives a request

  5. Feature MapService • With a Feature MapService, the map server bundles the data as vectors and attributes and sends it to the client through a process called streaming. Unlike Image MapServices, Feature MapServices are locally cached and the client computer can perform further geoprocessing on the data streaming • A type of data transmittal in which data is not downloaded from a server, but rather temporarily cached in a local computer's memory. Users interact with the data held in their computer's local cache. Streamed data is usually sent from the server in a compressed format. When received by the client (local computer) the data is uncompressed and displayed using software designed to interpret and display the data rapidly.

  6. http://maps.esri.com • Logon to maps.esri.com. • Many applications of ArcIMS are shown here. • Projection-on-the-fly • Geo-Game • California Climagraph

  7. ArcIMS Applications • ArcIMS consists of four applications: Author, Administrator, Designer, and Manager. In this topic, you'll learn how these applications work together to allow you to create and manage an ArcIMS Web site. • Designing a Web site that provides geographic content requires careful planning. The first step to understanding how ArcIMS works is to create geographic content, then publish it as a MapService. • To create a MapService, you add data to a map and decide how you want it to be presented on the Internet. This information is stored in the AXL (map configuration) file. As you will see, you use the AXL file to start a MapService. • After creating a MapService, you use ArcIMS to create a Web page that can handle the MapService. That involves designing the Web page and determining how the MapService will be presented. The MapService allows the map content (defined in the AXL file) to be published on the Internet and provides the framework for your Web site's functionality.

  8. Author • ArcIMS Author is the application you use to define the content for a map that you want to publish on the Internet. You decide what data will be shown and how it will appear on your map. First, you need to find the appropriate data sources for your Web site. You can use shapefiles, a variety of different image types, ArcSDE™ layers, and coverages stored in ArcSDE for Coverages. Through a Catalog window, you add this data to your map as layers. Layers reference the data source. In other words, a pathname is stored for the location of the actual file or files that comprise the data. • Once you have added data layers, ArcIMS Author allows you to add tools to help users navigate your map, like pan and zoom, and to investigate your map, like Map Tips and Identify. The final output from Author is a map configuration file, or AXL file. AXL files are text files that define all the map properties, including layer symbology. Author writes your choices and definitions in ArcXML, an Extensible Markup Language (XML) used specifically for creating Web-based products.

  9. extensible markup language (XML) XML is a markup language derived from SGML (Standard Generalized Markup Language) that defines the various components of a document by identifying and separating content, structure, and style. It was created and is maintained by the World Wide Web Consortium (W3C) to facilitate more standardized and structured user documents for the World Wide Web. It has now moved beyond the World Wide Web and is adopted by organizations around the world as the standard for producing both digital and analog mediums.

  10. Administrator • At any given moment, a GIS-enabled Web site will be receiving and providing numerous requests and responses for MapServices. To maintain an effective and efficient Web site, you will need to monitor its activity and fine-tune its operation. ArcIMS Administrator is the ArcIMS application you use to control how your Web site operates. • One of the essential tasks that you perform with Administrator is creating and starting MapServices. Once you have created a map in Author, you convert the resulting map configuration file (AXL file) to a MapService in Administrator. Basically, in Administrator you are publishing the content of an AXL file onto the Internet • Besides site administration, ArcIMS Administrator allows you to manage other components of your Web site, including spatial servers, virtual servers, and special folders for storing information gathered from users. Data administrators can also check statistical information about the site's performance and manage collaborative tools such as EditNotes and MapNotes. You'll learn more about the features available in ArcIMS Administrator in Module 4, Working with ArcIMS Administrator.

  11. Designer • To publish MapServices, you need a Web site that has been designed to handle them. ArcIMS Designer is the application you use to construct a Web site tailored to the individual MapServices that you created. With Designer, you create the look and feel of the site as well as determine functionality by adding tools for zooming, panning, querying, and map layer treatment • An important decision you will need to make is what type of client viewer your Web site will use. There are two basic client viewer templates accessible through ArcIMS, each offering a range of capabilities. The HTML client viewer permits only image files to be downloaded, while the Java-based client viewer allows both image and feature data transfer

  12. Example – Creating an ArcIMS website - 1st step • Author – The first step is to use ArcIMS Author to create a map that you want to display on a Web site. In Author, you add the different geographic layers, organize them how you want, and choose their symbology. When your map is complete, you output it as a text file with an AXL extension. In the ArcIMS documentation, this file is referred to as the map configuration file.

  13. Example – Creating an ArcIMS website - 2nd step • Once the map configuration file is created, you need to register it before it can be published on the Internet. This step is called starting a MapService, and you use ArcIMS Administrator for this task. The map configuration file you generated using Author is the input to a MapService. When a map server receives a request for a MapService, the MapService follows the instructions in the map configuration file and sends data to the client. Administrator is the application that allows this communication to occur. • Second, use the map configuration file to create and start a MapService in ArcIMS Administrator.

  14. Example – Creating an ArcIMS website - 3rd step • Once the MapService has been created and started in Administrator, you are ready to design a site for public display. ArcIMS Designer has a wizard interface that guides you through the process of creating HTML pages and supporting files

  15. Summary • More and more, the Internet is becoming a common forum for analyzing and solving geographic problems. Developing an ArcIMS-powered Web site allows you to distribute your own geographic data and integrate it with data from other sites. The heart of an ArcIMS Web site is the MapService. A MapService defines how geographic data may be displayed on the Web. There are two types of MapServices: Image and Feature MapServices. • ArcIMS consists of four applications: Author, Administrator, Designer, and Manager. • ArcIMS Author is the application that allows you create a map and organize your data into an AXL file which you use to create a MapService. • ArcIMS Administrator allows you to create and manage your MapServices.

  16. Summary - 2 • ArcIMS Designer is the application you use to design and build ArcIMS viewers by combining MapServices with toolbar functions. • ArcIMS Manager ties the other three applications together into a wizard-driven interface, and leads you through the process of authoring MapServices, designing Web pages, and administering sites. • ArcIMS is the engine behind Geography Network, an Internet portal that facilitates finding geographic data and other content. Geography Network is the place to search for MapServices that others have created and where you can publish your own MapServices when you're ready.

  17. ArcIMS Architecture and InstallationLesson Goal • the multitier architecture of ArcIMS • how to use the ArcIMS help system • how to access ArcIMS Online • how to find technical documentation in the ArcIMS Knowledge Base • the basic steps in the ArcIMS installation process • how to test your configurations using the ArcIMS Diagnostics Web page • how to quickly create a simple ArcIMS Web site

  18. Server-Client Environment • When a client makes a request for a MapService, the request is first handled by the Web server, then passed through to ArcIMS. A response is sent back through the Web server to the client. • The server processes requests, creates and runs MapServices, and manages the Web site. Data sources managed by the server can include both database and file-based sources. • The client is a user's Web browser or supported software program such as ArcGIS that accesses an ArcIMS viewer on the Web site. Through the viewer, a client sends requests and views or interacts with maps and data. The viewer provides the framework for the Web site; that is, it defines the site's appearance and functionality.

  19. Webserver • ArcIMS needs a Web server that can be extended to run Java code, either built-in or by using a servlet engine • Servlet engines extend Web servers with a common applicaton programming interface (API) and allow them to process Java code. A servlet is a Java program that runs as part of a Web server and responds to requests made to a special URL. The most common use for a servlet is to extend a Web server by dynamically generating Web content. A servlet can be written so that it receives the request, acquires and processes the data as needed by the client, then returns the result to the client. Servlets are analogous to applets, except they work on the server side of the architecture.

  20. Spatial Server • ArcIMS spatial serverThe backbone of ArcIMS is the ArcIMS spatial server. The ArcIMS spatial server provides the functional capabilities for accessing and bundling maps and data into the appropriate format before sending them to a Web browser. • When a request is received, the ArcIMS spatial server performs functions such as creating cartographic map image files, streaming map features, searching to query the database, geocoding for address matching operations, and extracting or "clipping" data to create a subset that can be sent back in shapefile format

  21. Client side • Client computers access an ArcIMS Web site using a Web browser or a supported software program, such as ArcExplorer 3 Java Edition or ArcGIS™. The client interacts with the Web site through the viewer created for the site. It is the viewer that controls the site's appearance and functionality. • Standard ArcIMS includes HTML and Java viewers, and supports a full suite of other ESRI software clients such as ArcGIS, ArcExplorer, and ArcPad™, and other devices. If you want, you can choose from a variety of ready-to-use viewer templates or you can customize the standard ArcIMS viewer templates using VBScript or JavaScript.

  22. Feature/HTML viewers • Feature streaming (available with the Java viewer) serves information to a client browser in a specially optimized compressed format, resulting in true client/server processing capabilities. The new ArcIMS architecture allows more powerful clients to process "smart data" on the client computer to instantly perform many tasks without having to interact with the server. • The HTML viewer performs less processing on the client computer than the Java viewer, making it a "lighter" client option. The HTML viewer may be the best solution for simple mapping applications that incorporate only Image MapServices.

  23. ArcIMS Installation • Verify System Requirement: 256MB Ra, 226 MB space, Win2000 or Solaris 7/8 • Typical/Customization • You may be able to run ArcIMS spatial servers on several machines instead of one. • Typical- Installing all components on one computer is suitable for sites with limited computing resources or those that expect a light volume of use.

  24. Custom Installation • A custom installation allows ArcIMS components to be distributed and increases the efficiency of high-volume Web sites. • Adding more computers with ArcIMS spatial servers expands the processing capabilities of Web sites that get heavy traffic.

  25. Testing the ArcIMS servlet connector • it can be accessed through Start > Programs > ESRI > ArcIMS 3.1 > ArcIMS Diagnostics or type in http://kh309.easc.tntech.edu/servlet/com.esri.esrimap.Esrimap?cmd=ConnectorPing in browser’r URL space

  26. Exercise – create a simple webmap using ArcIMS • Load your county data (such as from neighboring counties, White, Cumberland, Fentress, etc..) to U:\Adv_GIS\YourName\Exercise • Start ArcIMS

  27. Authoring • the main features of the ArcIMS Author interface • the types of data you can work with in Author • how to add data using the Catalog • the different ways you can symbolize feature layers in Author • how to save your map as a map configuration file • the structure of ArcXML files

  28. Authoring maps • Create a axl file: map configuration file • You will identify data layers for your map • Symbolize layers and legend and scale setup • Start ArcIMS Author application from program>Esri>ArcIMS 3.1> Author or access through Manager

  29. Author toolbar File and Edit • Open: Select an existing map configuration file to edit (not available in Manager) Save Project: Save your work in a map configuration file Copy Map Image to File: Save a JPEG image of your current map display Close Project: Close the current project (not available in Manager) Add Layers: Opens the Catalog where you can browse for and add new data layers Print: Print the current map display to a default printer Scale Bar Properties: Set the map and scale bar units (available only in Manager)

  30. Author – toolbar2 • Zoom to Previous: Zoom back to the previous extent Zoom to Next Extent: Zoom forward to the next extent (use after clicking Zoom to Previous) Zoom to Full Extent: Zoom to the full extent of all the layers in the map Zoom to Active Layer: Zoom to the extent of the active layer Zoom In: Zooms in when you click or draw a box on the map Zoom Out: Zooms out when you click or draw a box on the map Pan/Pan One Direction: Move the map display without changing the map scale

  31. Author toolbor 3 • Identify: Shows feature attributes when you click on the features on the map Find: Allows you to type in a word to find features in one or more layers Stored Query: Creates a predefined query on a feature attribute table Geocoding Properties: Defines the properties for the street file you want to use for address matching and builds a geocoding index MapTips: Enables MapTips using an attribute of a layer Layer Properties: Defines the layer symbology Clear All Selection: Clears the selected features in all layers

  32. Add Data - ArcCatalog • Navigate to folder where you have data stored, and click on Add Layer • ArcIMS supports the following data types: shapefiles, ArcSDE layers, many image formats, and ArcInfo™ coverages accessed through ArcSDE for Coverages.

  33. shapefile • A shapefile is a standard format for storing geometry and attribute information for a set of geographic features. The geometry for a feature is stored as a shape comprised of a set of vector (point, line, or polygon) coordinates. Every feature in a shapefile must have the same shape. Shapefiles are a vector file format for storing the location and attribute information of point, line, and polygon features. The name "shapefile" is somewhat misleading because each shapefile is comprised of at least three files: shapefile_name.shp, shapefile_name.shx, and shapefile_name.dbf. • A shapefile has three core files with different extensions that indicate their contents: • SHP: Stores feature geometry (shape and location information) • SHX: Stores the index of the feature geometry • DBF: A dBASE file that stores the attribute information for the features

  34. ArcIMS and shapefiles • These three files must be stored in the same folder. Shapefiles may also have other associated index files that speed analysis and querying. These files are not required. • ArcIMS does not allow a shapefile to have field names longer than 10 characters. Also, shapefiles that contain duplicate field names cannot be drawn in ArcIMS.

  35. Image File in ArcIMS • Image data is raster-based data in which each cell, or pixel, has a certain value. Common examples of images are satellite images, aerial photographs, and scanned documents. On maps, an image is often used as a background layer. • You've learned that ArcIMS supports three types of output image formats (GIF, JPEG, and PNG), but the ArcIMS spatial server is able to read many types of image formats. This means that when you use imagery in your map, the source image file can be stored in a variety of formats. These images can be added as references to the map configuration file (AXL file) to be registered by a MapService. • In ArcIMS Author, you can add and view images in some source formats, including BMP, JPEG, GIF, and TIF. Images in other formats such as MrSID, ERDAS IMAGINE, and image directories can be added to Author, but they cannot be viewed. The image reference is saved in the map configuration file.

  36. Image file format for ArcIMS • Arc Digitized Raster Graphics (ADRG), ASRP, Bitmap (BMP), • Band Interleaved by Line (BIL), Band Interleaved by Pixel (BIP) • Band Sequential (BSQ), Controlled Image Base (CIB) • Compressed Arc Digitized Raster Graphics (CADRG) • ERDAS GIS, ERDAS IMAGINE • GeoTIFF, IMPELL,JPEG File Interchange Format (JFIF) • Joint Photographic Experts Group (JPEG) • Multiresolution Seamless Image Database (MrSID) • National Imagery Transmission Format (NITF) • Portable Network Graphics (PNG), SUN Microsystems Computer (SUN) • Tagged Image File format (TIF), USRP • ESRI ArcInfo GRID, ESRI ArcView Image Catalog • ESRI Spatial Database Engine Raster (ArcSDE Raster) • Some image formats store georeferencing information in the header of the image file. Other image formats store this information in a separate ASCII file. This file is generally referred to as the world file, because it contains the real-world transformation information used by the image. ArcIMS requires that world files be included with image layers that use them.

  37. Creating a map • In ArcIMS Author, there are many ways to customize the appearance of your maps. You can control how the source data is displayed and how users interact with the layers. You can set scale bar properties and add, reorder, and remove layers. • You use the Layer Properties dialog to access most layer-specific properties. In this dialog, you can do things such as change the name of a layer, customize its symbology, and add text labels for features. • The symbology you choose for displaying layers greatly affects how readers interpret the map. Learning how to display your layers clearly and efficiently will help your audience understand your data and may also reveal patterns not otherwise apparent. ArcIMS provides a wide variety of symbol styles and colors you can use to represent layer

  38. Scale bar properties • A scale bar helps users interpret the data shown on your map. ArcIMS Author adds a scale bar automatically at the bottom of the map display. To ensure the accuracy of the scale bar, you need to specify the map units of your data, the scale units, and the screen units you want to use for measurement. • Map unitsMap units are the units in which your data sources are stored. You can work with spatial data that stores feature locations as unprojected geographic coordinates (latitude and longitude coordinates stored in decimal degrees) or projected x,y coordinates. Projected data is data stored in real-world units such as meters or feet. • Setting the map units is crucial if you want to enable accurate measuring and buffering on your Web site. The map units will be written to the map configuration file (as the MAPUNITS element). • Scale unitsScale units are the units ArcIMS uses for reporting measurements and dimensions in the scale bar. You can choose any units (e.g., miles, feet, meters, or kilometers) appropriate for the map display you are working with.

  39. Scale bar • Screen unitsScreen units are used to physically measure a distance using a ruler displayed on your monitor to estimate true distance (e.g., 1 inch on the monitor equals 50 feet in the real world). You can set screen units as inches or centimeters. In Author, you set the map units, scale bar units, and screen units using the Scale Bar Properties command on the View menu. When you're creating a map using ArcIMS Manager, you access the Scale Bar Properties either by right-clicking the scale bar or clicking the Scale Bar Properties button. In Author, you can choose to not display the scale bar by unchecking the Scale Bar command on the View menu. You cannot remove the scale bar in Manager.

  40. Legend - layer • After you add data using the Catalog, each source dataset appears as a layer in the legend. • Many operations in ArcIMS work only on the active layer. For example, you can identify only features of the active layer. To make a layer active, click the layer name in the legend. When a layer is active, it is enclosed by a rectangular box.

  41. Order of layers • For best display, point and line feature layers should be placed at the top of the legend. Here, the Water and County layers obscure the Landmarks and Highways layers • To change the order in which a layer draws, click the layer in the legend and drag it to a new position (up or down). You can also reorder layers by right-clicking the active layer, then clicking Move Layer. With this method, you can move the active layer up or down or move it directly to the top or bottom of the legend.

  42. Layer Properties dialog • The Symbols tab is where you change the method, style, color, and size of layer symbols. ArcIMS offers three ways to symbolize your feature data: one symbol, graduated symbols, or unique values. Using options in the Labels tab, you can display text labels for layer features based on an attribute field. You choose the attribute field, font, style, size, and label text effects for each layer. • The General tab displays information for that layer (data source location and type). In this tab, you can change the name of a layer as it displays in the legend. You can also set a scale factor for a layer, so that features display or don't display based on the map's scale.

  43. Single symbol • If you like, you can use custom images for point and polygon feature symbols. The images must be GIF or JPEG files, and they can be modified only in a graphics program, not in Author. In the legend, custom images will be sized to 16-by-16 pixels. To use custom images as symbols for point or polygon layers, you will need to specify in the Layer Properties dialog both the absolute path to where the files are stored You may have to edit your Web server configuration file and add another virtual directory to the list.

  44. Unique symbols • For example, suppose you have a layer of 100 pizza restaurants. Conceivably, you could use a unique symbols legend to display these features by restaurant name. You would end up with 100 different symbol types if every restaurant has a unique name. More appropriately, you could use unique symbols to display the pizza places by their neighborhood location. You will then create fewer symbols that have more implied meaning. You can change the style type (point marker, line style, or polygon fill pattern) of the symbols used to represent features. For point and line layers, you can also change the size of all your feature symbols. Additionally, the label displayed in the legend can be changed. • ArcIMS can display features with a number of methods when you use a unique symbols legend. Bountiful harvest, pastels, and minerals are three predetermined color schemes.

  45. Graduated symbols • ArcIMS uses the Equal Interval classification method to divide features into classes. The Equal Interval classification method divides the range of attributes into equally-sized subranges. You cannot customize the range values in Author. As you will discover later, you can change these values from within the map configuration (AXL) file. • You can also display ranges based on a start and end color. For example, in the map above, census tracts in the lowest class for median property values are displayed in yellow (the start color) and tracts in the highest class for median property values are displayed in red (the end color). Tracts with property values in between are displayed in colors between yellow and red. • You can also symbolize a layer using differently sized line or point symbols (e.g., represent census tracts with low median property values with a 5-point circle and tracts with high median property values with a 20-point circle). • By default, when you use a graduated symbols legend, the label for each class (the text that appears in the legend) is the same as the class range values. You can change the labels for the classes if you like.

  46. Graduated-symbol map

  47. Exercise – Add data using Author • You will need data from U drive. Create a map using Author. • Right-click on folder which contains the shapefiles to make it as a favorite folder in Catalog. • Add data and change symbol to reflect the data nature • Save data in U drive.

  48. ArcXML structure • Like HTML, the ARcXML use element tag. Forward slash (/) to end an element. Some elementsNote how the elements are defined. Their names are in uppercase letters and surrounded with angle brackets (this format is usually called the element tag). Some elements have both opening and ending tags, while others, like SHAPEWORKSPACE, have only one tag. Note the forward slash at the end of the SHAPEWORKSPACE and DATASET elements

  49. Exercise • Open tn_physiography.axl from Notepad on your computer. Answer the following questions (Do not save this file if you somehow modify this file. You’d better copy this file to your directory) • 1) What version of ArcXML is being used? • 2) Where is this project stored? • 3) What map units are being used? • 4) How many layers the project contain?

  50. Defining the map presentation • about the tools ArcIMS Author provides for exploring map data • how to set a scale range for a layer • what a scale dependent renderer is • how to create complex feature symbology using group renderers • how to add text labels for layer features to a map • how to define stored queries and geocoding properties for maps • how to author a map in ArcIMS Manager

More Related