Arcgis9.2 installation and. Net simple use (ZZ is simple and useful)

Source: Internet
Author: User
1. Install License Manager
(1) Open license. dat in notepad and change workstation to your machine name.
(2) Copy arcgis.exe and license. dat to overwrite the files in the ArcGIS installation directory.
(3) install ArcGIS licence manager. After installation, restart the machine and check the process. A ArcGIS. EXE process is started.
(4) from the Start Menu> All Program > ArcGIS> License Manager (9.x)> License Manager tools click the "configuration using services" tab, select "arggis License Server", and click the configure Services tab, set path to the license file: (for example, c: \ Program Files \ ESRI \ license \ arcgis9x \ license. dat), select the start/stop/reread tab, click Start, stop, and then reread. click the "server Diagnostics" tab and click "perform Diagnostics". If the "this license can be checked out" table is displayed successfully, restart the machine.
2. You are currently installing ArcGIS Desktop. If it is successful, three options are displayed. Select the first one with your computer name. Install it all the way.
3. Install ArcGIS Server
(1) Find arcgis9 \ server92 \ arcgis_server_dotnet_edition \ setup. MSI and double-click Run.
(2) One-Way installation Haha. After setting the two user passwords of ArcGIS, select arcgis9 \ license \ arcgisserver92_no time limit. ECP file for one-way Installation
(3) Right-click my computer, Click Manage, select a local user and group, select a group, find the agsadmin user group and agsusers user group, right-click Add to group, and add administrator, arcgissoc, arcgissom, add an arcgiswebservices user to complete installation.
4. Create a map document
(1) Start ArcMap from the Start menu and create an empty document
(2) Click "add date" and navigate to "D: \ GIS-date", "Continent. SHP" in the row, and click "add" to load the SHP data to ArcMap.
(3) Right-click the layer, select the properties menu, add and click the symbolgy label, select the unique values rendering method, click Add all values, and click OK.
(4) richer map information after the symbolic mode is set
(5) Select the Save As menu from the File menu, go to the GIS-date folder, and enter: World in the file name input box. mxd, click Save. this document will be published as a document for the ArcGIS Server map service.
(6) Disable ArcMap
5. Publish map service in arccatalog
(1) log on to the operating system as an ACTC user
(2) Start arccatalog from the Start Menu. In the directory tree of arccatalog, expand GIS server, double-click Add GIS server, select "manage GIS services" in the displayed dialog box, and click Next.
(3) Enter http: // localhost/ArcGIS/services after serverurl, where ArcGIS is the Instance name. The specific name depends on the settings of your own installation, enter the host name after the host name, and click Finish to add the GIS server.
(4) In the directory tree of arccatalog, locate the D: \ GIS-date folder.
(5) Right-click the world. xmd document and choose "Publish to ArcGIS Server"
(6) In the first panel of the "Publish to ArcGIS Server" Wizard, accept the default service name world
(7) Accept the default option and click Next.
6. Publish the map service in ArcGIS Server Manager
L first, locate the GIS-date folder in Windows Resource Manager and set the folder to network sharing.
L start ArcGIS Server Manager from the Start Menu, enter the computer name \ User name in the text box after usrename on the page, and enter the password after password. Click Log in to go to the release page.
(1) Click the services hyperlink to switch to the service tab, and then click "Add new service"
(2) enter the service name "world" and click "Next ".
(3) Click the map document button to expand the http://www.cnblogs.com/zhangjun1130/admin/file://actc-think/ (this name depends on the reporter's own name, the name is the reader's own computer name ), find the GIS-date folder shared by the first method, and select world. mxd
(4) After the selection, click Next until the release is completed.
7. Create a WebGIS application using ADF
(1) Start vs2005 from the Start Menu, choose File> New> website, select Web mapping application as the template in the new website dialog box, select HTTP as the location, and enter: http: // localhost/World, click OK
(2) After the website is created, select default. aspx in solution manager and click to view details. Code Button, mainly used to display the code of the default page, which is generated by the web mapping application template.
(3) In default. on the aspx designer interface, find the mapresourcemanager control, click the triangle in the upper-right corner of the control, click the "Edit resources" link in the pop-up window, and click "add" in the pop-up mapresourceitem Set Editor, in the displayed dialog box, click the button next to definition. In the displayed map resource definition editor window, select ArcGIS Server local in type and enter the name of your computer in date source, click the button after resource. In the displayed dialog box, set service to world, date frame to default, and click OK.
(4) In the design view of the page, find the map1 control, view its attribute list, and set the mapresourcemanager attribute to mapresourcemanager1.
(5) Expand app_themes in the solution. You can use the following homepage as the page display style. The default page topic is blue_bridge. Next, you will change the homepage subject to green_trees.
(6) double-click the Web. config file in the solution, display the content of the file in the main workspace, find the <pages> node, and change the value after theme = to green_trees.
(7) before debugging, you need to set the web application identity, right-click the solution and select "add ArcGIS identity". In the displayed dialog box, enter the user name, password, and host name, this user name must have the access permission of ArcGIS Server, that is, it is in the agsadmin or agsusers group, click OK
(8) start debugging



