Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev:gis_umn_mapserver [2007/07/11 11:10]
fran English
dev:gis_umn_mapserver [2009/07/06 20:36]
Line 1: Line 1:
-====== Map Server How To ====== 
  
- 
- 
-===== Introduction ===== 
- 
- 
-Sahana GIS framework's architecture supports plugging in a map server to enable WMS and WFS capabilities. Map server will provide those services to GIS clients which request maps using the data stored within a spatial database. 
- 
-UMN map server is preferred because of it's support for different data formats, thus allowing their data to be accessible by a wide spectrum of clients. 
- 
-===== Dependencies ===== 
- 
- 
-UMN Map server requires a web server (Apache is preferred) and php, python or perl scripting language support should be there. 
-Other mandatory libraries include the following. 
- 
-  * libpng – library of routines to render png images 
-  * freetype – font rendering library  
-  * gd – library of graphics routines used by map server to render images. 
-  * zlib – data compression library 
- 
-These libraries will give the map server to work with it's basic capabilities, thus for extended capabilities (Ex: connecting with Postgre/post-gis spacial database, accessing different data formats, ....) more other libraries will be needed. 
- 
-For further information see http://mapserver.gis.umn.edu/ 
- 
- 
-==== Map server for Windows ==== 
- 
- 
-The easiest way to use map server on the windows platform is to use Map Server For Windows (MS4W) package from the www.maptools.org web site free of charge. 
- 
-All you have to do is to extract the .zip file to a driver root (ex: c:\) and you are ready to go! 
- 
-All the essential libraries and apache web server is bundled in to the MS4W. 
-Run the apache web server by executing the apache.exe reside inside the MS4W directory structure. 
- 
- 
- 
- 
-====Installing UMN Map Server in Linux ==== 
- 
- 
-=== Debian based distributions === 
- 
- 
-(Commands should be executed as the super user, thus following are tested on ubuntu linux) 
- 
-  * sudo apt-cache search mapserver 
- 
- 
-make sure to have added community maintained open source software and main repositories added to your package manager's repositories list. 
- 
-  * sudo apt-get update 
- 
- 
-You will see the map server cgi programme if it is there. 
- 
-  * sudo apt-get install cgi-mapserver 
- 
-command will install the map sever cgi program to your web server's cgi-bin directory with the dependencies libgdal1-1.3.2 and proj. 
- 
-You are required to install a module to communicate with map server with a scripting language for development purposes. 
- 
-Ex: php5-mapscript, perl-mapscript, python-mapscript 
-  
-  * sudo apt-get install php5-mapscript 
- 
- 
- 
- 
-===== How to make sure whether map server is set up correctly ===== 
- 
- 
-type on your browser  
-http://localhost/cgi-bin/mapserv 
- 
-this will give you the following out put. 
- 
-No query information to decode. QUERY_STRING is set, but empty. 
- 
-**Success Screen Shot**  LOL 
- 
- 
-{{dev:mapserver_test.png|}} 
- 
- 
-References : http://mapserver.gis.umn.edu/ 
-http://www.maptools.org 

Navigation
QR Code
QR Code dev:gis_umn_mapserver (generated for current page)