Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:gis_umn_mapserver [2007/06/24 05:30]
hasitha
dev:gis_umn_mapserver [2007/07/11 11:34]
fran
Line 1: Line 1:
 ====== Map Server How To ====== ====== Map Server How To ======
 +
 +
 +
  
  
Line 5: Line 8:
  
  
-Sahana GIS frame work'architecture supports to plug 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 with in spacial database.+Sahana'[[gis_infra|GIS framework]] 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 spatial database.
  
-UMN map server is preferred because of it's support to different data formats, thus allowing their data to be accessible by wide spectrum of clients.+[[http://mapserver.gis.umn.edu|UMN MapServer]] is preferred because of it's support for different data formats, thus allowing their data to be accessible by wide spectrum of clients.
  
  
Line 13: Line 16:
  
  
-UMN Map server requires a web server (Apache is preferred) and phppython or perl scripting language support should be there.+UMN MapServer requires a web server (Apache is preferred) and PHPPython or Perl scripting language support should be there.
 Other mandatory libraries include the following. Other mandatory libraries include the following.
  
-  * libpng – library of routines to render png images+  * libpng – library of routines to render PNG images
   * freetype – font rendering library    * freetype – font rendering library 
   * gd – library of graphics routines used by map server to render images.   * gd – library of graphics routines used by map server to render images.
   * zlib – data compression library   * 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.+These libraries will allow MapServer to work with it's basic capabilities, for extended capabilities (such as connecting with PostGIS spatial database, accessing different data formats, ....) additional libraries are needed. 
  
-For further information see http://mapserver.gis.umn.edu/ 
  
  
Line 29: Line 32:
  
  
-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.+The easiest way to use MapServer on the Windows platform is to use the free MS4W (MapServer For Windows) package from the [[http://www.maptools.org|www.maptools.org]] web site.
  
-All you have to do is to extract the .zip file to a driver root (ex: c:\) and you are ready to go! +All you have to do is to extract the .zip file to a drive root (e.g. 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.+
  
 +All the essential libraries and apache web server is bundled in to the MS4W package.
 +Run the apache web server by executing the apache.exe found inside the MS4W directory structure.
  
 ====Installing UMN Map Server in Linux ==== ====Installing UMN Map Server in Linux ====
Line 57: Line 59:
   * sudo apt-get install cgi-mapserver   * 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.
-command will install the map sever cgi program to your web server's cgi-bin directory.+
  
 You are required to install a module to communicate with map server with a scripting language for development purposes. You are required to install a module to communicate with map server with a scripting language for development purposes.
Line 69: Line 70:
  
  
-===== How to make sure whether map server is set up correctly ===== 
  
  
-type on your browser +===== How to check whether MapServer is set up correctly ===== 
 + 
 + 
 +Type in your browser:
 http://localhost/cgi-bin/mapserv http://localhost/cgi-bin/mapserv
  
-this will give you the following out put.+This will give you the following output:
  
 No query information to decode. QUERY_STRING is set, but empty. No query information to decode. QUERY_STRING is set, but empty.
  
-**Screen Shot** LOL+**Success Screen Shot**  LOL
  
  
Line 85: Line 88:
  
  
-References : http://mapserver.gis.umn.edu/+References : http://mapserver.gis.umn.edu
 http://www.maptools.org http://www.maptools.org

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