8. Create a WebGIS application using ADF
(1) Create an ASP. NET web application named mappingapp (do not use the web mapping application template to create a common web application ).
(2) In default. in aspx, place the required controls (1 Map, 1 toolbar, 1 mapresourcemanager, 3 floatingpanel, 1 overviewmap, 1 TOC, and 1 navigation ). Overviewmap, TOC, and navigation are placed in three floatingpanels respectively. The specific code is as follows:
1 <Form ID = "form1" runat = "server">
2 <Table border = "1px" style = "width: 498px">
3 <tr> <TD colspan = "2">
4 <ESRI: toolbar id = "toolbar1" runat = "server">
5 </ESRI: toolbar>
6 </TD> </tr>
7 <tr> <TD style = "width: 337px; Height: 23px" valign = "TOP">
8 <ESRI: Map id = "map1" runat = "server" Height = "371px" width = "441px">
9 </ESRI: Map>
10 </TD> <TD style = "height: 23px" valign = "TOP">
11 <div>
12 <ESRI: floatingpanel id = "floatingpanel1" runat = "server" backcolor = "white" bordercolor = "gray"
13 borderstyle = "solid" borderwidth = "1px" font-names = "verdana" font-size = "8pt" forecolor = "black"
14 title = "eagleeye" titlebarcolor = "whitesmoke" titlebarheight = "20px"
15 titlebarseparatorline = "false" Transparency = "35" width = "200px">
16 <ESRI: overviewmap id = "overviewmap1" runat = "server" Height = "154px" width = "187px"/>
17 </ESRI: floatingpanel> </div>
18 <div>
19 <ESRI: floatingpanel id = "floatingpanel2" runat = "server" backcolor = "white" bordercolor = "gray"
20 borderstyle = "solid" borderwidth = "1px" font-names = "verdana" font-size = "8pt" forecolor = "black"
21 Title = "layer" titlebarcolor = "whitesmoke" titlebarheight = "20px"
22 titlebarseparatorline = "false" Transparency = "35" width = "200px">
23 <ESRI: TOC id = "toc1" runat = "server" width = "187px"/>
24 </ESRI: floatingpanel> </div>
25 <div>
26 <ESRI: floatingpanel id = "floatingpanel3" runat = "server" backcolor = "white" bordercolor = "gray"
27 borderstyle = "solid" borderwidth = "1px" font-names = "verdana" font-size = "8pt" forecolor = "black"
28 Title = "navigation" titlebarcolor = "whitesmoke" titlebarheight = "20px" titlebarseparatorline = "false"
29 transparency = "35" width = "200px">
30 <ESRI: navigation id = "navigation1" runat = "server">
31 </ESRI: navigation>
32 </ESRI: floatingpanel>
33 & nbsp; </div>
34 <div> dddd </div>
35 </TD> </tr>
36 </table>
37 <ESRI: mapresourcemanager id = "mapresourcemanager1" runat = "server">
38 </ESRI: mapresourcemanager>
39 </form>
(3) set mapresourcemanager1, click mapresourceitem to fill out the dialog box, click the Add button to add a mapresourceitem0, and then click the definition attribute pop-up dialog box. The settings are as follows: Type: ArcGIS Server local; Data source: myssis (my machine name); resource :( default) @ World (click the button and select the published map service named World) to complete the settings.
(4) set the mapresourcemanager of the map1 control and select mapresourcemanager1 from the property drop-down list.
(5) set the map attribute of overviewmap1 to map1, mapresourcemanager to mapresourcemanager1, and overviewmapresource to mapresourceitem0.
(6) set the buddycontrol attribute of toc1 to map1.
(7) set the map attribute of navigation1 to map1. You can change the display mode by setting the displaycharacter attribute.
(8) add esri to the mapresourcemanager control. arcGIS. ADF. web. datasources reference, right-click the resource manager on the Right of Vs and click "Reference". Then add reference to find ESRI. arcGIS. ADF. web. datasources OK.
(9) set the toolbar1, buddycontroltype to map, toolbarstyle to imageonly, buddycontrol to map1, and toolbaritems to attributes: in the displayed dialog box, add mapzoomin, mapzoomout, mappan, and mapfullextent under map navigation. No additional settings are required.
(10) start debugging
Article From: Green workshop green workshop programming green complex integrated information network detailed reference: http://www.lvtaostudio.com/2009/0807/288.html

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.