Getting ready

Follow these steps before getting ready:

  1. Create a schema for this chapter within the postgis_cookbook database using the following command:
      postgis_cookbook=# create schema chp09;
  1. Be sure to have Apache HTTP installed (MapServer will run on it as a CGI) and check whether it is working by visiting its home page at http://localhost (typically, an It works! message will be displayed if you still have not customized any features).
  2. Install MapServer as per its installation guide (http://mapserver.org/installation/index.html).
A handy way to have MapServer up and running in Apache for Windows is to install the OSGeo4W (http://trac.osgeo.org/osgeo4w/) or MS4W (http://www.maptools.org/ms4w/) packages. For Linux, there are packages ...

Get PostGIS Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.