Use Mapserver and NASA WorldWind
From GisWiki
Contents |
[edit]
Introduction
The purpose of this How-To is to investigate installing MapServer on the same machine as NASA WorldWind, and displaying vector information provided by WMS in WorldWind.
[edit]
Downloads
You need to download the latest versions of: -
- MapServer 4 Windows - a prepackaged installation of MapServer and other required software packages and libraries to provide a WMS service
- NASA World Wind
[edit]
Installing
- Install NASA World Wind as per the instructions. Just follow the installer instructions. Test and make sure it works when installed.
- Open the ms4w.zip file and extract the directory ms4w to the root of the C: drive so you end up with a new folder C:\ms4w\. This contains all of the programs and libraries necessary to run MapServer.
- Navigate to C:\ms4w\ and open the README_INSTALL.txt file.
- Look for B - Extracting for the first time and read the instructions.
- Run the apache-install.bat file.
- Browse to http://localhost/ to ensure that the MS4W home page comes up.
- Download the sample applications.
- Extract the contents out to C:\ and they will automatically be placed in the ms4w directory.
- Reload the webserver page - http://localhost/ and you'll notice that GMap is now listed under Applications.
- If you click on GMap, you'll find that it won't load. You need to restart apache for it to recognise the new alias to the application. Start > Control Panel > Administrative Tools > Services. Find Apache Web Server which should be near the top and select Restart the service. If you try and reload the GMap page, you should end up with a map of Canada eh! ;)
[edit]
Configuring
[edit]

