MapServer

From Amahi Wiki
Revision as of 02:57, 28 August 2009 by Spatialguru (talk | contribs) (interim save.. more to come)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Intro

MapServer is a web-based mapping platform, power many large enterprise mapping requirements. It runs as a CGI or through its various API hooks in Python, PHP, Ruby and more. A simple configuration file defines how your spatial data will be accessed and rendered. A basic web templating system is also included for easy testing through basic HTML.

Learn more about MapServer at mapserver.org. MapServer is an OSGeo project.

Installing

These are the long form notes for getting MapServer running in Amahi. Soon this will become a one-click installer package from the HDA interface.

Packages

Install MapServer package using the yum installer, also include the proj library support files (epsg):

yum install mapserver epsg

The process discovers about 12 other packages that fulfill its dependencies. Overall install takes about 16MB of space. Here's a list of the other packages it installs.

cfitsio.i386 0:3.130-3.fc9                fftw2.i386 0:2.1.5-16.fc9    
gdal.i386 0:1.5.3-1.fc9                    geos.i386 0:2.2.3-1.fc7         
grass-libs.i386 0:6.3.0-6.fc9           hdf5.i386 0:1.8.1-1.fc9      
libdap.i386 0:3.7.10-2.fc9               libgeotiff.i386 0:1.2.5-2.fc9   
librx.i386 0:1.5-10.fc9                      netcdf.i386 0:3.6.3-1.fc9    
ogdi.i386 0:3.2.0-0.11.beta2.fc9    proj.i386 0:4.5.0-4.fc9

Files

The rpm -ql mapserver command will list all the installed files from the MapServer package. The main executable is located at: /usr/sbin/mapserv