Enterprise-level open-source WebGIS solution-mapguide (installation)

Source: Internet
Author: User
Tags test web server
The installation of mapguide includes installing mapguide server, installing mapguide webserver extensions, installing sample data, and installing samples. Program Install dwfviewer and mapguide studio.
The installation described below is based on the Windows platform and IIS network service, and uses. NET development technology.
: Https://mapguide.osgeo.org

1 , Installation Mapguide Server
Download mgserversetup.exe and install mapguide server.
You can use multiple computers to provide the mapguide server function. When you install mapguide server on multiple computers, you need to set one computer as the Site Server, and other computers as the support server,
When installing the support server, you must provide the IP address of the Site Server.
The mapguide server (mgserver.exe) program is automatically started when the system is running. The service name is mapguide server (Windows service can be viewed ).

2 , Installation Mapguide webserver extensions
Download mgwebserverextensionssetup.exe and install mapguide webserver extention.
Mapguide server and mapguide webserver extention can be installed on the same computer or on different computers, the IP address of the computer on which the mapguide server is installed must be provided.
The Webserver configuration environment supported by mapguide webserver extention:
1) IIS configuration (suitable for beginners );
2) bundled configuration (supporting PHP and Java Development );
3) manual configuration;

Note: mapguide must be supported by ASP. NET 2.0.50727 or later.
In the IIS service, select the mapguide site. On the properties page, select the ASP. NET label to view ASP. NET version information. If ASP. NET version is earlier than version 2.0.50727, update ASP. NET.

3 Installation test
After mapguide server and extension are installed, you can visit the following address to test whether the installation is successful:

(1) test mapagent
Http: // localhost/mapguide/mapagent. fcgi? Operation = enumerateresources & version = 1.0.0 & locale = en & resourceid = Library: // & type = & depth =-1
Default User name: Administrator
Default password: Admin
The above usernames and passwords are case sensitive.
If an XML file is displayed, the installation is successful.

(2) test site administrator
Http: // localhost/mapguide/mapadmin/login. php
Default User name: Administrator
Default password: Admin
The above usernames and passwords are case sensitive.
If you can log on to the site administrator page, the installation is successful. All server configuration information can be modified in site administrator.

(3) test Web Server Extensions
Http: // localhost/mapguide/mapviewerajax/ajaxviewer. aspx? Weblayout = Library: // atest. weblayout
Because the current mapguide does not contain atest. weblayout, the following error message should be displayed:
Resource was not found: Library: // atest. weblayout. This indicates that the Web Server Extension is successfully installed and can receive and process requests normally.

4 , Installation Mapguide Sample Data
Download the sample data Sheboygan. MGP of mapguide. The steps for loading Sheboygan sample data on the mapguide server are as follows:
(1) copy the Sheboygan. MGP file to the packages directory:
(2) open site administrator:
Http: // localhost/mapguide/mapadmin/login. php
Default User name: Administrator
Default password: Admin
(3) Select the configure services menu
(4) In the resource services item, the directory information should be the same as in step (1:
Mapguideopensource Installation Directory Server \ packages
(5) Select the manage packages menu
(6) Select Sheboygan. MGP from the load package item and click load package.
After the data is loaded, the status bar displays the load succeeded information.
If the load fails, you can view the log information: mapguideopensource installation directory \ Server \ packages \ Sheboygan. MGP. Log
If mapguide studio is available, you can view the sample data in it. You can also use HTTP to test whether the sample data is successfully loaded. Open: http: // localhost/mapguide/mapagent/index.html, select the enumerateresources option, enter weblayout in type, and click Submit. If the sample data is successfully loaded, you should obtain the following 6 weblayout:
Library: // samples/Sheboygan/layouts/sheboyganphp. weblayout
Library: // samples/Sheboygan/layouts/sheboyganphptiled. weblayout
Library: // samples/Sheboygan/layouts/sheboyganasp. weblayout
Library: // samples/Sheboygan/layouts/sheboyganasptiled. weblayout
Library: // samples/Sheboygan/layouts/sheboyganjsp. weblayout
Library: // samples/Sheboygan/layouts/sheboyganjsptiled. weblayout

5 , Installation Mapguide Sample program
Download the mapguide sample viewer program dotnetviewersample. To install the sample program dotnetviewersample on the mapguide server, follow these steps:
(1) copy the dotnetviewersample folder to the WWW folder in mapguide webserver extention;
(2) Open the mapguide site in the IIS service, right-click the dotnetviewersample folder, select properties, and click "CREATE" in the "application settings" option of the "directory" tab ", click "OK" to complete dotnetviewersample configuration.
After configuring the sample data and the dotnetviewersample sample program, you can view three effects of the sample program in the browser:
Note: You must install the dwfviewer software before you can view the effect of the DwF viewer in Internet Explorer.
You can browse vector map data and only run it on Internet Explorer. url:
Http: // localhost/mapguide/dotnetviewersample/dwfviewersample. aspx
Ajax viewer effect: You can use ajax to browse Map Data (non-vector) and run it on Internet Explorer or Firefox or other browsers. url:
Http: // localhost/mapguide/dotnetviewersample/ajaxviewersample. aspx
Use tiled map for Ajax Viewer: You can use a multipart map or ajax to browse Map Data (non-vector) and run it on Internet Explorer or Firefox or other browsers. url:
Http: // localhost/mapguide/dotnetviewersample/ajaxtiledviewersample. aspx
Note: in step (2), if mapviewernet is not an application, you must configure mapviewernet as an application in step (2.

6 , Installation Mapguide dwfviewer
Dwfviewer is the vector data browser used by mapguide. After dwfviewer is installed, you can browse the mapguide vector map in IE.
Download dwfviewersetup_chs.exe to install the DwF browser.

7 , Installation Mapguides studio 2007 Trial version
Mapguide studio is a map management tool. You can use Studio to conveniently manage what you see and what you get, and configure and manage map data. Mapguide studio can only be installed on Windows platforms. Mapguide studio is not an open-source program and must be purchased.
Download auto‑mapguidestudio2007eval.exe to install mapguide studio. This version is a 60-day trial version.
In addition, mapguide web Studio provides some functions of mapguide studio. Mapguide web studio is located in the installation directory of mapguideopensource \ webserverextensions \ www \ webstudio, URL:
Http: // localhost/mapguide/webstudio/index.html
The websites that mapguide studio and mapguide web studio log on to are:
Http: // localhost/mapguide
Default User name: Administrator
Default password: Admin

For more information about mapguide installation, configuration, and development, see:
Installconfiguremgopensourceonwindows.pdf contains the installation and configuration information of mapguide.
Installmapguideopensourcesamples.pdf contains the mapguide sample data and sample program installation and configuration information.

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.