MapGuide Open Source v2.2 快速安装学习指南

 

看图识字,应该不用太多解释。

MAPGUIDE OPEN SOURCE – QUICK INSTALLATION AND LEARNING GUIDE ver 2.2

Neal Niemiec M.S., GISP

Autodesk Geospatial Technical Specialist

 

相关软件和数据下载

 

clip_image001

INSTALLING MAPGUIDE SERVER

  1. Run the MapGuideOpenSource-2.2.0.4829-Beta1.exe to install Mapguide 2.2

clip_image003

  1. Accept the Terms and Click ‘Next’

clip_image005

  1. Accept Defaults and Click ‘Next’

clip_image007

  1. Accept the ‘Bundled Configuration’ and Click ‘Next’

clip_image009

  1. Accept the Defaults and Click ‘Next’

clip_image011

  1. Accpet the Default Server and click ‘Next’

clip_image013

  1. Click ‘Next’ for the InstallDirectory

clip_image015

  1. Click ‘Next’

clip_image017

  1. Click ‘Install’

clip_image019

  1. Click the ‘Finish’ Button

clip_image021

  1. Reboot you Computer

clip_image023

Install Mapguide Maestro

  1. Start the MapGuide Maestro 2.1.msi

clip_image025

  1. Accept the terms and click ‘Next’

clip_image027

  1. Click ‘Next’

clip_image029

  1. Click ‘Install’

clip_image031

  1. Click ‘Finish’

clip_image033

  1. Reboot computer and Start Mapguide Maestro, at the ‘Log on to a Mapguide Server’ dialog enter the following - password is ‘admin’.

* you may get a message saying the version of Magpuide Maestro wasn’t tested with this version of Mapguide Server, Click YES or OK to close the dialog

clip_image035

LOADING AN EXISTING MAPGUIDE SITE

  1. Open a web browser and enter the following url http://localhost:8008/mapguide/mapadmin/login.php
  2. At the Login Screen enter - Login: Administrator – Password: admin and click ‘Ok’

clip_image037

If you have problems connecting, ensure Mapguide Server 2.2, ApacheMapguide2.2 Services are started under services (START > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES)

  1. Copy Redding.mgp to C:\Program Files\OSGeo\MapGuide\Server\Packages and from the page and refresh the page so you see the availability of the Redding.mgp

clip_image039

  1. Check the Redding.mgp file and Click on ‘Load Package’

clip_image041

  1. In the directory tree go to Redding > Layouts > and double click on the Layout named ‘Redding’ and click on the ‘Show in Browser’ button

clip_image043

  1. Enter ‘Administrator’ and ‘admin’ for the login and password

clip_image045

  1. You should have something like the following, get familiar with the tools and interface, this is a very representative site or what can be done using the Mapguide platform.

clip_image047

DIRECT PUBLISHING TO MAPGUIDE FROM AUTOCAD MAP 3D or AUTOCAD CIVIL 3D

1. Open AutoCAD Map 3D or AutoCAD Civil 3D. Make sure the Geospatial Task Pane is open by typing the command ‘MAPWSPACE’ command and choosing ‘On’.

2. Go to the Data button and choose ‘Connect to Data’

clip_image049

3. On the Data Connect dialog choose the folder icon to point to the ‘Redding’ folder

clip_image051

4. Check on ‘Parcels’ and ‘floodzone’ and click on the ‘Add to Map’ button

clip_image053

5. You can change the default Styles using Style button, Next click the ‘Tools’ button and choose ‘Publish to Mapguide’

clip_image055

6. Enter http://localhost:8008/mapguide where it says ‘connect to site’ and click the ‘connect’ button. Enter ‘Administrator’ for the user name: and ‘admin’ for password: Click the ‘Ok’ Button.

clip_image057

7. Click the ‘New Folder’ button and enter ‘1st_Site’ for the name and Click Publish

clip_image059

8. Click Close and when prompted enter ‘Administrator’ and ‘admin for the login and password

clip_image061

You should have something like the following:

clip_image063

CREATING A MAPGUIDE SITE IN FOUR STEPS

1. Open Mapguide Maestro and enter the following: http://localhost:8008/mapguide for the Server, ‘Administrator’ for the username, and ‘admin’ for the password and Click ‘Ok’

clip_image065

2. Click the ‘Create a New Resource’ Button (Page with a green plus sign) and choose the folder option from the drop down and enter ‘4_Steps’ for the name

clip_image067

3. Click the ‘Create a New Resource’ Button and choose the ‘Data Connection’ and select the SHP Provider and Click ‘OK’

clip_image069

4. Click on the ‘upload a new file to the server’

clip_image071

5. Path to the Redding folder and select the Roads.shp and Click ‘Open’

clip_image073

6. If it prompts to have the associated files loaded, click ‘Yes’

clip_image075

7. Click on the ‘Saves the Current Resource’ button and save the resource as SHP_ROADS

clip_image077

8. Click the ‘Create a New Resource’ Button and select layer

clip_image079

9. Click on the Feature Source and select the ‘SHP_ROADS’ data connection and Click ‘OK’

clip_image081

10. Click the Featurestyle elipse button and set the color and lineweight for the roads, and also set the labelstyle

clip_image083

11. Click on the ‘Saves the Current Resource’ button

12. Click on the Preview button to view the changes

clip_image085

13. Repeat Steps 4-12 for the Parcels.SHP data

14. Click the ‘Create a New Resource’ Button and choose the Map option

15. Drag and Drop the Parcels and Roads layers from the project directory to the layers tab. Click on the ‘Set view to current layers extent’ and give the description ‘City Map’

clip_image088

16. save the new resource using the ‘saves the current resource’ button and call it ‘City_Map’

17. Click the ‘Create a New Resource’ Button and choose the Layout option

18. For the Map Resource click the elipse button and select the CITY_MAP map resource, save the layout called ‘MY_LAYOUT’ and click on the ‘Show in Browser’ button to view the completed mapguide site.

clip_image090

19. Enter the login: ‘Administrator’ and password: ‘admin’ and click ‘OK’

You should have something like the following:

clip_image092

ADDITIONAL RESOURCES:

Mapguide Open Source Project Page

Mapguide Maestro Project Page

Getting Started with Mapguide Open Source 2.0

Installing Sample data with Mapguide Open Source

Mapguide Sample Sites and Demos

你可能感兴趣的:(open source)