Raster Plaster

Documentation

Installation

Download the newest distribution and unpack it in a web accessible part of your site.

Edit configuration.php

  1. Change $SCRIPT[URI] to the http path of the folder, including the trailing slash.
  2. Change $SCRIPT[TITLE] to the name of your server
  3. Change $SCRIPT[DESCRIPTION] to the description of your server
  4. For each of your web GIS servers:
    1. Connect to your map server and issue a GetCapabilities request.
      It looks something like http://www.example.com/wms.cgi?version=1.1.1&request=GetCapabilities&service=wms
      Save this file as example.xml and place it in the same directory as configuration.php
    2. Add a line that loads and parses the file:
      $example = capabilities_parser("example.xml");
    3. Make any changes needed to the server's configuration. configuration-demo.php has examples of some things that can be done to clean thins up, such as setting scales and removing styles.
  5. Load all the servers:
    $SERVERS = array("example" => $example, "scaleless" => $scaleless);

Go check out your configuration by browsing to the viewconfig.php in your rasterplaster directory. You can change any of this stuff by modifying the array. It's described at the bottom of the configuration.php file.

Testing and Distribution

Point people (yourself for testing) to kml-download.php in your rasterplaster directory. You can also download a copy of this file via your browser and email it, post it on foums, etc.