Use Mapserver and NASA WorldWind

From GisWiki

Contents

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.

Downloads

You need to download the latest versions of: -

Installing

  1. Install NASA World Wind as per the instructions. Just follow the installer instructions. Test and make sure it works when installed.
  2. 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.
  3. Navigate to C:\ms4w\ and open the README_INSTALL.txt file.
  4. Look for B - Extracting for the first time and read the instructions.
  5. Run the apache-install.bat file.
  6. Browse to http://localhost/ to ensure that the MS4W home page comes up.
  7. Download the sample applications.
  8. Extract the contents out to C:\ and they will automatically be placed in the ms4w directory.
  9. Reload the webserver page - http://localhost/ and you'll notice that GMap is now listed under Applications.
  10. 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! ;)

Configuring

Testing